opensubscriber
   Find in this group all groups
 
Unknown more information…

f : freebsd-net@freebsd.org 28 May 2012 • 9:23PM -0400

Re: Point-to-point connection between jails?
by Aleksandr A Babaylov

REPLY TO AUTHOR
 
REPLY TO GROUP




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"

_______________________________________________
freebsd-net@free... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@free..."

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.