Hi, I'm testing the virtual network stack in 8.0. I configured 2 jails in a virtual lan. The documentation regarding vimage is not very detailed. I started with the following configuration:
/etc/rc.d/route6d start setenv D1 /jails/dns1 mkdir -p $D1 setenv D2 /jails/dns2 mkdir -p $D2 cd /usr/src make buildworld make installworld DESTDIR=$D1 make distribution DESTDIR=$D1 cd $D1 find . | cpio -pmud $D2 mount -t devfs devfs $D1/dev mount -t devfs devfs $D2/dev jail -c vnet name=d1 host.hostname=dns1.intern.de path=/jails/dns1 persist jail -c vnet name=d2 host.hostname=dns2.intern.de path=/jails/dns2 persist ifconfig bridge0 create ifconfig epair create ifconfig epair create ifconfig bridge0 inet6 fd08:e8a3:4825:10::1 addm epair0a addm epair1a up ifconfig epair0b vnet 1 ifconfig epair1b vnet 2 jexec 1 csh ifconfig epair0b inet6 fd08:e8a3:4825:10::11 route -n add -inet6 default fd08:e8a3:4825:10::1 exit jexec 2 csh ifconfig epair1b inet6 fd08:e8a3:4825:10::12 route -n add -inet6 default fd08:e8a3:4825:10::1 exit Is this the suggested way to set up jails with vnet network stacks in a virtual lan? Thanks Reinhard _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"