[c-nsp] ping ipv6 question
Hank Nussbacher
hank at efes.iucc.ac.il
Mon May 29 11:52:47 EDT 2006
At 12:23 AM 29-05-06 -0700, Bruce Pinsky wrote:
>-----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.
Why do other IOS versions still use "source address or interface" for IPV6
and only 12.2SXE train uses "output interface" syntax? And only for pingv6
- traceroute ipv6 still asks for "source address".
Hmmmm.
-Hank
> 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-----
>
> +++++++++++++++++++++++++++++++++++++++++++
> This Mail Was Scanned By Mail-seCure System
> at the Tel-Aviv University CC.
More information about the cisco-nsp
mailing list