The UNIX Forums  



Go Back   The UNIX Forums > Special Forums > IP Networking
Home Forums Register Rules & FAQDonate Members List Search Today's Posts Mark Forums Read

IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.

Reply
 
Submit Tools Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 1 Week Ago
Registered User
 
Join Date: May 2008
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Does IPv6 work in a LAN environment?

So I have been introduced about IPv6 at school. (In fact one of our assignment is to do a IPv4 to IPv6 proxy in the labs.)

Unfortunately there are currently no ISP in my country that offers IPv6. However I guess I am just geeky enough that I like to set up an IPv6 in my LAN to "play" around with... like ssh from other machines and using my internal web pages via IPv6.

So I am wondering how does it work, or does it work at all in a LAN? From what I have read from Google, the address space for IPv6 is so large that you simply don't need NAT anymore, and many tutorials and how-to's basically teach you how to get a free IPv6 over IPv4 tunneuling and basically just use whatever IP you get from the service...

What I like to know is, is it at all possible to set up a private IPv6 network that doesn't connect to the Internet? It looks like its got self-assigned address too and doesn't need DHCP...

Basically I am not sure where to start if I want an internal IPv6 network to play with.

Thanks.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 1 Week Ago
andryk's Avatar
Registered User
 
Join Date: Sep 2003
Posts: 425
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Hi,
Of course YOU CAN set up a private IPv6 on LAN, i just did that 8 years ago at college!!! IPv6 address on each of your host may just be derivated/built with the IPv4 address... (not sure though its been long since ) Make sure to test your config with IPv6 aware application (ping6 etc ...)
Reply With Quote
  #3 (permalink)  
Old 1 Week Ago
Registered User
 
Join Date: May 2008
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Yes I have play with setting up IPv6 in the labs, to the point where I can start surfing ipv6.google.com, and of course we tried out stuff like ping6 and traceroute6.

The labs however, all have "public" IPv6 address, there was no NAT, all the packets are just route straight to the net and straignt back via routers/gateways.

I guess I am wondering how should a private network for IPv6 to set up... you know on IPv4 there are special address space reserved for private use, 10.0.0.0/8 for e.g... I am not aware of such thing for IPv6, so does that mean you just use random IPv6 address for IPv6? By random I mean, set up your own rule, map to existing IPv4 ip range or something, just not some specific thing like 10.0.0.0/8.
Reply With Quote
  #4 (permalink)  
Old 1 Week Ago
mahtin's Avatar
Registered User
 
Join Date: May 2008
Posts: 1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
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
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ipv6 routing vikasmca05 Linux 1 03-25-2008 07:30 AM
ipv6 on a linux box sunittaneja Linux 3 03-25-2008 07:26 AM
IPv6 on Solaris 10 kolec IP Networking 1 04-19-2006 09:22 AM
IPv6 testbed unknown2205 IP Networking 2 12-06-2005 12:33 AM
Solaris IPv6 s_aamir IP Networking 4 03-12-2002 12:39 AM


web tracker

All times are GMT -5. The time now is 07:52 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
UNIX Forum Content Copyright ©1993-2008 SilkRoad Asia All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93