Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 May 2022 12:08:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263986] IPv6 address gets detached when using multiple IPv6 routers
Message-ID:  <bug-263986-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 263986
           Summary: IPv6 address gets detached when using multiple IPv6
                    routers
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: filipe@zarco.org

On my LAN, I have 2 routers sending ICMPv6 RA. One is the default gateway
advertising the IPv6 global prefix. The other one advertises the IPv6 ULA
prefix.

On a FreeBSD host, using the following interface configuration on /etc/rc.c=
onf,
the ULA address is marked as detached and its on-link route deleted from the
routing table.

ifconfig_em0=3D"DHCP"
ifconfig_em0_ipv6=3D"inet6 accept_rtadv"


# ifconfig em0
em0: flags=3D8863<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3D481009b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HW=
FILTER,NOMAP>
        ether 08:00:27:6b:a5:36
        inet6 fe80::a00:27ff:fe6b:a536%em0 prefixlen 64 scopeid 0x1
        inet6 fd09:xxxx:xxxx:xxxx:a00:27ff:fe6b:a536 prefixlen 64 detached
autoconf
        inet6 2001:xxxx:xxxx:xxxx:a00:27ff:fe6b:a536 prefixlen 64 autoconf
        inet 192.168.1.20 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=3D23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>


This network setup works fine with other OS.


The RA message details are the following:

# rdisc6 em0
Soliciting ff02::2 (ff02::2) on em0...

Hop limit                 :           64 (      0x40)
Stateful address conf.    :           No
Stateful other conf.      :           No
Mobile home agent         :           No
Router preference         :       medium
Neighbor discovery proxy  :           No
Router lifetime           :            0 (0x00000000) seconds
Reachable time            :  unspecified (0x00000000)
Retransmit time           :  unspecified (0x00000000)
 Prefix                   : fd09:xxxx:xxxx:xxxx::/64
  On-link                 :          Yes
  Autonomous address conf.:          Yes
  Valid time              :       180000 (0x0002bf20) seconds
  Pref. time              :        90000 (0x00015f90) seconds
 Route                    : fd09:xxxx:xxxx::/60
  Route preference        :       medium
  Route lifetime          :         1800 (0x00000708) seconds
 Source link-layer address: XX:XX:XX:B0:FA:F4
 from fe80::x:x:feb0:faf4

Hop limit                 :           64 (      0x40)
Stateful address conf.    :           No
Stateful other conf.      :          Yes
Mobile home agent         :           No
Router preference         :          low
Neighbor discovery proxy  :           No
Router lifetime           :         1800 (0x00000708) seconds
Reachable time            :  unspecified (0x00000000)
Retransmit time           :  unspecified (0x00000000)
 Prefix                   : 2001:xxxx:xxxx:xxxx::/64
  On-link                 :          Yes
  Autonomous address conf.:          Yes
  Valid time              :        90000 (0x00015f90) seconds
  Pref. time              :        90000 (0x00015f90) seconds
 Route                    : 2001:xxxx:xxxx:xxxx::/64
  Route preference        :         high
  Route lifetime          :        90000 (0x00015f90) seconds
 Source link-layer address: 00:XX:XX:9E:1D:2F
 from fe80::x:x:fe9e:1d2f

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