Date: Thu, 2 Nov 2017 16:21:01 +0100 From: Marko =?UTF-8?B?Q3VwYcSH?= <marko.cupac@mimar.rs> To: Michael Gmelin <grembo@freebsd.org> Cc: freebsd-net@freebsd.org Subject: Re: VLANing between jails not segmenting traffic Message-ID: <20171102162101.4e334dfd@efreet-freebsd.kappastar.com> In-Reply-To: <20171102154255.12ca7e4d@bsd64.grem.de> References: <4d50ef1e-1cc2-aca2-d390-313ef824d524@gmail.com> <59F79902.40408@grosbein.net> <2A44422B-31A9-4ADC-8FCE-D1F8BC03623C@freebsd.org> <20171102131931.452f1106@efreet-freebsd.kappastar.com> <20171102154255.12ca7e4d@bsd64.grem.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2 Nov 2017 15:42:55 +0100 Michael Gmelin <grembo@freebsd.org> wrote: > On Thu, 2 Nov 2017 13:19:31 +0100 > Marko Cupa=C4=87 <marko.cupac@mimar.rs> wrote: >=20 > > On Mon, 30 Oct 2017 22:46:35 +0100 > > Michael Gmelin <grembo@freebsd.org> wrote: > > =20 > > > You can use fibs with net.add_addr_allfibs=3D0 to get separate > > > routing tables (comes with its own set of complications > > > though). =20 > >=20 > > I hoped to go this way, but the fact that host (in fib0) replies to > > icmp requests destined to jail with raw_sockets disabled (in fib 1) > > via host's default gateway, making really wierd routing situation. =20 >=20 > Shouldn't you be able to fix this using a pf pass rule with rtable? I am sure it could be fixed as you said, but I don't want to introduce more complexity with PF. > Maybe you can share more of your setup, quite curious. I wrote about that here on the list, and on -jail as well (both are the same): [https://lists.freebsd.org/pipermail/freebsd-jail/2017-September/003442.htm= l] [https://lists.freebsd.org/pipermail/freebsd-net/2017-October/049037.html] I also got off-list reply from a guy who says this behaviour was introduced in 11.X, and not present in 10.X. Didn't have the time to test on 10.X. Regards, --=20 Before enlightenment - chop wood, draw water. After enlightenment - chop wood, draw water. Marko Cupa=C4=87 https://www.mimar.rs/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171102162101.4e334dfd>