From Fedora Project Wiki

(added route cmd)
(Added netcat tests)
Line 2: Line 2:
|description=This test case tests the compatibility of various commands with IPv6.
|description=This test case tests the compatibility of various commands with IPv6.
|setup=
|setup=
# Ensure the {{package|iputils}}, {{package|net-tools}}, {{package|bind-utils}}, {{package|iproute}} packages are installed.
# Ensure the {{package|iputils}}, {{package|net-tools}}, {{package|bind-utils}}, {{package|iproute}}, {{package|nc}} packages are installed.
|actions=
|actions=
# Check if you have received an IPv6 address: {{command| ifconfig | grep inet6}}
# Check if you have received an IPv6 address: {{command| ifconfig | grep inet6}}
Line 9: Line 9:
# Print the route packets trace to an IPv6 network host {{command| traceroute6 IPV6_ADDR}}
# Print the route packets trace to an IPv6 network host {{command| traceroute6 IPV6_ADDR}}
# Display IPv6 routes table: {{command| ip -6 route}} or {{command| route -A inet6 }}
# Display IPv6 routes table: {{command| ip -6 route}} or {{command| route -A inet6 }}
# Use nc (netcat) on IPv6 network:
## Listen to port 8080 on IPv6 address: {{command| nc -l -6 IPV6_ADDR 8080}}
## Connect to IPv6 address listening to port 8080: {{command| nc -6 IPV6_ADDR 8080}}


|results=
|results=

Revision as of 20:10, 6 June 2011

Description

This test case tests the compatibility of various commands with IPv6.

Setup

  1. Ensure the Package-x-generic-16.pngiputils, Package-x-generic-16.pngnet-tools, Package-x-generic-16.pngbind-utils, Package-x-generic-16.pngiproute, Package-x-generic-16.pngnc packages are installed.

How to test

  1. Check if you have received an IPv6 address: ifconfig | grep inet6
  2. Check if your DNS response to AAAA requests (IPv6 address): dig ipv6.DOMAIN.TLD AAAA
  3. Ping a host with IPv6 address: ping6 IPV6_ADDR
  4. Print the route packets trace to an IPv6 network host traceroute6 IPV6_ADDR
  5. Display IPv6 routes table: ip -6 route or route -A inet6
  6. Use nc (netcat) on IPv6 network:
    1. Listen to port 8080 on IPv6 address: nc -l -6 IPV6_ADDR 8080
    2. Connect to IPv6 address listening to port 8080: nc -6 IPV6_ADDR 8080

Expected Results

  1. The commands should work as with ipv4.