Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Mar 2024 09:33:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277592] On machines without IPv6, ping uses IPv6
Message-ID:  <bug-277592-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277592

            Bug ID: 277592
           Summary: On machines without IPv6, ping uses IPv6
           Product: Base System
           Version: 13.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: ml@netfence.it

On a 13.3 machine with a kernel compiled without "options INET6":


> % host www.google.it
www.google.it has address 216.58.204.227
www.google.it has IPv6 address 2a00:1450:4002:415::2003
% ping www.google.it
ping: socket ssend: Address family not supported by protocol family
% ping -4 www.google.it
PING www.google.it (216.58.204.227): 56 data bytes
64 bytes from 216.58.204.227: icmp_seq=3D0 ttl=3D117 time=3D13.422 ms
64 bytes from 216.58.204.227: icmp_seq=3D1 ttl=3D117 time=3D15.746 ms
^C=20

On every other release (including 13.2 and 14.0):
% host www.google.it
www.google.it has address 216.58.204.227
www.google.it has IPv6 address 2a00:1450:4002:415::2003
% ping www.google.it
PING www.google.it (216.58.204.227): 56 data bytes
64 bytes from 216.58.204.227: icmp_seq=3D0 ttl=3D117 time=3D19.679 ms
64 bytes from 216.58.204.227: icmp_seq=3D1 ttl=3D117 time=3D28.819 ms
^C

I tried with and without 'ipv6_activate_all_interfaces=3D"NO"' in rc.conf.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277592-227>