Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What do you mean by 'generated automatically'? You can assign an IPv6 address just like you assign an IPv4 one, dynamically using DHCP server that's configured to hand out IPv6 addresses or manually in the configuration file. You can create a 'site global' range to use for your own. Have a look at this site for utilities to generate a range.
I don't know how to setup Tomcat to use IPv6 but I'm sure somebody will provide a link or information soon. To configure Red Hat, first enable IPv6 networking and then configure the IPv6 addresses in the ifcfg-ethX file(s) as needed. And yes IPv4 and IPv6 can co-exist. Just add:
By automatically assigned address , meant about the Local link addresses which is derived from the MAC address of the NIC card.
Regarding DHCPv6 ,i need to study the same ,as how to allocate a range of IPv6 addresses ,like we used to do it for Ipv4 ,say 192.168.1.2 to 192.168.1.55
From where can i get a Site global range of Ip addresses.
I had entered the code which u had mentioned in the ifcfg-eth0 file for manually entering the Ipv6 address . But for some reason it didnt show up ,even after i restarted the network service ,Hence i added it manually
I'm pretty new to IPv6 too and have had some issues with the link local (fe80) addresses. The can only be used for local link and the packets will not be forwarded by routers to other links. I got confused about that because the link local is a whole new concept. I've found this basic information very useful.
You can use the site I pointed to in my previous post to create a range of IPv6 addresses or click on this link which will have a configuration for IPv6 site local range I've used for a local testing network at work. IPv6 Site local range
Did you enable IPv6 networking in /etc/sysconfig/network before restarting the network service? I'm guessing not since it's not enable by default and if the IPv6 address didn't show up, that might be an indicator.
Excuse if i am being a Novice ,since Ipv6 has been there ,but need to use it for testing between Linux and Widnows
I could generate the hosts as mentioned in the link
But kindly let me know ,how do i pick up the address as mentioned below with the prefix length for generation..
FD88:3BE1:FEE4:8C5E::0/120
Prefix 120 ,means 128-120 = 8 ,that means i can use 8 bits for the host part ,fd88:3be1:fee4:8c5e:0:0:0:ff ,i.e the ff part which is mentioned ( 4+4 bits)
Start Range:
fd88:3be1:fee4:8c5e:0:0:0:0 End Range:
fd88:3be1:fee4:8c5e:0:0:0:ff No. of host: 256
That's correct. That would be your IPv6 addresses taking into account the hexadecimal numeration.
And as indicated in the documentation you can substitute any sequence of 0 by :: but only once in an address, so:
Code:
fd88:3be1:fee4:8c5e:0:0:0:1
is the same as:
Code:
fd88:3be1:fee4:8c5e::1
Kind regards,
Eric
Last edited by EricTRA; 03-29-2012 at 05:24 AM.
Reason: Alternative to long address
I suggest you to read the documentation about Site local addresses I pointed you too. That will make clear how to construct an IPv6 range for your network/company which you can use to communicate between devices on a IPv6 level. IPv6 address types and formats.
The ipv6 private address space is described as "fc00::/7".
So i needed to know how to we specify the ipv6 address-- fd88:3be1:fee4:8c5e:0:0:0:1 ,is there any tool to generate or specify the same .
Since in ipv4 we knew that the ranges were
10.0.0.0 to 10.255.255.255
172.16.0.0 to 172.31.255.255
192.168.0.0 to 192.168.255.255
So we could pick an address ,say 192.168.1.0 ,192.168.10.0 ......
So ,similarly ,for ipv6 PRivate Ip range is fc00::/7 , hence my query is how do i generate fd88:3be1:8c5e:.....Can i randomly put any numbers for the range of hexa decimals 0-9 ,A-F ,a-f .
Basically that's how you would do it, the important part is the first part of the address, the first 10 bits. The rest up to the last part can be used to 'separate' networks.
Quote:
After the 10 fixed bits is a 54-bit Subnet ID field that provides 54 bits with which you can create subnets within your organization. You can have a flat subnet structure, or you can divide the high order bits of the Subnet ID field to create a hierarchical and summarize able routing infrastructure. After the Subnet ID field is a 64-bit Interface ID field that identifies a specific interface on a subnet.
For AFAIK the ISP only will issue the global address ranges (2000::/3) and not the ones you can use for site local addresses.
Quote:
Global 2000::/3
These are assigned by the IANA and used on public networks. They are equivalent to IPv4 global (sometimes called public) addresses. ISPs summarize these to provide scalability in the Internet.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.