[c-nsp] ping ipv6 question

Bruce Pinsky bep at whack.org
Mon May 29 03:23:51 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hank Nussbacher wrote:
> Can someone clue me in why the Cisco ipv6 ping doesn't have the option to 
> provide a source IP/interface:
> 
> gp#ping ipv6
> Target IPv6 address: 2001:738:0:402::2
> Repeat count [5]:
> Datagram size [100]:
> Timeout in seconds [2]:
> Extended commands? [no]: y
> UDP protocol? [no]:
> Verbose? [no]:
> Precedence [0]:
> DSCP [0]:
> Include hop by hop option? [no]:
> Include destination option? [no]:
> Sweep range of sizes? [no]:
> Type escape sequence to abort.
> 
> like it has on ipv4 ping:
> Extended commands [n]: y
> Source address or interface:
> 

You can specify it. It's called "Output Interface" instead of source and
it's available under standard, not just extended, options.  Here is an example:

Router#sh ipv6 int bri
Ethernet0/0                [up/up]
    FE80::A8BB:CCFF:FE00:100
Ethernet1/0                [up/up]
    FE80::A8BB:CCFF:FE00:101
Router#ping ipv6
Target IPv6 address: FE80::A8BB:CCFF:FE00:101
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands? [no]:
Sweep range of sizes? [no]:
Output Interface: ethernet0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::A8BB:CCFF:FE00:101, timeout is 2
seconds:
Packet sent with a source address of FE80::A8BB:CCFF:FE00:100

1d22h: ICMPv6: Sending echo request to FE80::A8BB:CCFF:FE00:101.
1d22h: ICMPv6: Sending echo request to FE80::A8BB:CCFF:FE00:101.
1d22h: ICMPv6: Sending echo request to FE80::A8BB:CCFF:FE00:101.
1d22h: ICMPv6: Sending echo request to FE80::A8BB:CCFF:FE00:101.
1d22h: ICMPv6: Sending echo request to FE80::A8BB:CCFF:FE00:101.
Success rate is 0 percent (0/5)
Router#ping ipv6
Target IPv6 address: FE80::A8BB:CCFF:FE00:101
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands? [no]:
Sweep range of sizes? [no]:
Output Interface: ethernet1/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FE80::A8BB:CCFF:FE00:101, timeout is 2
seconds:
Packet sent with a source address of FE80::A8BB:CCFF:FE00:101
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/18/24 ms
Router#
1d22h: ICMPv6: Sending echo request to FE80::A8BB:CCFF:FE00:101
1d22h: ICMPv6: Received ICMPv6 packet from FE80::A8BB:CCFF:FE00:101, type 128

- --
=========
bep

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEeqGHE1XcgMgrtyYRAlPnAKCtPeiPuKBSfSVZDCsA3qdMyI6LswCZAdLX
gIjDJPgV/cU/lJ5rsysUhC4=
=BJFY
-----END PGP SIGNATURE-----


More information about the cisco-nsp mailing list