LinuxQuestions.org
Help answer threads with 0 replies.
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 08-06-2014, 04:16 PM   #1
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Rep: Reputation: Disabled
IPv6 "link-local" fe80:: vs "unique local address (ULA)" fc00:: + fd00::


so i've been accessing all my Linux machines from both Windows, Macs, and Android devices using IPv6, and up till now i've just used the link-local addresses to connect. I've recently learned about the ULA address ranges. Is there a functional difference between connecting to/from local LAN devices via one way or the other?

Last edited by psycroptic; 08-06-2014 at 04:17 PM.
 
Old 08-06-2014, 04:44 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,338

Rep: Reputation: Disabled
Unique Local Addresses can be routed, while link-local addresses can not (as the IPv6 network in which they belong exists on all interfaces simultaneously).

Addresses in the Unique Local Address range must be manually assigned, while link-local addresses are generated automatically.

A Unique Local Address (if assigned) has no special significance, while a link-local address must exist on each IPv6-enabled interface as these addresses play a crucial role in providing core IPv6 services (such as Neighbor Discovery).

Last edited by Ser Olmy; 08-06-2014 at 04:53 PM.
 
Old 08-06-2014, 04:58 PM   #3
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Original Poster
Rep: Reputation: Disabled
i see. so ULA addresses can be added with just "ip -6 addr add" correct? and i can subnet them with prefixes just as global addresses?
 
Old 08-06-2014, 05:19 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,338

Rep: Reputation: Disabled
Exactly.

The "unique" part of a ULA is actually meant to be globally unique. Since there's no central authority for allocating prefixes (as that's sort of the whole point of locally assigned addresses), RFC 4193 specifies a pseudo-random algorithm to be used for generating the lower 40 bits of the 48 bit prefix (the upper 8 bits being fc00::/7 plus the "L" bit, giving fd00::/8). The result will be a "reasonably unique" local 48-bit ID.

The fc00::/8 block (fc00::/7 with the "L" bit unset) is currently unused and a mechanism for allocating addresses from this block "may be defined later" (again quoting RFC 4193). In other words, don't use addresses from that block (yet).
 
Old 08-07-2014, 12:51 AM   #5
psycroptic
Member
 
Registered: Aug 2011
Location: USA
Distribution: ArchLinux - 3.0 kernel
Posts: 349

Original Poster
Rep: Reputation: Disabled
great info/RFC link. thanks.
 
  


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
ubuntu 10.04 / only arp reply on "local link" reaping Linux - Networking 3 12-09-2010 10:15 AM
unique password for "update" and "synaptic" and "apt-get" SaintDanBert Linux - Security 1 09-17-2010 04:53 AM
[SOLVED] What is the "link-local" field in /etc/networks? charlweed Linux - Networking 1 08-21-2009 04:13 PM
difference between "Web server local URL" and "IPv4 address"? kpachopoulos Linux - General 2 09-17-2004 01:30 PM
Assigning "unique name" to "Extraversion" when upgrading Kernal MatthewASmith79 Linux - Newbie 5 08-26-2004 08:31 AM

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

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