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.

New Member

Limiting DHCP Server on a VLAN

Is there a command to limit DHCP Server address distribution to just the vlan it reside?

Thanks

5 REPLIES

Re: Limiting DHCP Server on a VLAN

You can prevent a dhcp server from issuing addresses to other VLANs by the following:

- make sure no layer3 interfaces for other vlans have the "ip helper" address configured to point at this server. "ip helper" tells a layer 3 switch or router to send dhcp broadcasts from clients as unicast to this specific server.

- Make sure you have broadcast domains separated properly, so DHCP broadcasts from other subnets don't bleed into this one.

- configure your dhcp server so it only takes requests from certain subnets -- not available on the built-in cisco dhcp server.

You can learn more about the dhcp relay agent (ip helper) here:

http://www.cisco.com/en/US/docs/ios/ipaddr/configuration/guide/iad_dhcp_rly_agt.html#wp1085170

Hope that helps. Rate if it does!

Cheers,

Tim

New Member

Re: Limiting DHCP Server on a VLAN

Hi Tim,

Thanks for this information.

I have a dhcp server setup in vlan 4; and, we have another dhcp, production, in vlan 401.

Some how clients from vlan 401 started to receive ip address from the dhcp server in vlan 4.

Each VLAN is configure to have a ip helper-address pointing to its respective dhcp server.

So, I don't understand how the clients from vlan 401 cross to vlan 4 to get an ip address.

By the way, each vlan has a unique broadcast domain.

New Member

Re: Limiting DHCP Server on a VLAN

Hi Tim,

Thanks for this information.

I have a dhcp server setup in vlan 4; and, we have another dhcp, production, in vlan 401.

Some how clients from vlan 401 started to receive ip address from the dhcp server in vlan 4.

Each VLAN is configure to have a ip helper-address pointing to its respective dhcp server.

So, I don't understand how the clients from vlan 401 cross to vlan 4 to get an ip address.

By the way, each vlan has a unique broadcast domain.

New Member

Re: Limiting DHCP Server on a VLAN

Is there a chance where VLAN 4 and VLAN 401 is connected back to each other in the L2 infra ?

If thats the case, the 2 VLAN will 'crosstalk' in terms of DHCP request broadcast.

If the DHCP servers are only serving its own broadcast domain, then the IP Helper command is not required at all in the VLAN interface configuration.

New Member

Re: Limiting DHCP Server on a VLAN

The two vlans are hosted in a 6509. Then, distributed to just network switch where the servers reside.

579
Views
9
Helpful
5
Replies