Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 May 2023 07:42:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 271308] [FIB] File exists while adding IPv4
Message-ID:  <bug-271308-7501@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 271308
           Summary: [FIB] File exists while adding IPv4
           Product: Base System
           Version: 13.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: konrad.kreciwilk@korbank.pl
                CC: melifaro@FreeBSD.org, net@FreeBSD.org

Hello,
I have jail with vlans and bird with full feed.
After upgrade from 13.1/Stable to 13.2/Stable I can't add subnet do interfa=
ce
when it exists in the routing table, e.g.:

route -nv get 10.8.3.1
RTA_DST: inet 10.8.3.1; RTA_IFP: link ; RTM_GET: Report Metrics: len 224, p=
id:
0, seq 1, errno 0, flags:<UP,GATEWAY,HOST,STATIC>
locks:  inits:
sockaddrs: <DST,IFP>
 10.8.3.1 link#0
   route to: 10.8.3.1
destination: 10.8.3.0
       mask: 255.255.255.0
    gateway: xx.xx.92.217
        fib: 0
  interface: vlan4007
      flags: <UP,GATEWAY,DONE,PROTO1>
 recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
       0         0         0         0      1500         1         0

locks:  inits:
sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA>
 10.8.3.0 xx.xx.92.217 255.255.255.0 vlan4007:0.7.43.6c.f3.d0 xx.xx.92.218

# birdc show route for 10.8.3.1
BIRD 2.13 ready.
Table master4:
10.8.3.0/24          unicast [CORE_OSPF 09:31:03.342] * E1 (150/31)
[xx.xx.58.18]
        via xx.xx.92.217 on vlan4007


# ifconfig vlan40 10.8.3.1/24 alias
ifconfig: ioctl (SIOCAIFADDR): File exists

Problem is with the same size len of prefixes. If I try to add more specific

# ifconfig vlan40 10.8.3.1/25 alias

not errors, IPv4 has been added

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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