Multiple routing tables in action...

Julian Elischer julian at elischer.org
Sun Apr 27 04:56:28 UTC 2008


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 at 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 at freebsd.org mailing list
>>>  http://lists.freebsd.org/mailman/listinfo/freebsd-net
>>>  To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>>
>>
>>
> 
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"



More information about the freebsd-net mailing list