Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: DHCP Pools

DHCP Pools 10 years 10 months ago #12801

  • bias
  • bias's Avatar
  • Offline
  • New Member
  • Posts: 1
  • Karma: 0
Hi,

I'm having trouble to get the hosts of my network assigned an IP address automatically. To give you a small adumbration of the situation:

There are two VLANs on the switch:
- VLAN10 (has ports 0/2 - 0/5)
- VLAN20 (has ports 0/6 - 0/9)

Two subinterfaces on fastethernet of the router:
- int fa0/0.10 (ip addr 10.0.1.1 255.255.255.0 -- encap dot1q 10) for VLAN 10
- int fa0/0.20 (ip addr 10.0.2.1 255.255.255.0 -- encap dot1q 10) for VLAN 20

Two DHCP pools:
- ip dhcp pool vlan10 (network 10.0.1.0 255.255.255.0 -- default-router 10.0.1.1)
- ip dhcp pool vlan20 (network 10.0.2.0 255.255.255.0 -- default-router 10.0.2.1)

- Trunking is enabled on port 0/1 of the switch

Problem: I don't get any IP-addresses on my hosts which reside in VLAN10 & 20
Question: Does a subiface use automatically the right pool when a dhcp-client sends a query for an ip-address?

Any help would be appreciated, thanks.

BTW: I've searched the forum though, but didn't found good answer (I've read the page about DHCP on the cisco site as well): www.firewall.cx/ftopicp-5581.html

*edit: never mind, problem solved
The administrator has disabled public write access.

Re: DHCP Pools 10 years 10 months ago #12985

  • Ricker
  • Ricker's Avatar
  • Offline
  • New Member
  • Posts: 6
  • Karma: 0
I think the answer to your question is "YES", assuming you put the "ip helper" command in each of the sub interfaces?
The administrator has disabled public write access.

Re: DHCP Pools 10 years 9 months ago #13396

  • Konrad
  • Konrad's Avatar
  • Offline
  • New Member
  • Posts: 3
  • Karma: 0
Make user dhcp server services are started on the router
do the following


conf t
service dhcp
The administrator has disabled public write access.
Time to create page: 0.075 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup