LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-04-2016, 02:33 PM   #1
Rtwo
LQ Newbie
 
Registered: May 2016
Posts: 12

Rep: Reputation: Disabled
How to ping IPv6 address in Linux?


Hi this is my network configuration. How to ping addresses from One device to another. I don't know the commands .they are connected point to point.

Firewall(config)# do show interfaces ip ipv6
NAME IPV6 ADDRESS
------------------------------------------
dummy0
fe-1-1
fdf9:bf8:cccc::1/48
fe80::20a:dcff:fefb:e8ff/64
fe-1-2
fdf9:bf8:dddd::1/48
fe80::20a:dcff:fefb:e8ff/64
fe-cm-1
fe80::20a:dcff:fefb:e8fd/64
switch.0001
fe80::20a:dcff:fefb:e8ff/64


Destination# show interfaces ip ipv6
NAME IPV6 ADDRESS
------------------------------------------
dummy0
fe-1-1
fe80::20a:dcff:feff:65ff/64
fe-cm-1
fe80::20a:dcff:feff:65fd/64
switch.0001
fdf9:bf8:dddd::2/48
fe80::20a:dcff:feff:65ff/64
 
Old 07-04-2016, 02:45 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,140

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
ping6 -I eth0 fe80::82ee:73ff:fe1a:d3df
PING fe80::82ee:73ff:fe1a:d3df(fe80::82ee:73ff:fe1a:d3df) from fe80::82ee:73ff:fe1a:d3df eth0: 56 data bytes
64 bytes from fe80::82ee:73ff:fe1a:d3df: icmp_seq=1 ttl=64 time=0.033 ms
64 bytes from fe80::82ee:73ff:fe1a:d3df: icmp_seq=2 ttl=64 time=0.045 ms
64 bytes from fe80::82ee:73ff:fe1a:d3df: icmp_seq=3 ttl=64 time=0.033 ms
^C
--- fe80::82ee:73ff:fe1a:d3df ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2922ms
rtt min/avg/max/mdev = 0.033/0.037/0.045/0.005 ms
 
Old 07-04-2016, 03:24 PM   #3
Rtwo
LQ Newbie
 
Registered: May 2016
Posts: 12

Original Poster
Rep: Reputation: Disabled
That didnt work.

This one worked

Destination# ping6 fdf9:bf8:dddd::1 iface fdf9:bf8:dddd::2
PING fdf9:bf8:dddd::1(fdf9:bf8:dddd::1) from fdf9:bf8:dddd::2 : 56 data bytes
64 bytes from fdf9:bf8:dddd::1: icmp_seq=1 ttl=64 time=1.87 ms
64 bytes from fdf9:bf8:dddd::1: icmp_seq=2 ttl=64 time=0.328 ms
64 bytes from fdf9:bf8:dddd::1: icmp_seq=3 ttl=64 time=0.334 ms
64 bytes from fdf9:bf8:dddd::1: icmp_seq=4 ttl=64 time=0.315 ms
64 bytes from fdf9:bf8:dddd::1: icmp_seq=5 ttl=64 time=0.326 ms
64 bytes from fdf9:bf8:dddd::1: icmp_seq=6 ttl=64 time=0.328 ms
64 bytes from fdf9:bf8:dddd::1: icmp_seq=7 ttl=64 time=0.342 ms
64 bytes from fdf9:bf8:dddd::1: icmp_seq=8 ttl=64 time=0.322 ms
64 bytes from fdf9:bf8:dddd::1: icmp_seq=9 ttl=64 time=0.329 ms



Destination# tcpdump interface ?
Description: The IP addresses for the routable interfaces in the global namespac
e.
Possible completions
dummy0 fe-1-1 fe-cm-1 switch.0001
Destination# tcpdump interface fe-1-1
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on fe-1-1, link-type EN10MB (Ethernet), capture size 262144 bytes
16:11:09.963381 IP6 fdf9:bf8:dddd::2 > fdf9:bf8:dddd::1: ICMP6, echo request, seq 81, length 64
16:11:09.963646 IP6 fdf9:bf8:dddd::1 > fdf9:bf8:dddd::2: ICMP6, echo reply, seq 81, length 64
16:11:10.963386 IP6 fdf9:bf8:dddd::2 > fdf9:bf8:dddd::1: ICMP6, echo request, seq 82, length 64
16:11:10.963658 IP6 fdf9:bf8:dddd::1 > fdf9:bf8:dddd::2: ICMP6, echo reply, seq 82, length 64
16:11:11.963535 IP6 fdf9:bf8:dddd::2 > fdf9:bf8:dddd::1: ICMP6, echo request, seq 83, length 64
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] have access to ipv6.google.com but not other ipv6 address superweijiafeng Linux - Networking 6 12-08-2014 02:28 PM
Cannot connect to ipv6 website with ipv6 address superweijiafeng Linux - Networking 3 07-08-2014 03:55 PM
unable to ping with ipv6 address gswapna Linux - Networking 3 05-09-2013 11:14 PM
I cannot ping with command 'ping IP' address but can ping with 'ping IP -I eth0' sanketmlad Linux - Networking 2 07-15-2011 05:32 AM
can you use PING for an IPv6 address? jrevier Linux - Newbie 3 12-07-2009 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration