Thursday, March 23, 2006

 

IPv6 ping command. (Question #46)

Consider the following from a router configured for IPv6 routing

R2#ping ipv6 FE80::A8BB:CCFF:FE00:8300
Output Interface: ethernet0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::A8BB:CCFF:FE00:8300, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/24/32 ms
R2#ping ipv6 2001:1111::A8BB:CCFF:FE00:8300

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:1111::A8BB:CCFF:FE00:8300, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/24/40 ms
R2#


Why was I prompted for an output interface for the first ping command but not for the second ping command?

Comments:
There is no particular network address for this link-local address or in other words, every ipv6 interface has a link-local address with the same prefix FE80::. The network prefix FE80 is associated with all interfaces so you have to define which one should be the source address.

In the second example the router knows the network prefix 2001:1111 and which interface can get to that destination network or is already in that network.
 
That is correct, Rich.
 
Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?