NetworkNightmare.jp

NetworkNightmare.net

gigEnn.net

gigEnn Products

OnlineOrder

IPv6

MRTG

Monitoring Traffic

Wansim Testing

Packet Crafting

Customers

Terms

Discounts

Warranty

Manuals

FirmwareVersions

Upgrade Howto

Support


NN2gigEnn upgrade

NN-Plus End-of-Life

NN-Minus End-of-Life


WanSim.net





Contact

Sales @ NetworkNightMare.net



Linux is a registered trademark of
Linus Torvalds

More Linux Legalese


gigEnn.net/IPv6


IPv6 Address Conversion
  • You will need to convert your local IPv4 address into equivalent IPv6 addresses

  • IPv4 to IPv6 address conversion scripts
    • printf '% 02x % 02x:% 02x % 02x' $(echo IPv4 | tr . ' ')

    • 2001:/32 == point-to-point address
    • 2002:/8 == 6-to-4 address
    • fe80::xxxx:xxff:fexx:xxxx/64 == MAC/eu64 address
    • ::ffff:w.x.y.z/96 == dot-quad address

Simple 2-node Local IPv6 lan test

  • Example addresses as shipped in gigEnn-T3 ..

    • names are arbitrary, as are the IPv4 addresses
    • ClientIPv4 == 192.168.241.17
    • ServerIPv4 == 192.168.242.27

    • The corresponding point-to-point IPv6 address are
    • ClientIPv6 == 2001:c0a8:f111::5
    • ServerIPv6 == 2001:c0a8:f21ba::5

    • As always, add the (fqdn) hostnames to /etc/hosts if you want to use hostname vs ip#
      • for a quick and simple IPv6 test,
        it's probably NOT worth the extra effort to build an IPv6 DNS server

  • You will NEED to Create an IPv6 tunnel
    • You will need to change the order ( direction ) of the point-to-point tunnel on each end

    • IPv6-Cloud.org Distro specific Howto

    • ClientIPv4# ifconfig gif2 create
    • ClientIPv4# ifconfig gif2 tunnel 192.168.241.17 192.168.242.27
    • ClientIPv4# ifconfig gif2 inet6 2001:c0a8:f111::5 2001:c0a8:f21ba::5 prefixlen 128
    • ClientIPv4# route add -inet6 default 2001:c0a8:f21ba::5

        -- and --

    • ServerIPv4# ifconfig gif2 create
    • ServerIPv4# ifconfig gif2 tunnel 192.168.242.27 192.168.241.17
    • ServerIPv4# ifconfig gif2 inet6 2001:c0a8:f21ba::5 2001:c0a8:f111::5 prefixlen 128
    • ServerIPv4# route add -inet6 default 2001:c0a8:f111::5

    • To remove the tunnel and its IPv6 default route
      • ifconfig gif2 destroy

  • You will NEED to fix your IPv6 firewall
    • ClientIPv4# vi /etc/rc.firewall6
        make sure you have "allow" rules for 192.168.241.17 and 192.168.242.27
    • ClientIPv4# /etc/rc.d/ip6fw restart
    • ClientIPv4# ip6fw list

        -- and --

    • ServerIPv4# vi /etc/rc.firewall6
        make sure you have "allow" rules for 192.168.241.17 and 192.168.242.27
    • ServerIPv4# /etc/rc.d/ip6fw restart
    • ServerIPv4# ip6fw list

  • Simplified ping test on the other end of the tunnel
    • Make sure IPv4 ping tests works ..
    • ClientIPv4# ping ServerIPv4
    • ServerIPv4# ping ClientIPv4

    • IPv6 ping6 tests should also work .. out of the (wansim) box
    • ClientIPv6# ping6 ServerIPv6
    • ServerIPv6# ping6 ClientIPv6

  • Insert some RTT delays
    • you should see the ping/ping6 rtt delays for both IPv6 and IPv6
    • gigEnn -rtt 5
    • gigEnn -rtt 56
    • gigEnn -rtt 567

Connecting to the Real IPv6 World

IPv6 Testing


Copyright © 2000
Linux-Consulting
All Rights Reserved.
Updated: Thu Mar 29 13:20:52 2012 PDT