Today my company had an annoying issue with DHCP looping. I spent more than 2 hours to figure out why several PCs get IPs from VOIP subnet. My manager spent about 30 minutes and figured out that someone plugged DATA port and VOIP port back of the phone. How do I prevent that so we don't have that kind of issue again? Does DHCP snooping prevent that type issue? if not, please let me know how to prevent that happen?
2 Answers
Without knowing a lot more about your infrastructure...
Disable the "data" port on all your phones. You appear to have dedicated voice and data ports to everyone, so there's no need for daisy chaining through the phone.
Enable what Cisco calls bpdu guard. If any spanning-tree BPDU is seen on an "edge" port, the port is immediately disabled.
Running CDP / LLDP will help chase down what ports have been looped. If you see a switch neighbor on a port that shouldn't be connected to a switch...
-
Our phone doesn't have feature to disable data port. Our current swiches are 10 years old Netgear since our network is untagged so I guess previous IT did not buy switches that came with BDPU features. We are going to replace them with new HP switches.– WillNov 2, 2017 at 20:38
-
1So, you have a perfect storm of the worst possible combination of technologies. (1) can't turn off the data port, (2) have no loop detection/prevention mechanisms, and (3) have almost no way to see what's plugged into to what. Thus... 1a super-glue the data port shut! (there are ethernet lock-out plugs -- I make my own by dry-crimping an RJ45 and then cutting the release arm off)– RickyNov 3, 2017 at 1:28
-
-
Since you are considering changing switches, you can use mac-based-vlan on the switches (or voice-vlan). This will put the phones on a specific Vlan based on the MAC of your phones.
Now all data port and phone port will be technically identical and you can chain phones and computer, even using 2 different DHCP servers. Then you will just have to prevent L2 loop in your network.
switchport voice vlan
option to separate data and voice. When you connect a Cisco IP phone the phone will get the voice vlan and the PC connected to the phone will get the data vlan.