[Bug 221445] The absence of the accept_rtadv option causes an error "ping6: sendmsg: No buffer space available"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 28 02:37:54 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221445

--- Comment #5 from Vladislav V. Prodan <admin at support.od.ua> ---
A similar problem.

Hetzner data center.

The server is loaded into rescue mode with FreeBSD 12.0 x64.

[root at rescue ~]# uname -a
FreeBSD core.domain.com 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC 
amd64

# I turn on ipv6
sysctl net.inet6.ip6.accept_rtadv=1
ifconfig igb0 inet6 2a01:4f8:241:XXXX::2/64
route -6 add default -iface igb0

# ping6 -c 4 ya.ru
PING6(56=40+8+8 bytes) 2a01:4f8:241:XXXX::2 --> 2a02:6b8::2:242
ping6: sendmsg: No buffer space available
ping6: wrote ya.ru 16 chars, ret=-1
ping6: sendmsg: No buffer space available
ping6: wrote ya.ru 16 chars, ret=-1
ping6: sendmsg: No buffer space available
ping6: wrote ya.ru 16 chars, ret=-1
ping6: sendmsg: No buffer space available
ping6: wrote ya.ru 16 chars, ret=-1

--- ya.ru ping6 statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss



[root at rescue ~]# ifconfig
igb0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
       
options=e507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 00:1e:67:b4:f9:e7
        inet 116.202.XXX.XXX netmask 0xffffffc0 broadcast 116.202.XXX.XXX
        inet6 2a01:4f8:241:XXXX::2 prefixlen 64
        inet6 fe80::21e:67ff:feb4:f9e7%igb0 prefixlen 64 scopeid 0x1
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

[root at rescue ~]# netstat -rn6
Routing tables

Internet6:
Destination                       Gateway                       Flags     Netif
Expire
::/96                             ::1                           UGRS        lo0
default                           00:1e:67:b4:f9:e7             US         igb0
::1                               link#2                        UH          lo0
::ffff:0.0.0.0/96                 ::1                           UGRS        lo0
2a01:4f8:241:XXXX::/64            link#1                        U          igb0
2a01:4f8:241:XXXX::2              link#1                        UHS         lo0
fe80::/10                         ::1                           UGRS        lo0
fe80::%igb0/64                    link#1                        U          igb0
fe80::21e:67ff:feb4:f9e7%igb0     link#1                        UHS         lo0
fe80::%lo0/64                     link#2                        U           lo0
fe80::1%lo0                       link#2                        UHS         lo0
ff02::/16                         ::1                           UGRS        lo0

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


More information about the freebsd-net mailing list