Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

DHCP server across VLAN's

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?

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: DHCP server across VLAN's

Anand,

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

Toshi

Re: DHCP server across VLAN's

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

HTH, John *** Please rate all useful posts ***
3 REPLIES

Re: DHCP server across VLAN's

Anand,

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

Toshi

Re: DHCP server across VLAN's

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

HTH, John *** Please rate all useful posts ***

Re: DHCP server across VLAN's

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

141
Views
0
Helpful
3
Replies
CreatePlease login to create content