cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
891
Views
0
Helpful
4
Replies

Running IP Source Guard without DHCP Snooping

jkaras
Level 1
Level 1

I'm trying to determine the behavior of IP Source Guard in an IOS 6500 when DHCP snooping is not enabled.

In the documentation for Cat 6500 12.2SXH "Configuring IP Source Guard", the example for a port in a VLAN not configured for DHCP snooping appears to indicate no filtering is performed. Packets are permitted to pass.

Am I interpreting the output correctly?

Does the behavior change if I have static bindings defined (using the IP SOURCE BINDING command)?

1 Accepted Solution

Accepted Solutions

Hi John,

Sorry, I have to correct myself:

DHCP snooping must be enabled for the vlan where the port is located when you use the ip source guard feature.

Beside this, the ip source guard will work as I described earlier.

Thank you:

Istvan

View solution in original post

4 Replies 4

Istvan_Rabai
Level 7
Level 7

Hi John,

Yes, the behavior changes.

IP source guard uses the DHCP snooping database or static bindings to perform filtering.

Usually, you can configure a static binding with the "ip source binding" command if you have a host on a port that uses a static IP address (a server for example), so no DHCP snooping data is available.

IP source guard will then automatically create a per-port VLAN acl for filtering traffic accordingly.

Cheers:

Istvan

Thank you Istvan for the prompt response. So if I have a port enabled with source guard but the port does not have a valid static binding (either missing or not matching), the port is filtered - even if dhcp snooping is not enabled.

Am I interpreting that correctly?

Yes, correct.

Enabling DHCP snooping is needed if you want to make use of the DHCP snooping database.

If you configure only static bindings it should filter traffic as well.

If you enable ip source guard on a port with no static bindings configured, then by default it will deny all traffic (as acls do normally).

Cheers:

Istvan

Hi John,

Sorry, I have to correct myself:

DHCP snooping must be enabled for the vlan where the port is located when you use the ip source guard feature.

Beside this, the ip source guard will work as I described earlier.

Thank you:

Istvan

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