DHCP snooping

Post Reply
skyfoxnz
Member
Posts: 2
Joined: 25 Oct 2016 13:51

DHCP snooping

Post by skyfoxnz »

Hi guys,

I am trying to configure DHCP snooping but I can't figure out how to yet. Basically I am trying to block DHCP offer from untrusted port and trusted port.
I have been trying to find an example but I didn't have much luck. Does anyone have an example for DHCP snooping? Cheers.
mivens
Member
Posts: 262
Joined: 28 Sep 2012 06:34

Re: DHCP snooping

Post by mivens »

I've never tried it myself, but from reading the 7210 Services Guide, it looks like DHCP snooping is only to add or remove option 82 fields from the DHCP requests and replies.

There is a drop option but only for when a DHCP packet is received with Option 82 already present.

Code: Select all

configure service vpls <service-id> sap <sap-id> dhcp option action drop
configure service vpls <service-id> sap <sap-id> dhcp snoop
skyfoxnz
Member
Posts: 2
Joined: 25 Oct 2016 13:51

Re: DHCP snooping

Post by skyfoxnz »

Hi Mivens,

Thanks for the reply. I actually tried it and apparently it still pass DHCP offer to client.

Following is the configuration.
I made this work on Cisco and it was fairly easy. Any port i configured snoop and mark it as untrusted wasn't allowing DHCP offer at all.
Any suggestion would be greatly appreciated.

*A:LAB>config>service>vpls# info
----------------------------------------------
description "Cust VPLS"
service-mtu 9100
stp
shutdown
exit
sap 1/1/1:0 create
description "Link to Mikrotik eth1 DHCP"
dhcp
snoop
option
action drop
no circuit-id
no remote-id
exit
no shutdown
exit
exit
Post Reply

Return to “7210 SAS”