F5 iRules – If pool is down, then redirect to another VIP

  if { ( [active_members site2.lab.com-pool-80] < 1 ) } {
     HTTP::redirect http://site3.lab.com/

Debug health monitor for a single pool member in F5 LTM

Here’s an old post that shows how to debug bigd that gets you the debugs of all the health monitors that are running on the system. The rule of thumb with debugs is that the files get too large and may have an impact on other important services that may need that extra space.

What if you want to enable the debugs for just one pool member to see what’s going on with the health monitor associated with the pool member?

Monitor logging option is a better approach than debugging the bigd for this purpose.

You can find this setting under Local Traffic > Pools > pool_name > Members > Monitor Logging


Continue reading

Using curl for troubleshooting

View only response headers

curl -I only retrieves the header of the resource. The ‘I’ is case sensitive.

root@ubnsrv01:/etc/ssl/certs# curl -I https://site3.lab.com
HTTP/1.1 200 OK
Content-Length: 191
Content-Type: text/html
Last-Modified: Thu, 17 Aug 2017 21:14:18 GMT
Accept-Ranges: bytes
ETag: "40d9a1c99d17d31:0"
Server: Microsoft-IIS/7.5
Date: Sat, 02 Sep 2017 22:58:54 GMT

View response headers and content

curl -i includes the HTTP header in the output along with the site content. Since this URL is terminating on an F5, the HTTP header reports that a redirect is configured for this URL but doesn’t redirect it automatically to the URL. The ‘i’ is case sensitive.

Continue reading

Query refused for recursive DNS lookup in Infoblox

I recently configured my lab DNS infoblox server in a grid and setup some authoritative forward-mapping zones on it for my lab web-servers;

The DNS queries for the authoritative zones were working fine;

I then configured the DNS grid with as a forwarder;

Continue reading

How to setup and configure Infoblox vNIOS in EVE-NG

In previous versions on EVE-NG, you could use Linux templates to run InfoBlox VMs. But that workaround was no longer a working solution after a few updates.

In the new version on EVE-NG, more templates have been added and InfoBlox is one of them. With the new templates the image boots pretty quickly and you can get an InfoBlox image up and running in no time.

The below procedure has been tested on EVE-NG running version v2.0.3-95 which was released on 02 January 2019.

  1. Place the Infoblox DDI KVM image in the below path in EVE-NG.
  1. Fix permissions
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
  1. Open a new lab, add node, navigate to InfoBlox IPAM template, add the image infoblox-NIOS-8.2.4 in EVE-NG and assign resources:
1 vCPU, 2048 Memory and 2 interfaces
  1. Start the node. Default username/password is admin/infoblox.

4 Continue reading