From Fedora Project Wiki
(added route cmd) |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
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| | # Ensure the {{package|iputils}}, {{package|bind-utils}}, {{package|iproute}}, {{package|nc}} packages are installed. | ||
|actions= | |actions= | ||
# Check if you have received an IPv6 address: {{command| | # Check if you have received an IPv6 address: {{command| ip address {{!}} grep inet6}}<br/ >with ''Scope: Global'' as ''Scope: Link'' addresses will not work across a network. | ||
# Check if your DNS response to AAAA requests (IPv6 address): {{command| dig ipv6.DOMAIN.TLD AAAA}} | # Check if your DNS response to AAAA requests (IPv6 address): | ||
## Using dig: {{command| dig ipv6.DOMAIN.TLD AAAA}} | |||
## Using nslookup: {{command| nslookup -type{{=}}AAAA ipv6.DOMAIN.TLD}} | |||
# Ping a host with IPv6 address: {{command| ping6 IPV6_ADDR}} | # Ping a host with IPv6 address: {{command| ping6 IPV6_ADDR}} | ||
# 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= |
Latest revision as of 17:58, 7 December 2012
Description
This test case tests the compatibility of various commands with IPv6.
Setup
- Ensure the
iputils
,bind-utils
,iproute
,nc
packages are installed.
How to test
- Check if you have received an IPv6 address:
ip address | grep inet6
with Scope: Global as Scope: Link addresses will not work across a network. - Check if your DNS response to AAAA requests (IPv6 address):
- Using dig:
dig ipv6.DOMAIN.TLD AAAA
- Using nslookup:
nslookup -type=AAAA ipv6.DOMAIN.TLD
- Using dig:
- Ping a host with IPv6 address:
ping6 IPV6_ADDR
- Print the route packets trace to an IPv6 network host:
traceroute6 IPV6_ADDR
- Display IPv6 routes table:
ip -6 route
orroute -A inet6
- Use nc (netcat) on IPv6 network:
- Listen to port 8080 on IPv6 address:
nc -l -6 IPV6_ADDR 8080
- Connect to IPv6 address listening to port 8080:
nc -6 IPV6_ADDR 8080
- Listen to port 8080 on IPv6 address:
Expected Results
- The commands should work as with ipv4.