08-25-2011 07:40 AM - edited 03-07-2019 01:53 AM
Hi! For router on the stick setup with multiple sub interfaces + one dhcp pool in every sub interfaces, what ip shd I put into the sub interfaces for the ip helper address? Thx
Sent from Cisco Technical Support iPad App
08-25-2011 07:43 AM
If the DHCP pools are configured on the router then nothing.
If the DHCP pools are configured on a separate DHCP server then use an "ip helper-address" under each subinterface except the one which is the vlan that the DHCP server is in.
Jon
08-25-2011 10:22 AM
Hi! I tried to enter these command in the subinterface, but doesn't seems to be working. Anything missing here in term of dhcp command? Thx
Ip dhcp pool test_pool
Network 10.1.1.0 255.255.255.192
Dns-server 10.2.2.2
Default-router 10.1.1.1
Lease 0 0 50
Ip dhcp excluded-address 10.1.1.0 10.1.1.20
Sent from Cisco Technical Support iPad App
08-25-2011 10:48 AM
Hi,
can you send sh run int fx/x.y for every subinterface as well as sh run | in dhcp
Regards.
Alain.
08-26-2011 12:48 AM
hi! here';s the output. Thx.
abc01#sh run interface fas 0.1
Building configuration...
Current configuration : 129 bytes
!
interface FastEthernet0.1
encapsulation dot1Q 58 native
ip address 10.1.0.1 255.255.255.192
no snmp trap link-status
end
abc01#sh run interface fas 0.2
Building configuration...
Current configuration : 123 bytes
!
interface FastEthernet0.2
encapsulation dot1Q 59
ip address 10.1.0.65 255.255.255.192
no snmp trap link-status
end
abc01#sh run interface fas 0.3
Building configuration...
Current configuration : 124 bytes
!
interface FastEthernet0.3
encapsulation dot1Q 60
ip address 10.1.0.129 255.255.255.192
no snmp trap link-status
end
abc01#sh run interface fas 0.4
Building configuration...
Current configuration : 124 bytes
!
interface FastEthernet0.4
encapsulation dot1Q 61
ip address 10.1.0.193 255.255.255.192
no snmp trap link-status
end
ip dhcp excluded-address 10.1.0.128 10.253.2.140
ip dhcp excluded-address 10.1.0.64 10.253.2.70
ip dhcp excluded-address 10.1.0.0 10.253.2.10
ip dhcp pool voice_Pool
ip dhcp pool data_Pool
ip dhcp pool svr_Pool
08-26-2011 01:25 AM
Hi
sorry the second command won't give us many clues because I put a wrong command.
do sh ip dhcp pool instead.
Regards.
Alain.
08-28-2011 06:08 PM
hi! Here's the output
sh ip dhcp pool
Pool voice_Pool :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 62
Leased addresses : 0
Pending event : none
1 subnet is currently in the pool :
Current index IP address range Leased addresses
10.1.0.129 10.1.0.129 - 10.1.0.190 0
Pool data_Pool :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 62
Leased addresses : 0
Pending event : none
1 subnet is currently in the pool :
Current index IP address range Leased addresses
10.1.0.65 10.1.0.65 - 10.1.0.126 0
Pool svr_Pool :
Utilization mark (high/low) : 100 / 0
Subnet size (first/next) : 0 / 0
Total addresses : 62
Leased addresses : 0
Pending event : none
1 subnet is currently in the pool :
Current index IP address range Leased addresses
10.1.0.1 10.1.0.1 - 10.1.0.62 0
08-29-2011 12:10 AM
Hi dave,
ip dhcp excluded-address 10.1.0.128 10.253.2.140
ip dhcp excluded-address 10.1.0.64 10.253.2.70
ip dhcp excluded-address 10.1.0.0 10.253.2.10
You are excluding all addresses in your pools. Don't forget the ip dhcp excluded command is considering a range if you input 2 addresses so you are excluding from 10.1.0.0 to 10.253.2.10
Regards.
Alain.
08-31-2011 09:47 AM
hi! thanks for the reply, there were some typo mistakes in the reserved scope. I've changed it accordingly but I notice that the client still can't get any ip.
08-31-2011 10:41 AM
Hi,
Have you got a switch in between the clients and the router?
Can you sniff on the client and send the capture file?
Regards.
Alain.
09-04-2011 06:38 AM
hi! Thx everyone, the issue has been resolved.
08-31-2011 08:02 PM
Is your trunking between the router and the switches working? Sh interfaces trunk and chk of the uplinks back to the router r trunking the vlans thru.
Sent from Cisco Technical Support iPhone App
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide