From owner-freebsd-net@FreeBSD.ORG Thu Jul 9 12:09:34 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 260CA1065674 for ; Thu, 9 Jul 2009 12:09:34 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: from mail.gmx.com (unknown [213.165.64.42]) by mx1.freebsd.org (Postfix) with SMTP id 710158FC1A for ; Thu, 9 Jul 2009 12:09:33 +0000 (UTC) (envelope-from nvass9573@gmx.com) Received: (qmail invoked by alias); 09 Jul 2009 12:09:31 -0000 Received: from unknown (EHLO [192.168.1.5]) [79.107.65.122] by mail.gmx.com (mp-eu001) with SMTP; 09 Jul 2009 14:09:31 +0200 X-Authenticated: #46156728 X-Provags-ID: V01U2FsdGVkX19NzE01Vm5NKFH/uiD33vO+AhQ9ciTyu6DjQl2Thr saRCF12ke8fokh Message-ID: <4A55DDE8.9090808@gmx.com> Date: Thu, 09 Jul 2009 15:09:12 +0300 From: Nikos Vassiliadis User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67 Subject: localhost routes are not displayed when using multiple routing tables X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2009 12:09:34 -0000 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