localhost routes are not displayed when using multiple routing
tables
Nikos Vassiliadis
nvass9573 at gmx.com
Thu Jul 9 12:09:34 UTC 2009
Hello,
I noticed this:
> speed# netstat -rnfinet
> Routing tables
>
> Internet:
> Destination Gateway Flags Refs Use Netif Expire
> 127.0.0.1 link#4 UH 0 0 lo0
> 192.168.1.0/24 link#6 U 1 193 wlan0
> 192.168.1.6 link#4 UHS 0 0 lo0
> speed# setfib 1 netstat -rnfinet
> Routing tables
>
> Internet:
> Destination Gateway Flags Refs Use Netif Expire
> 127.0.0.1 link#4 UH 0 0 lo0
> 192.168.1.0/24 link#6 U 0 0 wlan0
> speed#
The routing entry for 192.168.1.6 is missing from the second
routing table. 192.168.1.6 is actually routed through lo0 on
every FIB. But, for formality reasons, shouldn't it be there,
appearing when one examines the routing table?
Nikos
More information about the freebsd-net
mailing list