04-29-2008 06:34 PM - edited 03-03-2019 09:45 PM
Dear All,
I would like to ask you some question: i had Cisco Router 1801 and i was create 2Vlan, is Vlan 10 and Vlan 20. So i would like to use DHCP on Vlan 10 and use DHCP on Vlan 20 .
is it support on Router 1801 and Which command that i can create DHCP on Both Vlan ?
Best Regards,
Rechard
04-29-2008 10:10 PM
Hi rechard
your DHCP server is in router or External server. you have to configure ip helper-address(DHCP Server Address) in your VLAN Interface.
add the following configuration to your router
router#config t
router(config)#interface Vlan 10
router(config)#ip helper-address "your DHCP Server IP Address " for example your DHCp Ip address is 192.168.1.1 add the following line
router(config-vlan)#ip helper-address 192.168.1.1
router(config-vlan)#exit
router(config)#interface Vlan 20
router(config-vlan)#ip helper-address 192.168.1.1
router(config-vlan)#end
router#wr
please rate this post if helps
Thanks and Regards
S.Mohana sundaram
INDSYSS Technologies
+91 98940 44411, mohans@indsys.co.in
04-30-2008 12:56 AM
Dear Mohana,
Thank you for your advice!!!:)
yes, DHCP provide by Router. i configure like this:
ip dhcp pool Vlan10
network 192.168.1.0 255.255.255.0
default-router 192.168.1.2
ip dhcp pool Vlan20
network 192.168.2.0 255.255.255.0
default-router 192.168.2.2
router(config)#interface Vlan 10
router(config-vlan)#ip helper-address 192.168.1.1
router(config)#interface Vlan 20
router(config-vlan)#ip helper-address 192.168.2.1
MY question would like to ask you:
When i configure DHCP pool like command above,
so i'm not clear which DHCP server that i can assign on ip helper-address?
Best Regards,
Rechard
04-30-2008 01:27 AM
Hi
Ip helper address command forward dhcp requets to your DHCP Server.go thru the following link.and let me know the status.
http://www.cisco.com/en/US/docs/ios/12_0t/12_0t1/feature/guide/Easyip2.html
regs
S.Mohana sundaram
04-30-2008 04:26 AM
Rechard
The ip helper-address command is used when the DHCP is on some device other than the router. When DHCP is configured on the router itself then you do not need ip helper-address.
The config parts that you posted look like a reasonable start for DHCP on the router. I would think that you might want to also configure to exclude the router address from the pool of addresses. Is DHCP working or not working based on what is in your config so far?
HTH
Rick
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