cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5075
Views
0
Helpful
5
Replies

Block DHCP requests over VLANs

Hi all,

I have two 3560x Catalyst switches setup between two different locations. They link via a PTP line (Layer 2).

I have setup Intervlan routing between the switches and that works fine.

Each location has a separate subnet and a Windows DHCP server for each subnet.

I want to block any DHCP requests to be sent from hosts on one subnet to the DHCP server on the other side (i.e across the PTP link)

What is the best method to do this?

Thanks for your help

5 Replies 5

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

You can try something like this for each vlan:

ip access-list extended dhcp

deny udp any any eq bootpc

then under the vlan interface (SVI)

ip access-group dhcp out

HTH

Talha Ansari
Level 1
Level 1

Hi Michael,

If you have a seperate DHCP servers for different VLAN then by default the DHCP request from one VLAN will not go into any other VLAN as these requests are broadcast which will not cross the layer 3 boundary.

Regards,

Talha

Hi Hi Michael,

First of all if you want send the DHCP requests from on subnet (vlan) to another subnet, you need to point the dhcp server under specific vlan "ip helper xx.xx.xx.xx"
So if you dont want send dhcp requests then you dont put the above "ip helper" command, if it is there then you can remove it from the vlan.


Hope the above helps you, if not please let us know the exact requirement.

Please rate all the helpfull posts.
Regards,
Naidu.

Thanks a lot guys

Hi Michael,

Looks your issue is resolved.
Please remember to rate all the helpfull posts which encourage others throughout this great CSC.


Please rate all the helpfull posts.
Regards,
Naidu.

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