Sponsored Content
Special Forums IP Networking Does IPv6 work in a LAN environment? Post 302193585 by mahtin on Friday 9th of May 2008 09:46:16 PM
Old 05-09-2008
Quote:
Originally Posted by Sunnz
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
 

9 More Discussions You Might Find Interesting

1. IP Networking

Solaris IPv6

Hi, Anybody who worked with IPv6 on Solaris 8. I want to get rid of IPv6 (Uninstall). Any comments ...ideas...will be highly appreciated. (4 Replies)
Discussion started by: s_aamir
4 Replies

2. UNIX for Dummies Questions & Answers

Script doesn't work, but commands inside work

Howdie everyone... I have a shell script RemoveFiles.sh Inside this file, it only has two commands as below: rm -f ../../reportToday/temp/* rm -f ../../report/* My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies

3. Solaris

How to configure private LAN and coporate LAN on the same machine-Solaris10

Hi , I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10. How can I achieve this? Thanks (1 Reply)
Discussion started by: deedee
1 Replies

4. Shell Programming and Scripting

common UNIX script which is to work in HP and SUN environment

I have two different UNIX scripts for updating Co-ordinate points which are working fine seperately in HP and SUN environments. But I am trying to write a common UNIX script which is to work in HP and SUN environment. The following are the scripts i am using SUN: #!/bin/ksh info () {... (6 Replies)
Discussion started by: ramkumar2yk
6 Replies

5. IP Networking

Local Lan, no-ip directed DNS forward, surf within lan

Hi, We have a website running on a local centos 5.4 surfer, static IP. The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server. My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine. However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies

6. Red Hat

Different hostnames with reboot while lan cable, no lan cable

I am facing strange problem regarding hostname on my Linux(2.6.18-164.el5xen x86_64 GNU/Linux), the hostname changes if reboot with lan cable and with NO lan cable Reboot with lan cable: The hostname is ubunut Unable to connect Oracle database using sqlplus some times database is not... (2 Replies)
Discussion started by: LinuxLearner
2 Replies

7. Shell Programming and Scripting

My script work on Linux but not work in sunos.

My script work on Linux but not work in sun os. my script. logFiles="sentLog1.log sentLog2.log" intial_time="0 0" logLocation="/usr/local/tomcat/logs/" sleepTime=600 failMessage=":: $(tput bold)Log not update$(tput rmso) = " successMessage="OK" arr=($logFiles)... (7 Replies)
Discussion started by: ooilinlove
7 Replies

8. IP Networking

Discussion at work, would a router work pluging a cable in wan1 and lan1?

hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view situation a router, with linux of some sort, dhcp client requesting for ip in wan1 (as usual with wan ports) dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies

9. UNIX for Dummies Questions & Answers

Assigning ipv6 to bonding interface - getting old as well as changed ipv6 in ifconfig output

Hi, I have created a bonding bond1 interface with 6 Eth , mode=4. Recently i have changed my old ipv6 to new one and tried to restart as well as reload network service. Post which i can see old as well as changed ipv6 in ifconfig command output. Below are few files and command output for your... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies
All times are GMT -4. The time now is 09:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy