Date: Wed, 17 Dec 2014 11:06:49 +0400 From: Alexander Lunev <sol289@gmail.com> To: Kevin Oberman <rkoberman@gmail.com> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: only lo0 interface inside jail, no default gw Message-ID: <CABk4_A4XdMrsD4gp9bJ2EjZY8-qab2bzCw8WtP=n%2BLLn_6jw%2Bw@mail.gmail.com> In-Reply-To: <CAN6yY1tv3JPa20GLgEaqantHYfseKMKLbL9tQdEksxEh5Xku=A@mail.gmail.com> References: <CABk4_A61y1m8hXXkOPEKSbzf74j64MNtYhfV59enVuJfPwQApQ@mail.gmail.com> <CABk4_A6mQe-w-oSRBOw-yZyPc7tG7MOnvMUGEtZ7ePzcBK=kUQ@mail.gmail.com> <CAN6yY1tv3JPa20GLgEaqantHYfseKMKLbL9tQdEksxEh5Xku=A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 17, 2014 at 12:47 AM, Kevin Oberman <rkoberman@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABk4_A4XdMrsD4gp9bJ2EjZY8-qab2bzCw8WtP=n%2BLLn_6jw%2Bw>