DHCP Snooping without DHCP Relay configured

Answered Question
Mar 25th, 2008

Hi,

we've are using with success DHCP Snooping with DHCP relay configured...but I was wondering if the DHCP Snooping feature is working also on a L2 network (composed by different switches) where the DHCP Server is on the same VLAN as the client?


I know that Server have to be in a dedicated VLAN but VLAN segmentation DHCP Server - client is planned in a second step...


Thanks for your suggestions!

Correct Answer by Istvan_Rabai about 8 years 11 months ago

Hi Omar,


The DHCP server can be on the same VLAN as the clients, no problem with this.


You need to configure the DHCP server's port as trusted with the following commands:


conf t

ip dhcp snooping

ip dhcp snooping vlan x

interface fastethernet x/y

ip dhcp snooping trust


fastethernet x/y will be the port where the DHCP server should be located.


Cheers:

Istvan


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Istvan_Rabai Wed, 03/26/2008 - 23:34

Hi Omar,


The DHCP server can be on the same VLAN as the clients, no problem with this.


You need to configure the DHCP server's port as trusted with the following commands:


conf t

ip dhcp snooping

ip dhcp snooping vlan x

interface fastethernet x/y

ip dhcp snooping trust


fastethernet x/y will be the port where the DHCP server should be located.


Cheers:

Istvan


simonator Tue, 02/18/2014 - 01:20

Mr. Istvan,


I want to ask what if for examplre, there is this layer 3 4506-e switch acting as a dhcp server for two vlans. vlan 5 and 6. and it configured to have two different default router for this two vlans respectively. how can i configure it?

Actions

This Discussion