cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
379
Views
0
Helpful
3
Replies

DHCP server across VLAN's

Anand Narayana
Level 6
Level 6

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

Anand,

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

Toshi

View solution in original post

John Blakley
VIP Alumni
VIP Alumni

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 ***

View solution in original post

3 Replies 3

Anand,

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

Toshi

John Blakley
VIP Alumni
VIP Alumni

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 ***

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card