Unit testing on a single vlan: on the same vlan than the BSD server, choose a host (W7): link local address of this host is: fe80::6d19:b3a3:b8cb:6f1b global address of this host is: 2a01:e35:8aae:bc60:a159:8fcf:7043:3278 on the BSD server, use the host addresses: compile with debug messages sysctl -w net.inet6.ndproxyconf_uplink_interface=em0 sysctl -w net.inet6.ndproxyconf_downlink_mac_address=00:01:23:45:67:89 sysctl -w net.inet6.ndproxyconf_uplink_ipv6_addresses='2a01:e35:8aae:bc60:a159:8fcf:7043:3278;fe80::6d19:b3a3:b8cb:6f1b;::' ifconfig em0 promisc tail -f /var/log/messages unit testing from the host (W7): - 1st test: ping 2a01:e35:8aae:bc60::29ff:fe9d:1234 netsh interface ipv6 show neig and find 2a01:e35:8aae:bc60::29ff:fe9d:1234 - 2nd test: netsh interface ipv6 show interface ping -6 fe80::1:1:1:3%28 netsh interface ipv6 show neig and find fe80::1:1:1:3%28 ------------------------------------------------------------ Testing with poudriere on AWS create an EC2 instance of a FreeBSD version newer than the latest poudriere target to test add a ZFS volume dedicated to poudriere add DEVELOPER=yes to /etc/make.conf zpool create ztank /dev/xbd1 update /usr/local/etc/poudriere.conf: root@ip-172-30-1-13:/usr/local/etc # diff poudriere.conf poudriere.conf.orig 12c12 < ZPOOL=ztank --- > #ZPOOL=tank 30c30 < FREEBSD_HOST=ftp://ftp.freebsd.org --- > FREEBSD_HOST=_PROTO_://_CHANGE_THIS_ 48c48 < USE_PORTLINT=yes --- > USE_PORTLINT=no 82c82 < DISTFILES_CACHE=/root/distfiles --- > DISTFILES_CACHE=/usr/ports/distfiles mkdir /root/distfiles portsnap fetch portsnap extract poudriere ports -c -F -f none -M /root/ports -p local cp -rp /usr/ports /root/ports rm -rf /root/ports/net/ndproxy cd ~/git/ndproxy/usr/ports/net ; shar `find . -print` > /tmp/ndproxy.shar cd /root/ports/net/ndproxy sh /tmp/ndproxy.shar Creation of jails for poudriere: - by the network: poudriere jail -c -j 12amd64 -v head@321619 -a amd64 -m svn+https (uname -a to get the svn release) - with a local repository: - repository downloaded with svnlite: mkdir /root/svn cd /root/svn svnlite co -r 344112 https://svn.freebsd.org/base/head src cd src poudriere jail -c -j 13i386 -b -a i386 -m src=/root/svn/src -J 112 >& /tmp/poud-c-13i386.log & - repository downloaded with http: mkdir /root/svn fetch http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.1-RELEASE/src.txz unxz src.txz tar xf src.tar poudriere jail -c -j 111i386 -b -a i386 -m src=/root/svn/src -J 112 >& /tmp/poud-c-111i386.log & Many jails can be created at the same time: (note that -b means "make build-world") poudriere jail -c -j 13amd64 -b -a amd64 -m src=/root/bsd-current/src -J 112 > /tmp/poud-c-13amd64.log & poudriere jail -c -j 13i386 -b -a i386 -m src=/root/bsd-current/src -J 112 >& /tmp/poud-c-13i386.log & poudriere jail -c -j 12amd64 -b -a amd64 -m src=/root/bsd-12.0/src -J 112 >& /tmp/poud-c-12amd64.log & poudriere jail -c -j 12i386 -b -a i386 -m src=/root/bsd-12.0/src -J 112 >& /tmp/poud-c-12i386.log & Many tests can be done at the same time: poudriere testport -j 13amd64 -p local -o net/ndproxy -J 112 > ~/testport-13amd64.log & poudriere testport -j 13i386 -p local -o net/ndproxy -J 112 > ~/testport-13i386.log & poudriere testport -j 12amd64 -p local -o net/ndproxy -J 112 > ~/testport-12amd64.log & poudriere testport -j 12i386 -p local -o net/ndproxy -J 112 > ~/testport-12i386.log & For CURRENT, the jail version must be less recent than the host one (see uname -a to get the host svn revision version).