The latest IPv6 Ready Logo tool
http://interop.ipv6.org.tw/CERouter/
Installing the latest tool requires FreeBSD to be above 8.0
Uname-r View Version
Refer to the following to upgrade FreeBSD
Http://www.freebsd.org/doc/zh_CN/books/handbook/updating-upgrading-freebsdupdate.html
(1)Freebsd-update-r 8. 4-release Upgrade
Once the upgrade is complete:
(2)freebsd-update install
After the installation is complete, compile and install the third-party software:
(3)
#portupgrade -f ruby
#rm /var/db/pkg/pkgdb.db
#portupgrade -f ruby18-bdb
#rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
#portupgrade -af
(4)
#freebsd-update install
During the installation process, some library files may be missing, for example, when I was pretending, I was prompted to libperl.so less. The installation of Libperl is as follows.
版本)
# make install
如果发现perl的版本低,或者其他软件的版本低,可以使用如下命令下载最新的包
#freebsd-update fetch
#freebsd-update install
After performing the above, if also reported cannot find libperl.so, you can copy the/usr/local/lib/per5/xx/libperl.so to/usr/lib.
See if FreeBSD has been upgraded successfully
Uname-r
Formally installs the IPV6 test tool.
- Download V6eval and Self Test tool
- Installing Perl-related modules
-Expect
-Io-stty
-Io-tty
-DIGEST-MD5
-YAML
-HMAC
#cd /usr/ports/lang/p5-Expect && make install
# CD/USR/PORTS/SECURITY/P5-DIGEST-MD5 && make install
# Cd/usr/ports/textproc/p5-yaml && make install
# Cd/usr/ports/security/p5-digest-hmac && make install
3. Install the v6eval and self Test Tool on the http://interop.ipv6.org.tw/CERouter/requirements
At this point, IPv6 Ready logo test environment set up, the following is necessary to modify the relevant configuration file.
Network Diagram:
Note: Msk0 and rl0 are the two interfaces on FreeBSD
- NUT Configuration
(1) Add a static Wan,ipv6 enabled, and the WAN address of the IPv6 must conform to the following form, in V6eval's script, the WAN port corresponds to LINK0:
LINK0:3FFE:0501:FFFF:0100: + EUI64 (Wan mac address)
(2) Configuring LAN IPv6, DHCP6 enabled
- TN Configuration
(1)/usr/local/v6eval/etc/tn.def
Remotedevice |
cuad0 or cuaU0 |
|
Filter |
IPv6 |
|
#linkname |
Interface Name |
Ether Source Address |
|
|
|
Link0 |
Msk0 |
00:00:00:00:01:00 |
Link1 |
Rl0 |
00:00:00:00:01:01 |
Link0 corresponds to WAN, LINK1 corresponds to LAN
(2)/usr/local/v6eva/etc/nut.def
System Smc-router |
TargetName linux-mips |
HostName SMC |
Type Router |
Link0 eth1 (Wan mac address) |
Link1 Br0 (Br0 mac address) |
(3)/usr/local/lib/perl5/site-perl/5.16/v6evalremote.pm
Set the serial login router account and device (consistent with Remotedevice in tn.def), command modified to Cu–l cuaU0 (cuaD0) –s 38400 (baud rate)
- modifying scripts
Since the system set in Nut.def is Smc-router, the corresponding files are located in the
/usr/local/v6eval/bin/smc-router (Automated test command script)
- /USR/LOCAL/LIB/PERL5/SITE-PERL/5.16/V6EVALREMOTE.PM In addition to Smc-router-related operations
To run the script:
(1) Run all
Make Ipv6ready_p2_ce
(2) Partial operation
Make aropt= ' s 1–e 2 ' ipv6ready_p2_ce
IPV6 Ready logo test Environment setup