LinuxQuestions.org
Visit Jeremy's Blog.
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:22 PM   #1
jzoudavy
Member
 
Registered: Apr 2012
Distribution: Ubuntu, SUSE, Redhat
Posts: 188

Rep: Reputation: Disabled
link local ipv6 question


hey guys

so consider a hypothetical question.

on one side of the ethernet cable is a custom build linux blade cluster, and one of the blades has an interface called eth0 and it has an ipv4 and ipv6 address.

on the other side of the ethernet cable is a quagga router with its interface called eth1, with ipv4 and ipv6 address.

the eth 0 and 1 are under a 192.168.1.0/30 subnet and pingable to each other.

the two ipv6 addresses in question are link local address so fe80...bla...bla.

now, on the blade cluster side, i have defined the ipv6 subnet as fe80::/64. which should cover just about everybody. but, when i try to ping, i get nothing.

quagga tells me i have invalid arguments
LinuxRouter# ping6 fe80::20c:29ff:fea9:bef2 --> this is eth1, quagga's own ipv6 link local
connect: Invalid argument

and the blade cluster just shows this
> ping6 fe80::20c:29ff:fe67:f588 --> this is eth0, by the way, blade cluster's own ipv6 link local
UDP connect

and when i try to get them to ping each other, I still only see UDP connect. nothing else.

can someone help me and point out whether
a) what i am doing should be possible?
b) if not, why not?

thanks guys
 
Old 07-24-2013, 05:56 AM   #2
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 997
Blog Entries: 15

Rep: Reputation: 136Reputation: 136
Hi, Link local addresses are only that : specific to the link.
Any address in the fe80:: prefix is automatically assigned to an interface and used for negotiating an actual address (Neighbour discovery etc). Routers will not forward any address of this type. The scope of link local addresses is the actual physical link.
When pinging a link local address, you have to specify which interface to ping it from because there are no routes for these adresses
Code:
LinuxRouter# ping6 fe80::20c:29ff:fea9:bef2%eth0
assuming eth0 is the interface from which you want the ping packet to go out.

I hope this is at least a bit clear.

Serafean

Just an FYI : the equivalent of your 192.168.1/30 subnet in IPv6 is called a Unique Local Address and is in the fd00:: prefix.
 
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 serafean,

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
[SOLVED] ipv6 question on pinging link local address jzoudavy Linux - Newbie 2 07-25-2013 12:42 PM
Double Local Link (Scope:Link) IPv6 address on one interface BernardLinux Linux - Networking 0 09-08-2011 03:43 AM
IPv6 Link Local Multicast wirelessman Programming 1 11-20-2002 12:32 AM
IPv6 Link Local Multicast wirelessman Linux - Networking 0 11-19-2002 04:55 PM

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

All times are GMT -5. The time now is 02:47 AM.

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