LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2013, 11:09 PM   #1
jzoudavy
Member
 
Registered: Apr 2012
Distribution: Ubuntu, SUSE, Redhat
Posts: 188

Rep: Reputation: Disabled
ipv6 question on pinging link local address


hey guys

ok, i got this custom built/modified suse linux setup, and it has this ip interface with an ipv6 link local address and a ipv6 application address (addressing used by other applications.)

eth0 inet6 fe80::6:ff:fe00:2%i6dd2 prefixlen 64 scopeid 0xb
inet6 2001:1b70:4292:8225::5 prefixlen 128
>

> ping6 2001:1b70:4292:8225::5
PING6(56=40+8+8 bytes) 2001:1b70:4292:8225::5 --> 2001:1b70:4292:8225::5
16 bytes from 2001:1b70:4292:8225::5, icmp_seq=0 hlim=64 time=0.279 ms
16 bytes from 2001:1b70:4292:8225::5, icmp_seq=1 hlim=64 time=0.334 ms
^C

--- 2001:1b70:4292:8225::5 ping6 statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 0.279/0.306/0.334/0.028 ms
> ping6 fe80::6:ff:fe00:2
UDP connect

as you can see, if I ping the 2001---5 it works, but link local just gives me UDP connect. So i don't know what's wrong with it. whether it is working or not.

thanks guys
 
Old 07-24-2013, 06:15 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
Try adding the -I eth0 parameter. ping6 fe80::6:ff:fe00:2%0xb may also work.

Link-local addresses have a limited scope, which means they are only visible in a certain context. That's how it's possible to have a link-local address on every interface although technically, the addresses all belong in the same subnet.

However, I have no idea why ping6 would return "UDP connect" when you try to ping the link-local address without a scope identifier. The version of ping6 on my system simply returns "unknown host".
 
Old 07-25-2013, 12:42 PM   #3
jzoudavy
Member
 
Registered: Apr 2012
Distribution: Ubuntu, SUSE, Redhat
Posts: 188

Original Poster
Rep: Reputation: Disabled
hi ser olmy

thanks for the clarification, you are right, if i include -i ping works.

davy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How could I establish an connection with a ipv6 link-local address? chenroke Linux - Networking 1 07-03-2012 03:19 PM
ipv6 local link address s_hcl Linux - Networking 1 03-29-2012 04:07 AM
Double Local Link (Scope:Link) IPv6 address on one interface BernardLinux Linux - Networking 0 09-08-2011 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:18 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