Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2014 17:56:18 +0400
From:      Pavel Timofeev <timp87@gmail.com>
To:        freebsd-stable stable <freebsd-stable@freebsd.org>
Subject:   10-STABLE and setfib
Message-ID:  <CAAoTqfvOjbWyvTboBpA6ka-5HPg0jYQ%2BS2SkA0EvJtwHBPVtBg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAoTqfvOjbWyvTboBpA6ka-5HPg0jYQ%2BS2SkA0EvJtwHBPVtBg>