I will give an example of setting up DHCP Snooping on MikroTik (RouterOS) to block third-party DHCP servers:Continue reading “Configuring DHCP Snooping on MikroTik”
For example, I will configure DHCP snooping on the BDCOM P3310C EPON OLT.
First, let’s connect to the device and go to the configuration mode:
Continue reading “Configuring DHCP snooping on BDCOM P3310”
For example, I’ll take a FoxGate S6224-S4 switch; on other models, the configuration is almost the same.
First, enable the dhcp snooping function:
ip dhcp snooping enable
I will give an example of how on the Huawei Quidway S2300 switch (using the S2326TP-EI as an example) to allow receiving DHCP responses from the uplink port and prohibiting client responses.
First, enable dhcp snooping:
dhcp enable dhcp snooping enable dhcp server detect
Let’s enable dhcp snooping in the client vlan:
vlan 226 dhcp snooping enable quit
And allow DHCP responses from the incoming uplink port:
interface GigabitEthernet0/0/1 dhcp snooping trusted quit
After that, responses from DHCP servers will be blocked on ports where “dhcp snooping trusted” is not indicated.
Save the configuration:
quit save config.cfg
On the test, I configure DHCP Snooping on the Cisco Catalyst 6509-E to block third-party DHCP servers, on the other Cisco switches, the configuration is basically the same.
After connecting to the device immediately go to the configuration mode: