Networking

Policy Based QoS on Windows 7 in a workgroup

If you happen to be using Policy Based QoS on a Windows 7 machine in a workgroup you might find that it doesn’t work. Turns out you need to add the following registry key to make it work. File this one under the “Only wasted hours” category.

1
2
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\QoS]"Do not use NLA"="1"
Read more

What Port am I plugged into??

Something that’s always handy to know is what switch port you’re plugged into. What’s even better is being able to find out without getting out of your chair.

If you’re on a nix based system with tcpdump then just turn the following:

1
tcpdump -nn -v -i eth0 -s 1500 -c 1 'ether[20:2] == 0x2000'

On Windows you’ll need to grab WinDump and WinPCap from http://www.winpcap.org.

Once installed run

1
windump -D

To list the interfaces on your system. Then just run the same as above but with windump:

1
windump -nn -v -i eth0 -s 1500 -c 1 'ether[20:2] == 0x2000'
Read more