Ask Your Question

Revision history [back]

Can I set up Wireshark to capture on a virtual IP configured on the local loopback subnet (i.e. 127.0.0.2)?

I have configured a set of virtual IPs on the local loopback subnet (i.e. 127.0.0.2->6) of my CentOS 6.10 VM. This is necessary to support testing in an environment where I can't simply add conventional VIPs to the NIC. I am trying to figure out how to configure Wireshark to capture traffic on one of these loopback VIPs, lo:1 (aka 127.0.0.2). I see LO in the interface list, but none of the others.

lo:1 Link encap:Local Loopback inet addr:127.0.0.2 Mask:255.224.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1

Any ideas? There's no trace of my traffic on lo (127.0.0.1), as expected.

Kind regards, -Kirk