Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Sep 2022 06:49:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 266544] Cannot send to static ipv6 interface routes
Message-ID:  <bug-266544-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 266544
           Summary: Cannot send to static ipv6 interface routes
           Product: Base System
           Version: 12.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jaunts_buys.0b@icloud.com

Hello,

Consider a static IPv6 deployment where there are multiple prefixes on the
link. FreeBSD is configured with an ipv6 address on one of those prefixes, =
but
the other prefix must be reached via a static route. There are no router
advertisements on the link.


Problem:
Traffic flows to the prefix for which the host has an address, but does not
flow to the prefix via the static route.

To Reproduce:
1) Install FreeBSD-12.3-RELEASE. I used the FreeBSD-12.3 VMDK VMware image =
and
logged in as root.

2) Configure the interface without specifying accept_rtad:
# ifconfig em0 inet6 2001:db8:1::1/64

3) Observe ping6 2001:db8:1::1 works

4) Add static route to another prefix on the link:
# route -6 add -net 2001:db8:2::/64 -iface em0

5) Observe pinging any host on 2001:db8:2::/64 does not work and produces t=
he
following error:

ping6: sendmsg: No buffer space available
ping6: wrote 2001:db8:2::2 16 chars, ret=3D-1

--=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-266544-227>