Home:ALL Converter>How to create a DHCP snooping rule in a Linux virtual bridge

How to create a DHCP snooping rule in a Linux virtual bridge

Ask Time:2013-02-11T22:22:34         Author:user1913578

Json Formatter

I have a Linux server (10.0.0.1) running a DHCP server and a virtual bridge. The virtual bridge connects 4 Ethernet interfaces and works as a master switch connecting my users.

The problem arise if some user accidentally creates a rogue DHCP server which answers the DHCP request before they reach the master DHCP server.

Therefore I would like to block all DHCP requests going in between the ports on the virtual switch, but not requests to/from the master DHCP server. Which ebtables rules can I set up to do this?

Author:user1913578,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/14813954/how-to-create-a-dhcp-snooping-rule-in-a-linux-virtual-bridge
Nihilus :

The correct way to do this is to use ebtable's filter chain, both forward and output usually, with a ruleset matching UDP ports 67:68.",
2015-06-09T18:59:50
yy