DHCP server across VLAN's

Answered Question
Apr 27th, 2009
User Badges:
  • Silver, 250 points or more

I have configured muliple vlan's in my l3 switch & vlan inter-routing is enabled. I have a Linux DHCP server which is sitting in Vlan2 & it has to serve the ip addresses to vlan3 & vlan4 which are falling in different subnet . So having a "ip helper-address <linux dhcp server ip>" command added in vlan3 & vlan4 interface will serve this or do i need to include any other command?

Correct Answer by John Blakley about 8 years 20 hours ago

That should be all you need.



int vlan 3

ip addres 192.168.15.1 255.255.255.0

ip helper-address 192.168.1.50


int vlan 4

ip address 192.168.20.1 255.255.255.0

ip helper-address 192.168.1.50


int vlan 2

ip address 192.168.1.1 255.255.255.0


Your routing table will show 192.168.1.0 as a connected route to vlan 2 and will route it correctly.


HTH,

John


Correct Answer by thotsaphon about 8 years 20 hours ago

Anand,

An ip helper-address command is enough. As long as you correctly configure the server(pools).


Toshi

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 3 (2 ratings)
Loading.
Correct Answer
thotsaphon Mon, 04/27/2009 - 05:53
User Badges:
  • Gold, 750 points or more

Anand,

An ip helper-address command is enough. As long as you correctly configure the server(pools).


Toshi

Correct Answer
John Blakley Mon, 04/27/2009 - 05:54
User Badges:
  • Purple, 4500 points or more

That should be all you need.



int vlan 3

ip addres 192.168.15.1 255.255.255.0

ip helper-address 192.168.1.50


int vlan 4

ip address 192.168.20.1 255.255.255.0

ip helper-address 192.168.1.50


int vlan 2

ip address 192.168.1.1 255.255.255.0


Your routing table will show 192.168.1.0 as a connected route to vlan 2 and will route it correctly.


HTH,

John


Anand Narayana Mon, 04/27/2009 - 06:01
User Badges:
  • Silver, 250 points or more

Thanks a lot Toshi & John. I will be testing in the next 2 hrs & will rate for sure :-)

Actions

This Discussion