solarisjunkie
asked on
IPv6 Addressing
am new to the IPv6 addressing schema though I have a thorough understanding of IPv4. I am currently trying to put an addressing plan together for the current equipment I have on the IPv4 based on a range I'm given for IPv6. My difficulty is how to address the equipment based on the IPv6 range. Ex: If given an IPv4 range of 192.168.1.0/24 I know I can address the equipment as such: 192.168.1.1, 198.168.1.2, 198.168.1.3.....198.168.1. 254. but how do i perform the same function given an IPv6 address of say: 4FDE:0000:0000:0002::/64 given a range of 4FDE:0000:0000:0002:0000:0 000:0000:0 000 - 4FDE:0000:0000:0002:ffff:f fff:ffff:f fff. Can I set it up similiar to IPv4 i.e. 4FDE:0000:0000:0002:0000:0 000:0000:0 001, 4FDE:0000:0000:0002:0000:0 000:0000:0 002, 4FDE:0000:0000:0002:0000:0 000:0000:0 003, 4FDE:0000:0000:0002:0000:0 000:0000:0 100, 4FDE:0000:0000:0002:0000:0 000:0000:0 254 or is there another way to go about this.
Generally you would want to use autoconfig which generates the host portion of the /64 address from the host mac-address.
I would also recommend using autoconfig. Although IPv6 may seem complex at this point, it is intended to be easier to maintain than IPv4.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'm trying to address VLAN's with IPv6 addressing keeping certain addresses associated to specific equipment as in IPv4 i.e router = .1 switch = .2 dnsserver = .40 and was wondering how can I keep that same consistency for IPv6. Thanks much for the article as I'm reading up on autoconfiguration. My last question is I do understand that IPv6 is in hex so i would have to address it as such 0001 - 0009 then 000a, 000b, 000c, 000d, 000e, 000f then 0010, 0011, 0012, 0013,0014,0015,0016, 0017, 0018,0019,001a,001b,001c,0 01d,001e,0 01f,0020,0 021....etc . Am I right as far as the addressing here?
ASKER
So when I address the hosts portion not choosing to do it via autoconfiguration can it be as such as IPv6 is in Hex
4FDE:0000:0000:FFFF:0000:0 000:0000:0 001
4FDE:0000:0000:FFFF:0000:0 000:0000:0 002
.
.
4FDE:0000:0000:FFFF:0000:0 000:0000:0 009
4FDE:0000:0000:FFFF:0000:0 000:0000:0 00a
4FDE:0000:0000:FFFF:0000:0 000:0000:0 00f
4FDE:0000:0000:FFFF:0000:0 000:0000:0 010
4FDE:0000:0000:FFFF:0000:0 000:0000:0 011
.
.
.
4FDE:0000:0000:FFFF:0000:0 000:0000:0 01a
.
.
.
4FDE:0000:0000:FFFF:0000:0 000:0000:0 01f
4FDE:0000:0000:FFFF:0000:0 000:0000:0 020
4FDE:0000:0000:FFFF:0000:0
4FDE:0000:0000:FFFF:0000:0
.
.
4FDE:0000:0000:FFFF:0000:0
4FDE:0000:0000:FFFF:0000:0
4FDE:0000:0000:FFFF:0000:0
4FDE:0000:0000:FFFF:0000:0
4FDE:0000:0000:FFFF:0000:0
.
.
.
4FDE:0000:0000:FFFF:0000:0
.
.
.
4FDE:0000:0000:FFFF:0000:0
4FDE:0000:0000:FFFF:0000:0
ASKER
So when I address the hosts portion not choosing to do it via autoconfiguration can it be as such as IPv6 is in Hex
4FDE:0000:0000:FFFF:0000:0 000:0000:0 001
4FDE:0000:0000:FFFF:0000:0 000:0000:0 002
.
.
4FDE:0000:0000:FFFF:0000:0 000:0000:0 009
4FDE:0000:0000:FFFF:0000:0 000:0000:0 00a
4FDE:0000:0000:FFFF:0000:0 000:0000:0 00f
4FDE:0000:0000:FFFF:0000:0 000:0000:0 010
4FDE:0000:0000:FFFF:0000:0 000:0000:0 011
.
.
.
4FDE:0000:0000:FFFF:0000:0 000:0000:0 01a
.
.
.
4FDE:0000:0000:FFFF:0000:0 000:0000:0 01f
4FDE:0000:0000:FFFF:0000:0 000:0000:0 020
4FDE:0000:0000:FFFF:0000:0
4FDE:0000:0000:FFFF:0000:0
.
.
4FDE:0000:0000:FFFF:0000:0
4FDE:0000:0000:FFFF:0000:0
4FDE:0000:0000:FFFF:0000:0
4FDE:0000:0000:FFFF:0000:0
4FDE:0000:0000:FFFF:0000:0
.
.
.
4FDE:0000:0000:FFFF:0000:0
.
.
.
4FDE:0000:0000:FFFF:0000:0
4FDE:0000:0000:FFFF:0000:0
You can still do autoconfiguration on the /64 subnets.
Part one of the equation is figuring out how to allocate your /64s by using the subnetting shown above, then setting up the RAs on each subnet to advertise the proper network prefix. You can then choose to autoconfigure (SLAAC) or you can set the Managed and/or Option bits in the RA to use stateless or stateful DHCPv6.
Part one of the equation is figuring out how to allocate your /64s by using the subnetting shown above, then setting up the RAs on each subnet to advertise the proper network prefix. You can then choose to autoconfigure (SLAAC) or you can set the Managed and/or Option bits in the RA to use stateless or stateful DHCPv6.
http://en.wikipedia.org/wiki/IPv6#Stateless_address_autoconfiguration_.28SLAAC.29
Otherwise, the way you have posted will work, but the whole genius of IPV6 is that the network might change but the local part of the address is always tied to the MAC so it will not change.