12-31-2017 08:32 AM - edited 03-08-2019 01:15 PM
The switch in question is the DHCP server for all the devices (voip phones) plugged into it, but I also have a connection to another subnet (for maintenance purposes) that also has a DHCP server on it. As you might guess when I restart a phone, its a race to see which DHCP server gets there first. Oddly its usually the wrong one.
I have been leaving the other Lan cable unplugged until I need it, but how do I set a single port on this switch to block any form of DHCP from passing through it?
(I posted this same question on a similar thread from 2007 but etiquette normally dictates I start a new thread, but forums differ, so here i am :) )
Solved! Go to Solution.
01-01-2018 07:20 PM
01-03-2018 08:53 PM
01-01-2018 07:20 PM
01-03-2018 08:30 PM
I am trying to grasp what I need from that doc. I am uneducated.
This 3750G switch is the ONLY dhcp server I want available on this network.
It consists of a phone server with a dedicated NIC and 15 Phones, thats it.
If I simply dont plug another network into it I'm golden so this is just in case I do and reboot something connected to it. Just making it idiot proof. well . . . idiot resistant. I do want to plug in a machine on the business lan to monitor the switch GUI, again because I'm uneducated and cant function as well on CLI, but I'm trying.
So it appears that the commands
ip dhcp snooping
ip dhcp snoooping vlan 1
should be all I need. but its not quite enough, the other dhcp still gets through. What did I miss?
Could you show me the commands I need to do what I need to do?
01-03-2018 08:53 PM
01-02-2018 01:10 AM
Hello,
on a side note, you might want to try and suppress all broadcasts on that port with storm control:
interface GigabitEthernet0/0
storm-control broadcast level 0.00
01-02-2018 01:30 AM
Hello
@Georg Pauwen wrote:
Hello,
on a side note, you might want to try and suppress all broadcasts on that port with storm control:
interface GigabitEthernet0/0
storm-control broadcast level 0.00
Just remember doing this will also negate mutlicast traffic aswell.
res
Paul
01-02-2018 01:27 AM
Hello
@Lee Mac wrote:
The switch in question is the DHCP server for all the devices (voip phones) plugged into it, but I also have a connection to another subnet (for maintenance purposes) that also has a DHCP server on it. As you might guess when I restart a phone, its a race to see which DHCP server gets there first. Oddly its usually the wrong one.
I have been leaving the other Lan cable unplugged until I need it, but how do I set a single port on this switch to block any form of DHCP from passing through it?
(I posted this same question on a similar thread from 2007 but etiquette normally dictates I start a new thread, but forums differ, so here i am :) )
It seems that you have dual dhcp servers servicing the same scope, if so you need to make sure they dont conflict with each other by splitting the scopes over the two servers.
Now to negate one or the other dhcp servers from responding to client requests, DHCP snooping is indeed one way to avoid this however my understanding is it shouldn’t be applied on the same device where the dhcp server is active and in any case you do still want dhcp to service this port but from a specific dhcp server -correct? One possible way to negate one of the dhcp servers on a switch could be via a static mac address so it drops traffic from that server, this can be applied on a per vlan basis.
mac address-table static xxxx.xxxx.xxxx vlan xx drop
res
Paul
01-03-2018 08:32 PM
01-03-2018 08:54 PM
01-04-2018 07:13 AM
What would make me want to "trust" an interface. It sounds as if trust is a bit like a firewall that can be enabled/disabled.
BTW I had to turn off option 82 to stop the rogue DHCP. So an untrusted I/F still passed the rogue DHCP until option 82 was disabled.
I don't pretend to understand why, I tried reading on option 82 it but it requires more knowledge just to grasp whet the explanation is.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide