Networking/Computing Tips/Tricks

Rate this content:
0 of 5 - 0 votes
Thank you for rating this article.

Check out these great references as well: 

 Our custom profiles repository for Wireshark
 Our Udemy course on Wireshark 
 Our Udemy course on Wireless Packet capture

Teaching a Wireshark class with some cellular company employees, I was asked how to integrate the GeoIP IP Address resolution.  I had not done this for years, so we stayed behind in class and worked our way through it.

Here is how it is done.

Start be getting the databse files.  The place to go is here:

Here is what the page says:

GeoLite2 1

While the students expected to be able to download the pay database at work, we went with the free databases (click on the download in the shaded area:

GeoLite2 2

You will end up with three files:

GeoLite2 3

Decompress them using whatever tool you like (we like 7zip found here:  You will end up with three folders.  In each folder are the .mmdb databases.

Once you have completed the extraction process, open up the Wireshark GUI.

Click on Help> About Wireshark, then select the Folders tab:

GeoLite2 4

Click on the link to 'Personal Configuration'.

Your file manager will open showing that directory:

GeoLite2 5

Create a new directory/folder here called GeoIPdb as I have done:

GeoLite2 6

Now from each of the extracted folders, copy, one-by-one, the three .mmdb files into this newly created directory.  Don't copy the subfolders, just the files.  The result will look like this in the newly created folder:

GeoLite2 7


Now all we need to do is advise/configure Wireshark to use these databases.

Back in Wireshark, select Edit> Preferences and the following dialogue opens.  Select the Name Resolution item in the list:

GeoLite2 8

Then click on the MaxMind database directories Edit button:

GeoLite2 9

Select the "+" to add the diectory you created, then click OK:

GeoLite2 10

Finally click OK ont he Preferences dialogue to close that.

Now lets do a capture.  Find an IP packet of interest, open up the IP protocol, and you will see the additional resolution information automatically:

GeoLite2 11


This also works for IPv6:

GeoLite2 12

It is easy to update this going forward.  Simply download the updated database files, unpack them as you did in the process and copy them over the mmdb files we installed.  That's it!

Comments?  Thoughts?

I hope you find this article and its content helpful.  Comments are welcomed below.  If you would like to see more articles like this, please support us by clicking the patron link where you will receive free bonus access to courses and more, or simply buying us a cup of coffee!, and all comments are welcome! 

Add comment


Did you learn something?
Did I save you time? 

Buy me a coffeeBuy me a coffee!

Find by Tag

5G Networks 6LoWLAN 6LoWPAN 802.11 802.11ah 802.11ax 802.11ay 802.11az ACL Addressing Analysis Ansible Architecture ARP Assessment AToM Backup Bandwidth BGP Bibliography Biography Briefings CBRS CellStream Cellular Central Office Cheat Sheet Chrome Cisco Clock Cloud Computer Consulting CPI Data Center Data Networking Decryption DHCPv4 DHCPv6 Display Filter DNS Documentation ECMP EIGRP Ethernet Flipping the Certification Model Follow Me Fragmentation Git GNS3 Google GQUIC Hands-On History Home Network HTTPS ICMP ICMPv6 IEEE 802.11p IEEE 802.15.4 In A Day Internet IOS Classic IoT IPv4 IPv6 L2 Switch L2VPN L3VPN LDP Learning Services Linux LLN Logging LoL M-BGP MAC MAC OSx Macro Microsoft mininet Monitoring Monitor Mode MPLS Multicast Name Resolution Netflow NetMon netsh Networking Network Science nmap Npcap nslookup Online Learning Online School OpenFlow OSPF OSPFv2 OSPFv3 OSX Parrot Passwords pcap pcap-ng PIM Ping Policy Port Mirror POTS POTS to Pipes PPP Profile Profiles Programming Project Management Python QoS QUIC Requirements RFC RIP Routing RPL RSVP SAS SDN Security Self Certification Service Provider Small Business Smartport SONET Span Port SSH SSL Subnetting T-Shark TCP TCP/IP Telco Telecom 101 Telecommunications Telnet Terminal TLS Tools Traceroute Traffic Analysis Traffic Engineering Training Travel Troubleshooting Tunnel Utility Video Virtualbox Virtualization Voice VoIP VXLAN Webex Wi-Fi Wi-Fi 4 Wi-Fi 5 Wi-Fi 6 Wi-Fi 6/6E Windows Wireless Wireless 5G Wireshark Wireshark Tip WLAN ZigBee Zoom

Twitter Feed