Date: Thu, 06 Mar 2014 10:47:18 -0800 From: Julian Elischer <julian@freebsd.org> To: Joe Nosay <superbisquit@gmail.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: How do I create a cloned interface when there is no static connection? Message-ID: <5318C2B6.4080109@freebsd.org> In-Reply-To: <CA%2BWntOtphdnTRdks%2Bwe1Nx68CXjaz_u1S1JFm%2BfdKc7X6Qro%2BA@mail.gmail.com> References: <CA%2BWntOsoNMF5rd=j2qbtnVv6-6709R7JqPH7j6vzwkqwrA_=GQ@mail.gmail.com> <53181410.1030107@freebsd.org> <CA%2BWntOtphdnTRdks%2Bwe1Nx68CXjaz_u1S1JFm%2BfdKc7X6Qro%2BA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 3/6/14, 9:39 AM, Joe Nosay wrote: > > > > On Thu, Mar 6, 2014 at 1:22 AM, Julian Elischer <julian@freebsd.org > <mailto:julian@freebsd.org>> wrote: > > On 3/5/14, 3:30 PM, Joe Nosay wrote: > > I'm thinking that I may need to setup a script to create the > interface and > then bridge it so that the jail can connect to the internet. > _______________________________________________ > freebsd-hackers@freebsd.org > <mailto:freebsd-hackers@freebsd.org> mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org > <mailto:freebsd-hackers-unsubscribe@freebsd.org>" > > not sure I understand the question.. > > you can create all sorts of 'dummy' interfaces to pass to the > jail.. is it a vimage jail or just using aliases? > > > > I'll need a dummy interface inside of the that can be bridged to > wlan0 outside of the jail. Normal jail with aliases. you should just be able to make a tap device and bridge it. failing that try make an epair.. or hmm yah an netgraph eiface can defiately be bridged.. in fact try a netgraph bridge attached to a netgraph eiface. (check the example in /usr/share/examples/netgraph)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5318C2B6.4080109>