Router 1801 use DHCP

Unanswered Question
Apr 29th, 2008

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
smohanasundaram Tue, 04/29/2008 - 22:10

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, [email protected]

rechard_david Wed, 04/30/2008 - 00:56

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





Richard Burts Wed, 04/30/2008 - 04:26

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

Actions

This Discussion