10-STABLE and setfib

Pavel Timofeev timp87 at gmail.com
Thu Sep 4 13:56:20 UTC 2014


Hi!
I've read this topic in forum
https://forums.freebsd.org/viewtopic.php?f=7&t=47693 where described
how to deal with default route for jail with different fib.
I tried it on 2 same virt machines, but with different interface name
and ip addresses than on forum.
While it works in 10.0-RELEASE it doesn't work in 10.1-PRERELEASE r271030.
It says 'Network is unreachable' while booting. Here is a piece of dmesg.boot:


add net 172.16.220.0: gateway hn1 fib 1
add net default: gateway 172.16.220.1 fib 1
add net default: gateway 192.168.8.1 fib 0
Additional inet routing options: gateway=YES.
route: writing to routing socket: Network is unreachable
add net fe80::: gateway ::1 fib 0
add net fe80::: gateway ::1 fib 1: Network is unreachable
route: writing to routing socket: Network is unreachable
add net ff02::: gateway ::1 fib 0
add net ff02::: gateway ::1 fib 1: Network is unreachable
route: writing to routing socket: Network is unreachable
add net ::ffff:0.0.0.0: gateway ::1 fib 0
add net ::ffff:0.0.0.0: gateway ::1 fib 1: Network is unreachable
route: writing to routing socket: Network is unreachable
add net ::0.0.0.0: gateway ::1 fib 0
add net ::0.0.0.0: gateway ::1 fib 1: Network is unreachable


And 'netstat -rn' doesn't show routes inside the jail.
Can anyone confirm such regression?


More information about the freebsd-stable mailing list