Date: Thu, 30 May 2013 00:33:02 +1000 (EST) From: Ian Smith <smithi@nimnet.asn.au> To: =?utf-8?B?SsOBS8OTIEFuZHLDoXM=?= <jako.andras@eik.bme.hu> Cc: freebsd-jail@freebsd.org, Mogamat Abrahams <lists@tabits.co.za> Subject: Re: Cant reach Jailed services from internet. Message-ID: <20130530002458.R55451@sola.nimnet.asn.au> In-Reply-To: <20130528080719.GA11195@eik.bme.hu> References: <loom.20130527T091739-282@post.gmane.org> <cc5f425486d0fc06e1ddc0a8cbe300ad@nanogene.org> <loom.20130527T215634-190@post.gmane.org> <20130528145629.X55451@sola.nimnet.asn.au> <20130528080719.GA11195@eik.bme.hu>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-182471751-1369837982=:55451 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Tue, 28 May 2013, JÁKÓ András wrote: >> That's a worry .. you won't do any good trying to use the broadcast >> address. Mats is right, you only get 2 usable addresses with a /30. > Assigning a /30 for four jails is perfectly valid, if it's an > aggregate of four /32s. I would configure a static route on the > default gateway for 174.x.x.76/30 -> 67.x.x.x, then on the host I'd > assign the four /32s to lo1..lo4. Packets arrive to the jails because > of the /30 static route in the neighbouring router, packets leave the > jail because of the host's already existing default route, and of > course traffic between the jails and the host are OK because the > kernel knows its own interfaces. (Actually that's how I run my > FreeBSD jails.) > Regards, > András Ok, thanks, that's interesting. Maybe I can squeeze more from my /29 .. cheers, Ian --0-182471751-1369837982=:55451--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130530002458.R55451>