From owner-freebsd-net@FreeBSD.ORG Sun Apr 27 04:56:28 2008 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 3751A1065678 for ; Sun, 27 Apr 2008 04:56:28 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outY.internet-mail-service.net (outy.internet-mail-service.net [216.240.47.248]) by mx1.freebsd.org (Postfix) with ESMTP id F3D1C8FC14 for ; Sun, 27 Apr 2008 04:56:27 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Sun, 27 Apr 2008 00:38:27 -0700 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 9CB152D6006; Sat, 26 Apr 2008 21:56:26 -0700 (PDT) Message-ID: <48140779.1060302@elischer.org> Date: Sat, 26 Apr 2008 21:56:25 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: martes@mgwigglesworth.com References: <48134DDE.9010306@elischer.org> <1209261817.10040.111.camel@localhost> In-Reply-To: <1209261817.10040.111.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Multiple routing tables in action... 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: Sun, 27 Apr 2008 04:56:28 -0000 Martes G Wigglesworth wrote: > Sorry for my late entry into this interesting subject, however, what > exactly was the original post displaying? I have 6.3-Stable running, > and I don't even have the first command listed as "setfib", on my > system. > > What did the setfib -l command do, so that you were able to see two > distinctly different routing tables? setfib -1 .. (that is "minus one") executes the following command with the default routing table (fib) set to the second table (table 1). setfib -0 (that's "minus zero") runs the folling arguments as a command with it's default routing table set to the first routing table (table 0). the setfib command is added as part of the patch. > > On Sat, 2008-04-26 at 21:09 +0300, Ivo Vachkov wrote: >> when do we get to see those patches ? :) >> >> On Sat, Apr 26, 2008 at 6:44 PM, Julian Elischer wrote: >>> A little progress report >>> >>> From a recently installed (6.3) machine.... (plus patches) >>> >>> wsa02:julian 9] setfib -0 netstat -rn >>> Routing tables >>> >>> Internet: >>> Destination Gateway Flags Refs Use Netif Expire >>> default 172.28.14.1 UGS 0 788 bce1 >>> 127.0.0.1 127.0.0.1 UH 0 379 lo0 >>> 172.28.5/24 172.28.14.1 UGS 0 10 bce1 >>> 172.28.6.32/28 link#2 UC 0 0 em0 >>> 172.28.6.33 00:15:2b:46:56:90 UHLW 1 0 em0 1190 >>> 172.28.14/24 link#6 UC 0 0 bce1 >>> 172.28.14.1 00:04:23:b5:a9:2b UHLW 3 0 bce1 1117 >>> wsa02:julian 10] setfib -1 netstat -rn >>> Routing tables >>> >>> Internet: >>> Destination Gateway Flags Refs Use Netif Expire >>> default 172.28.6.33 UGS 0 0 em0 >>> 1.1.1/28 172.28.6.33 UGS 0 0 em0 >>> 127.0.0.1 127.0.0.1 UH 0 1 lo0 >>> 172.28.5/24 172.28.6.33 UGS 0 6 em0 >>> 172.28.6.32/28 link#2 UC 0 0 em0 >>> 172.28.6.33 00:15:2b:46:56:90 UHLW 4 6 em0 1182 >>> wsa02:rjulian 11] >>> >>> _______________________________________________ >>> freebsd-net@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-net >>> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >>> >> >> > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"