Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2017 14:55:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221445] The absence of the accept_rtadv option causes an error "ping6: sendmsg: No buffer space available"
Message-ID:  <bug-221445-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 221445
           Summary: The absence of the accept_rtadv option causes an error
                    "ping6: sendmsg: No buffer space available"
           Product: Base System
           Version: 11.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: admin@support.od.ua

I have a server in Kimsufi (OVH)

Ping on ipv6 causes an error:
# ping6 -c 5 ya.ru
PING6(56=3D40+8+8 bytes) 2001:41d0:e:XXX::1 --> 2a02:6b8::2:242
ping6: sendmsg: No buffer space available
ping6: wrote ya.ru 16 chars, ret=3D-1
ping6: sendmsg: No buffer space available
ping6: wrote ya.ru 16 chars, ret=3D-1
ping6: sendmsg: No buffer space available
ping6: wrote ya.ru 16 chars, ret=3D-1
ping6: sendmsg: No buffer space available
ping6: wrote ya.ru 16 chars, ret=3D-1
ping6: sendmsg: No buffer space available
ping6: wrote ya.ru 16 chars, ret=3D-1

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

# uname -a
FreeBSD tank1.storage.com 11.1-STABLE FreeBSD 11.1-STABLE #0 r322164: Mon A=
ug=20
7 15:33:19 UTC 2017=20=20=20=20
root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

cat /etc/rc.conf:

...
ifconfig_em0=3D"DHCP"

ipv6_default_interface=3D"em0"
ifconfig_em0_ipv6=3D"inet6 2001:41d0:e:XXX::1/128"

ipv6_static_routes=3D"ipv6gw"
ipv6_route_ipv6gw=3D"-host 2001:41d0:000e:03ff:ff:ff:ff:ff -iface em0"

ipv6_defaultrouter=3D"2001:41d0:000e:03ff:ff:ff:ff:ff"
ipv6_activate_all_interfaces=3D"YES"
...

# kldstat
Id Refs Address            Size     Name
 1   16 0xffffffff80200000 1f78608  kernel
 2    1 0xffffffff8217a000 31f830   zfs.ko
 3    2 0xffffffff8249a000 cba0     opensolaris.ko
 4    1 0xffffffff82621000 2357f    ipfw.ko
 5    1 0xffffffff82645000 9a67     if_bridge.ko
 6    1 0xffffffff8264f000 5e60     bridgestp.ko

# netstat -m
1024/2531/3555 mbufs in use (current/cache/total)
1023/1263/2286/250830 mbuf clusters in use (current/cache/total/max)
1023/1254 mbuf+clusters out of packet secondary zone in use (current/cache)
0/3/3/125415 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/37160 9k jumbo clusters in use (current/cache/total/max)
0/0/0/20902 16k jumbo clusters in use (current/cache/total/max)
2302K/3170K/5472K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for mbufs delayed (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters delayed (4k/9k/16k)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0 sendfile syscalls
0 sendfile syscalls completed without I/O request
0 requests for I/O initiated by sendfile
0 pages read by sendfile as part of a request
0 pages were valid at time of a sendfile request
0 pages were requested for read ahead by applications
0 pages were read ahead by sendfile
0 times sendfile encountered an already busy page
0 requests for sfbufs denied
0 requests for sfbufs delayed


# ifconfig em0
em0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3D4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_=
MAGIC,VLAN_HWTSO>
        ether 00:22:4d:ad:ff:dc
        hwaddr 00:22:4d:ad:ff:dc
        inet6 2001:41d0:e:XXX::1 prefixlen 128
        inet6 fe80::222:4dff:fead:ffdc%em0 prefixlen 64 scopeid 0x1
        inet 5.196.YY.ZZ netmask 0xffffff00 broadcast 5.196.YY.255
        nd6 options=3D8021<PERFORMNUD,AUTO_LINKLOCAL,DEFAULTIF>
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

After the command "ifconfig em0 inet6 accept_rtadv 2001:41d0:e:XXX::1/128",
connectivity appears on Ipv6 and ping starts working.

--=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-221445-8>