Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2008 21:56:25 -0700
From:      Julian Elischer <julian@elischer.org>
To:        martes@mgwigglesworth.com
Cc:        freebsd-net@freebsd.org
Subject:   Re: Multiple routing tables in action...
Message-ID:  <48140779.1060302@elischer.org>
In-Reply-To: <1209261817.10040.111.camel@localhost>
References:  <48134DDE.9010306@elischer.org>	<f85d6aa70804261109o4afa0f21x31a27968e0132d91@mail.gmail.com> <1209261817.10040.111.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <julian@elischer.org> 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"




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