This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Generate vlans file

0

How can I create the vlans configuration file for use with wireshark on my mac (unix)? I do not have access to the router control panel. Thank you!

asked 22 Jul '17, 23:41

johntheone88's gravatar image

johntheone88
6224
accept rate: 0%

edited 22 Jul '17, 23:41


One Answer:

2

Start Wireshark and open the About Wireshark panel. Open the Folders tab and look for the Personal configuration line. The location on that line (\Users\[your account]\.config\wireshark) is a clickable link which opens your Finder. This is where your vlans file needs to end up.

Now create a text file according to the format in the users guide using the TextEdit app (or some other plain text editor) and save it with the name "vlans" (no .txt) somewhere, eg. in Documents. Open another Finder, find the vlans file you just created and move it to the other Finder window.

Now go to Wireshark Preferences dialog, select the Name Resolution panel and tick the Resolve VLAN IDs checkbox, then restart Wireshark. It will load the vlans you created and add the name to the detailed 802.1Q dissection.

What names and number to add depends on the network you are connected to / view PCAP files from. Wireshark can't magically tell you which VLANs are possibly there and what their names are.

answered 23 Jul '17, 03:32

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

Thanks — my problem is how to actually generate the correct names for the correct ips — creating the file isn't hard, but finding out what to put in it is what I'm having trouble with, as I don't have access to the control panel. How could i find out what to put in it (like any commands I could use) I've used ping and that doesn't always give names

(23 Jul '17, 14:32) johntheone88