[Bug 128954] ifconfig(8) deletes valid routes

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 05 Jun 2023 11:15:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=128954

Franco Fichtner <franco@opnsense.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |franco@opnsense.org

--- Comment #5 from Franco Fichtner <franco@opnsense.org> ---
You don't really need to use a different IP.

If you add the exact same IP that's already there the route is disconnected as
well.

# route get default
   route to: default
destination: default
       mask: default
    gateway: XXX.XXX
        fib: 0
  interface: igb1
      flags: <UP,GATEWAY,DONE,STATIC>
 recvpipe  sendpipe  ssthresh  rtt,msec    mtu        weight    expire
       0         0         0         0      1500         1         0 
# ifconfig igb1 add 192.168.178.20/24
# route get default
route: route has not been found

Is this also "by design"?


Cheers,
Franco

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