Module 10: Distribute User-provided GeoIP DB update package to BIG-IPs (new 7.1)

Note

Estimated time to complete: 10 minutes

The BIG-IP system uses geolocation software to identify the geographic location of a client or web application user. The default IP geolocation database provides IPv4 addresses at the continent, country, state, ISP, and organization levels, and IPv6 addresses at the continent and country levels.

F5 regularly releases database updates in the GeoLocationUpdates container on the F5 Downloads site.

Lab environment access

If you have not yet visited the page Getting Started, please do so.

Tasks

  1. Follow the steps to download the geolocation database and MD5 described in the following article K22650515 (choose BIG-IP v15.x).
  1. You should have now 2 ip-geolocation files (1 zip and 1 MD5).
  2. Login to BIG-IQ as david .
  3. Go to Devices > Geo-IP Database Management > Database Files.
../../_images/lab-1-13.png
  1. Delete any existing Geo Database file(s) if any.
../../_images/lab-1-24.png
  1. Upload the files downloaded earlier.
../../_images/lab-1-34.png

Save & Close.

  1. Now, let’s check the location of the following IP address 192.1.0.11 before updating the GeoIP DB on the BIG-IP.

Go to Devices > Script Management > Script. Create a new script.

  • Name: geoip_lookup
  • Script: geoip_lookup 192.1.0.11
../../_images/lab-1-43.png

Save & Close.

Note

K15042: Looking up IP geolocation data using the geoip_lookup command

  1. Select the script created and click on Run. Set a name, select SJC-vBIGIP01.termmarc.com BIG-IP, then click on Run.
../../_images/lab-1-53.png

A window will open, Click the link to see the result: Script Log.

  1. Once the script execution is completed, click on View Output.
../../_images/lab-1-62.png
  1. The IP address 192.1.0.11 shows a location in Massachusetts in the United States.
../../_images/lab-1-72.png
  1. Back to the Geo-IP Database Management, under Devices, select SJC-vBIGIP01.termmarc.com BIG-IP and click on Update.
../../_images/lab-1-81.png

Verify the correct BIG-IP is selected, then click on Save & Close.

../../_images/lab-1-91.png

A window will open, Click the link to see the result: Updates History.

  1. Wait until the transfer is done.
../../_images/lab-1-101.png
  1. Back in the Script Management window, select again the script geoip_lookup, run it against SJC-vBIGIP01.termmarc.com and verify the output.
../../_images/lab-1-111.png

Is the location of the IP address still on the East Coast of the Unites States?