The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
"inappropriate ioctl for device" 421 service not available, remote server has closed connection ^m ascii eof autosys awk trim bash eval bash exec bash for loop bash subroutine boot: cannot open kernel/sparcv9/unix close_wait curses.h dead.letter find grep grep multiple lines grep or grep recursive grep unique inappropriate ioctl for device logrotate.conf lynx javascript mailx attachment make: fatal error: command failed for target `all-recursive' mget mtime perl array length ping port read awk output into multiple variables replace space by comma , perl script scp recursive segmentation fault(coredump) sftp batch sftp script snoop unix stale nfs file handle syn_sent tar exclude unix unix .profile unix com unix for loop unix forum unix forums unix interview questions unix memory usage unix mtime unix simulator unix.com while loop within while loop shell script

View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 05-09-2008
mahtin's Avatar
mahtin mahtin is offline
Registered User
 

Join Date: May 2008
Posts: 1
Quote:
Originally Posted by Sunnz View Post
I guess I am wondering how should a private network for IPv6 to set up...
Two choices. The first being wasteful. Use allocated space; however, don't announce it to the Internet. Not a briliant idea; however quite doable. Keep in mind that IPv6 space is quite large; yet it's been setup as follows:

http://www.iana.org/assignments/ipv6-address-space

Code:
IPv6 Prefix           Allocation              Reference      Note
-----------           ----------              ---------      ----
0000::/8              Reserved by IETF        [RFC4291]      [1] [5] 
0100::/8              Reserved by IETF        [RFC4291]
0200::/7              Reserved by IETF        [RFC4048]      [2]
0400::/6              Reserved by IETF        [RFC4291]
0800::/5              Reserved by IETF        [RFC4291]
1000::/4              Reserved by IETF        [RFC4291]
2000::/3              Global Unicast          [RFC4291]      [3]
4000::/3              Reserved by IETF        [RFC4291]
6000::/3              Reserved by IETF        [RFC4291]
8000::/3              Reserved by IETF        [RFC4291]
A000::/3              Reserved by IETF        [RFC4291]
C000::/3              Reserved by IETF        [RFC4291]
E000::/4              Reserved by IETF        [RFC4291]
F000::/5              Reserved by IETF        [RFC4291]
F800::/6              Reserved by IETF        [RFC4291]
FC00::/7              Unique Local Unicast    [RFC4193]
FE00::/9              Reserved by IETF        [RFC4291]
FE80::/10             Link Local Unicast      [RFC4291]
FEC0::/10             Reserved by IETF        [RFC3879]      [4]
FF00::/8              Multicast               [RFC4291]
What you saw with your local addresess was from the Fe80::/10 space. If you setup a new network and enable IPv6 on those interfaces, then you will get new addresses (unique addesses) within that space. It's not going to route to the Internet and in fact it's only going to be on that segment.

Look at joe-random-cisco-box:

Code:
!
interface FastEthernet0/0
 ...
 ipv6 address 2001:470:####:####::/64 eui-64
 ipv6 enable
 ...
!
In that example; the interface has an IPv6 address that's routable. If you remove the "ipv6 address" line; then you get an interface with just a link local address.

Same goes on Linux/Unix. (With different commands).

Code:
$ ifconfig eth0
eth0    Link encap:Ethernet  HWaddr 00:14:D1:13:7F:33
          ...
          inet6 addr: fe80::214:d1ff:fe13:7f33/64 Scope:Link
          ...
$
It's just not as pretty as 10.0.0.0 yet it's your local private unrouted verfy own network!

BTW: I can't help but plug http://www.tunnelbroker.net/ as I work for Hurricane Electric. Bring up another machine (in 5 mins) running IPv6 that will be "somewhere else" in IPv6 address space and then you can communicate between your sites vs. ping6'ing google. :-)

Enjoy,

Martin
Reply With Quote