Date: Sat, 15 Mar 1997 09:37:59 -0500 (EST) From: ceharris@vt.edu To: FreeBSD-gnats-submit@freebsd.org Subject: kern/2991: RTF_LLINFO route problem Message-ID: <199703151437.JAA26129@anthill.cns.vt.edu> Resent-Message-ID: <199703151440.GAA25072@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 2991
>Category: kern
>Synopsis: RTF_LLINFO routes remain when interface is downed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 15 06:40:01 PST 1997
>Last-Modified:
>Originator: Carl Harris
>Organization:
Communication Systems Lead Engineer
CNS Research and Planning, Virginia Tech
>Release: FreeBSD 2.1.7-RELEASE i386
>Environment:
Pertains to 2.1.x-RELEASE (x <= 7). I have not verified this behavior
for later releases.
>Description:
When the IP address associated with an ethernet interface is deleted (via
ifconfig delete) and the interface is downed (via ifconfig down), routes
of type RTF_LLINFO which use the downed interface remain in the route
table.
This will cause problems on a multi-homed host. An attempt to connect to
a host with an extant RTF_LLINFO route will be routed to the downed
interface, even though the host may be reachable via an alternative interface.
>How-To-Repeat:
Assign an IP address to an ethernet interface on a live network. Ping
several hosts on the local subnet. Delete and down the interface via
ifconfig. Run netstat -rn and observe that RTF_LLINFO routes for the
pinged hosts via the down interface still exist in the route table.
>Fix:
Flush all RTF_LLINFO routes for an interface when that interface is
downed.
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703151437.JAA26129>
