Date: Mon, 28 May 2012 17:23:00 +0400 From: Aleksandr A Babaylov <.@babolo.ru> To: Darren Reed <darrenr@freebsd.org> Cc: freebsd-net@freebsd.org Subject: Re: Point-to-point connection between jails? Message-ID: <20120528132300.GA30188@babolo.ru> In-Reply-To: <4FC36377.1080306@freebsd.org> References: <4FC36377.1080306@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 28, 2012 at 09:37:27PM +1000, Darren Reed wrote: > I've looked through the list of network interfaces that are > supported with FreeBSD and none seem to meet my needs. What > I want is a network interface that I can configure up in > jail A with address 10.1.1.1 and for which I can configure > a mate in jail B with the address 10.2.2.2 and use the > network interface as the means by which two jails can > directly communicate with each other without the need to > send any packets out of the machine. Or another way to do > this would be to have a virtual network (something like the > "internal network" that VirtualBox has or the host only > network supported by VMWware Workstation) defined somewhere > and for there to be a specific driver that could be > configured and attached to a jail and that virtual network > so that you could have N:M communication between jails. > > Is what I'm looking for already present and google is failing > me or is the above functionality the basis for future work, > be it planned or otherwise? ifconfig lo1 create ifconfig lo1 inet 127.1.2.3/24 ifconfig lo1 inet 127.1.2.4/32 alias launch jail A with IP 127.1.2.3 and jail B with IP 127.1.2.4 No any packet leaves host. 127.1.2.0/24 will be something like the "internal network"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120528132300.GA30188>