interface fib not inherited by bind()?

Anthony Pankov ap00 at mail.ru
Wed Oct 8 16:14:12 UTC 2014


Greetings.

I have a machine with interface IP1 connected to Provider1.
Some time ago i've connected Provider2 to another interface IP2.
I  set  new fib №1 with provider2 setting and configure interface2 for
fib 1 ('ifconfig if2 inet  IP1 netmask mask2 fib 1').
Now  i  can do 'setfib 1 ping google.com' successfully. But when i run
'ping  -S  IP2  google.com'  (using interface 2 as source) no outgoing
packet found in Interface2.

Does  this  mean that binding to interface IP do not inherit interface
FIB for connection? Is this a bug or design?

-- 
Best regards,
 Anthony                          mailto:ap00 at mail.ru



More information about the freebsd-net mailing list