Setup Tahi environment for IPv6 test

Source: Internet
Author: User

1. Find a PC with 2 Ethernet cards

2. Install FreeBSD 7.3 on this PC, and set network connecting to Internet.
3. After installed, run cmd:

1. ntpdate clock.stdtime.gov.tw <br/> 2. portsnap fetch extract <br/> 3. CD/usr/ports/lang/p5-Expect <br/> 4. make install <br/> 5. CD/usr/ports/security/p5-Digest-MD5 <br/> 6. make install <br/> 7. CD/usr/ports/textproc/p5-YAML <br/> 8. make install <br/> 9. CD/usr/ports/lang/p5-Expect <br/> 10. make install <br/> 11. CD/usr/ports/security/p5-Digest-MD5 <br/> 12. make install <br/> 13. CD/usr/ports/textproc/p5-YAML <br/> 14. make install

4.Copy packages of IPv6 Test Tools v6eval-3.3.1.tar.gz v6eval-remotes-3.0 and self_test_5-0-0.tgz.tar to FreeBSD. 5.Install tahi package  Commands:  1. tar zxvf v6eval-3.3.1.tar.gz  2. cd v6eval-3.3.1  3. make  4. make install  5. tar zxvf self_test_5-0-0.tgz.tar  6. tar -zxvf v6eval-remotes-3.0.tar.gz  7. cd v6eval-remotes-3.0  8. make  9. make install  10. touch /var/log/aculog  11. chown uucp:dialer /var/log/aculog  12. chmod 660 /var/log/aculog   13. cu -l /dev/cuad0 -s 115200  14. use "~." to exit RS232C

6. Set environment for IPv6 test tools

  • Set FreeBSD network for IPv6 test tools

    • Modify/etc/rc. conf

      • Listen 6_enable = "no"
      • Ifconfig_rl0 = "up", (rl0 is Interface Name of FreeBSD PC, this name maybe different on different PC)
      • Ifocnifg_rl1 = "up", (rl1 is Interface Name of FreeBSD PC, this name maybe different on different PC)
  • Set config for IPv6 test tools
    • Create nut. Def and TN. Def in/usr/local/v6eval/etc

      • Copy nut. Def. Sample to nut. Def in/usr/local/v6eval/etc
      • Copy tn. Def. Sample to tn. Def in/usr/local/v6eval/etc
      • Modify tn. Def
        • Modify the name: link0 = rl0 and link1 = rl1
        • Modify the macid: Mac of link0 = macid of rl0, MAC of link1 = macid of rl1,
      • Modify nut. Def
        • Modify "type" to be Router
        • Remove # Before link1 to enable link1

7. Set dut

  • Clear all settings
  • Set macid: 00: E0: 4C: 81: 86: 82
  • Set PVC 0 = 0/33
  • Create static IP address base on pv0
    • External IP address = 192.168.11.11
    • Default Gateway = 192.168.11.1
    • MAC address = 00: E0: 4C: 81: 86: 90

8. Start test:

  • Switch to selftest folder (the folder of self_test_5-0-0)
  • Execute "make clean"
  • Execute "make slave 6ready_p1_router" or "make slave 6ready_p2_router"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.