[Bug 259553] add host 127.0.0.1: gateway lo0 fib 0: route already in table

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 30 Oct 2021 16:08:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259553

            Bug ID: 259553
           Summary: add host 127.0.0.1: gateway lo0 fib 0: route already
                    in table
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: jasonmader@gmail.com

FreeBSD 13.0 startup messages:

add host 127.0.0.1: gateway lo0 fib 0: route already in table
add host ::1: gateway lo0 fib 0: route already in table

/etc/rc.d/routing:
        # Provide loopback route in all routing tables.  This has to come
        # first so that any following routes can be added.
        static_routes="_loopback ${static_routes}"
        route__loopback="-inet 127.0.0.1 -iface lo0 ${_fibmod}"


        ipv6_static_routes="_loopback ${ipv6_static_routes}"

        # Create a loopback route in every fib
        ipv6_route__loopback="::1 -prefixlen 128 -iface lo0 ${fibmod}"

Obviously, removing _loopback from static_routes will eliminate the error if
there's only fib 0. Not sure if the current behavior of adding route__loopback
a second time to fib 0 was intended, just wanted to report this.

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