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

IP DHCP SNOOPING

dacruzer1
Level 1
Level 1

Ladies and Gents,

I am thinking about enabling "ip dhcp snooping" on my 3750G switches and was reading through all the options:  .   I want the option that will protect my network from dhcp snooping but I'm not sure which option to enable.  I am running VLANs on all my switches.  If theres anyone out there that has done this before, I would appreciate it.

Thanks

Alfred

1 Accepted Solution

Accepted Solutions

acampbell
VIP Alumni
VIP Alumni

Alfred,

Here is a config that turns on DHCP snooping.
The DHCP server is on interface G1/0/10 and this is the only trused port.
All other ports are untrusted therefore DHCP responses like DHCPOFFER from untrusted ports are dropped.

You can read all about DHCP snooping in the config guide.
Here the link to IOS ver 12.2.55SE:-
http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_55_se/configuration/guide/swdhcp82.html#wp1058138


config t
!
ip dhcp snooping
!
ip dhcp snooping vlan 3-6,10-20
!
interface g1/0/10
description MY DHCP SERVER
ip dhcp snooping trust
!

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.

View solution in original post

4 Replies 4

acampbell
VIP Alumni
VIP Alumni

Alfred,

Here is a config that turns on DHCP snooping.
The DHCP server is on interface G1/0/10 and this is the only trused port.
All other ports are untrusted therefore DHCP responses like DHCPOFFER from untrusted ports are dropped.

You can read all about DHCP snooping in the config guide.
Here the link to IOS ver 12.2.55SE:-
http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_55_se/configuration/guide/swdhcp82.html#wp1058138


config t
!
ip dhcp snooping
!
ip dhcp snooping vlan 3-6,10-20
!
interface g1/0/10
description MY DHCP SERVER
ip dhcp snooping trust
!

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.

Hi Alex,

Thanks mcuh for the info.  I have enabled per your config.

What about clients on the same switch, do I need to enable "ip DHCP snooping trust" also?

Thanks

Alfred

Alfred,

In short NO

You only trust the interfaces that connected the DHCP servers.

Regards,
Alex.
Please rate useful posts.

Regards, Alex. Please rate useful posts.

Alex,

Thansk again!

Alfred

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