Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2022 10:06:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 263202] "route already in table" - even though it's not, and can't be deleted
Message-ID:  <bug-263202-7501-Ltdx7Nn3Pl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-263202-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-263202-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=3D263202

--- Comment #9 from Zhenlei Huang <zlei.huang@gmail.com> ---
(In reply to Pat Maddox from comment #8)
Thanks for your report.

It is weird that I managed to reproduce on 13.0 and also 13.1-RC2.

This is what I had tried:
# ifconfig tap0 create inet 100.120.128.187/24
# netstat -4rn
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
...
100.120.128.0/24   link#3             U          tap0
100.120.128.187    link#3             UHS         lo0
127.0.0.1          link#2             UH          lo0
...

# route add 100.120.128.187 -interface lo0
add host 100.120.128.187: gateway lo0 fib 0: route already in table

# route delete 100.120.128.187 -interface lo0
route: route has not been found
delete host 100.120.128.187: gateway lo0 fib 0: not in table

# route delete 100.120.128.187
delete host 100.120.128.187

# route add 100.120.128.187 -interface lo0
add host 100.120.128.187: gateway lo0

# netstat -4rn
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
...
100.120.128.0/24   link#3             U          tap0
100.120.128.187    link#2             UHS         lo0
127.0.0.1          link#2             UH          lo0
...

--=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-263202-7501-Ltdx7Nn3Pl>