Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jun 2023 11:15:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 128954] ifconfig(8) deletes valid routes
Message-ID:  <bug-128954-7501-q6XheNf0M3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-128954-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-128954-7501@https.bugs.freebsd.org/bugzilla/>

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

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=20
# ifconfig igb1 add 192.168.178.20/24
# route get default
route: route has not been found

Is this also "by design"?


Cheers,
Franco

--=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-128954-7501-q6XheNf0M3>