only lo0 interface inside jail, no default gw

Alexander Lunev sol289 at gmail.com
Wed Dec 17 07:07:10 UTC 2014


On Wed, Dec 17, 2014 at 12:47 AM, Kevin Oberman <rkoberman at gmail.com> wrote:

> You lack a default route, so nothing will be reachable other than
> 10.1.1.206 and 127.0.0.2.
>
> I just learned today that the handbook has a very nice tutorial on jailing
> BIND. It will probably save a lot of time if you check it out at
> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-ezjail.html#jails-ezjail-example-bind
>
> As the handbook makes obvious, you really will find it a lot easier if you
> use ezjail. It massively simplified working with jails.
>
>
Now, i've made jail with ezjail and it's all the same - i have no default
route in jail:

# ezjail-admin console test
Last login: Wed Dec 17 07:03:05 on pts/1
FreeBSD 10.1-RELEASE (GENERIC) #0 r274401: Tue Nov 11 21:02:49 UTC 2014

root at test:~ # netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags      Netif Expire
10.1.1.206         link#4             UHS         lo0
127.0.1.1          link#5             UH          lo1

10.1-R/amd64, if it matters.

-- 
your sweet isn't ready yet


More information about the freebsd-net mailing list