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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to