- Posts: 1
- Thank you received: 0
DHCP Pools
18 years 10 months ago #12801
by bias
DHCP Pools was created by bias
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
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
18 years 9 months ago #12985
by Ricker
Replied by Ricker on topic Re: DHCP Pools
I think the answer to your question is "YES", assuming you put the "ip helper" command in each of the sub interfaces?
Time to create page: 0.117 seconds