Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jul 2009 15:09:12 +0300
From:      Nikos Vassiliadis <nvass9573@gmx.com>
To:        freebsd-net@freebsd.org
Subject:   localhost routes are not displayed when using multiple routing tables
Message-ID:  <4A55DDE8.9090808@gmx.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A55DDE8.9090808>