[smokeping-users] IPv4 and IPv6

Stephane Bortzmeyer bortzmeyer at nic.fr
Mon Jan 14 16:29:59 CET 2008


On Fri, Jan 11, 2008 at 12:24:20PM +0100,
 Daniel <daniel at ipv6-network.de> wrote 
 a message of 8 lines which said:

> it looks for me the FPing will only do IPv4 ping probes.FPing6 will
> do only IPv6 probes.

Yes, but there are other probes. For instance, echoping-based probes
will use IPv4 or IPv6, depending on the local setup (echoping calls
getaddrinfo() without expressing a preference, unless you use the -4
and -6 option).

On GNU-libc systems, you can tune that behaviour with /etc/gai.conf.

% echoping -h / -v www.afnic.fr

This is echoping, version 6.0.1.

Trying to connect to internet address 2001:660:3003:2::4:20 80 to transmit 88 bytes...

[IPv6 have been preferred.]

[Now changing gai.conf]

% echoping -h / -v www.afnic.fr   

This is echoping, version 6.0.1.

Trying to connect to internet address 192.134.4.20 80 to transmit 88 bytes...

[Same machine, same destination, but a different IP family]



More information about the smokeping-users mailing list