IPv6-Cloud.org
IPv4-IPv6.eu
IPv4-IPv6.asia
IPv6.li


IPv6 Address

IPv6 DNSv6

IPv6 Howto

Distro-Specific Howto

IPv6 Tunnel

IPv6 SW Tools

IPv6 Testiing

IPv6 RFCs



1U Rackmount Chassis

Custom-Chassis.net

Linux-1U.net

1U-ITX.net


ITX-Blades.net


Small PC cases

Mini-Box.net

Wrap-Box.net

Wrap-OS.net


gigEnn.net

WanSim.net



Linux-Consulting.com

Linux-CAE.net

Linux-Sec.net

Linux-Boot.net

Linux-Backup.net

Linux-Wireless.org

Linux-Office.net

Linux-Video.net

Linux-VOIP.net

Linux-Jobs.net

Linux-Diff.net

1U-Raid5.net

Linux-Howto.net


Spam Reporting



Free Linux CDs

ISO9660.org

Distro-CD.org

Patch-CD.org




Contact



Linux is a registered trademark of
Linus Torvalds

More Linux Legalese


IPv6-Cloud.org/Tools



IPv6 Software Tools

Testing Your IPv6 Connectivity

RTT Tests
  • ping
  • ping6 ::1 ... should always work
  • ping6 -b 70000 -s 68000 Clientv6 jumbo packets

IPv6 Connectivity Tests

  • ip6fw -a list
  • netstat -s -p ip6

  • telnet ::1 80 === do NOT use

  • ssh -6 -l LocalUser ::1

  • dig +short ipv6.google.com @ns.IPv6-Cloud.org AAAA
  • host -t AAAA ipv6.google.com

  • tracepath6 www.kame.net

  • traceroute6 www.kame.net

  • nmap -sT localhost
  • nmap -6 -sT ::1

  • sockstat -4
  • sockstat -6

  • tcpdump -t -ni eth0 -s 512 -vv ip6 or proto ipv6
    • tcpdump -ni lo0 icmp6 -- for watching ping6 ::1
    • tcpdump -ni gif0 icmp6 -- for static ipv6 over ipv4 tunnels
    • tcpdump -ni stf0 icmp6 -- for 6to4 tunnels

Bandwidth Tests

  • Change your kernel send and receive buffer sizes
  • Change application ( iperf/socat/etc) send and receive buffer sizes
  • plain ole ping - ping6
    • flood the gigEnn-T3 ( 100Mbit/s ) wire .. upper limits at 65Mbit/s + overhead
    • Server# ping -s 62000 -i 0.015 192.168.242.25 > /dev/null
    • Client# ping -s 62000 -i 0.015 192.168.241.14 > /dev/null

    • ServerIPv6# ping6 -b 70000 -s 60000 -i 0.001 ClientIPv6
    • ClientIPv6# ping6 -b 70000 -s 60000 -i 0.001 ServerIPv6

  • Netperf.org
    • reciever# netserver -6 -p 1111
    • sender# netperf -6 -p 1111 -H receiver ... tcp or udp

  • SourceForge.net iperf ... flood the network
    • IPv4 Bandwidth
      • serverIPv4# iperf -w 2048k -s
      • clientIPv4# iperf -w 2048k -c ServerIPv4Address -P 10

    • IPv6 Bandwidth
      • serverIPv6# iperf -w 2048k -s -V
      • clientIPv6# iperf -w 2048k -c ServerIPv6Address -V -P 10

  • hep.man.ac.uk UDPmon .. nice graphs too
    • Request - Response Latency
      • receiver# udpmon_resp
      • sender# udp_req -dw.x.y.z -p64 -r64 -l1000

    • Bandwidth Tests
      • receiver# udpmon_resp
      • sender# udpmon_bw_mon -dw.x.y.z -p1472 -w20 -l1000

    • Packet Jitter
      • receiver# udpmon_resp
      • sender# udpmon_bw_mon -dw.x.y.z -p1472 -w80 -M0 -B2 -H -l100000

  • uperf.org

  • DeepSpace6.net NetCat6
    • ComputerA Sending Files to ComputerB with netcat

      • Recv# bar$ nc6 -6 -x -l -p 7676 > targetfile
      • Send# foo$ nc6 -6 -x bar.example.com 7676 < sourcefile

      • CompA# tar -cf - /data | nc -l -p 6666
      • CompB# nc CompA 6666 | tar -xf -

    • Connect to a IPv6 WebServer
      • nc6 -6 -n www6.example.com 80

    • Connect to an IPv6 MailServer
      • nc6 -6 mail6.example.com 25

    • nc6 -6 IPv6Add 19 .. check udp/tcp packets

    • Simple Port Scanning ( use nmap instead )
      • nc6 -6 -v -n -z -w 1 192.168.1.2 1-1000

  • Dest-Unreach.org socat .. flood the wire ..

    • Transfer a file with socat and udp
      • recv# socat - UDP-LISTEN:11111
      • send# cat any-file | socat - UDP:Recv:11111

    • IPv4 Bandwidth
      • sendIPv4# socat -u /dev/zero TCP4:recvIPv4:3333,rcvbuf=64000,sndbuf=64000
      • recvIPv4# socat -u TCP4-LISTEN:3333,reuseaddr,rcvbuf=64000,sndbuf=64000,fork /dev/null

    • IPv6 Bandwidth
      • sendIPv6#
      • recvIPv6#

Packet Loss Tests

Jitter

IPv6 Specific Commands
  • kldstat -v | grep ip6fw
  • cat /proc/net/if_inet6

  • ifconfig eth0 | grep inet6
  • ifconfig fxp0 inet6 {IPv6-Address} prefixlen 64
  • /etc/rc.d/network_ipv6 restart

  • route -n add -inet6 default 2001:0db8:0:f101::1
  • route -A inet6
  • route -A inet6 add 2000::/3 gw 2001:0db8:0:f101::1
  • /etc/rc.d/route6d restart
  • netstat -nr -f inet6
  • netstat -s -p ip6
  • ndp -a # equivalent to arp

  • /etc/rc.d/ip6fw restart
  • ip6fw -f flush
  • ip6fw list

  • ip -6 addr show dev eth0
  • ip -6 route show dev eth0
  • ip -6 neigh show dev eth0
  • ip -6 route add 2000::/3 via 2001:0db8:0:f101::1
  • ipv6calc --in ipv4addr 192.168.123.45 --action conv6to4 --out ipv6addr

  • geoiplookup6
  • IPv6 website: animated turtle : www.Kame.net


Copyright © 2000
Linux-Consulting
All Rights Reserved.
Updated: Fri Jan 6 20:32:19 2012 PDT