Friday, March 6, 2020

Next Generation Internet Protocol(IPv6)


Next Generation Internet Protocol 
IPv6 is a future of network because IPv6 is very fast and secure. Do you know..?
340,282,366,920,938,463,463,374,607,431,768,211,456 address are available in IPv6.


The Internet Engineering Task Force is an open standards organization, which develops and promotes voluntary Internet standards, in particular the standards that comprise the Internet protocol suite. It has no formal membership roster or membership requirements.

Some more information about...

The Regional Internet Registry is an organization that manages the allocation and registration of internet number resources world wide. It has evolved over time to divide the world into five areas, or RIRs.

AfriNIC - African Network Information Centre
ARIN - American Registry for Internet Numbers
APNIC - Asia-Pacific Network Information Centre
LACNIC - Latin America and Caribbean Network Information Centre
RIPE NCC - Réseaux IP Européens Network Coordination Centre

IPv6 addressing - IPv6 is a 128 bit logical address.
0000:0000:0000:0000:0000:0000:0000:0000
Each part is divide 16 bit
16bit:16bit:16bit:16bit:16bit:16bit:16bit:16bit

NDP(Neighbor Discovery Protocol)- NDP is part of Data link Layer (RFC1122) and this protocol is responsibly for gathering information for local and internet  communication, in neighbor discovery are five type of message.

1- Router Solicitation(ICMP Type 133)
2- Router Advertisement(ICMP Type 134)
3- Neighbor Solicitation(ICMP Type 135)
4- Neighbor Advertisement(ICMP Type 136)
5- Redirect(ICMP Type 137)

IPv6 is completely based on hexadecimal number. Lets start counting in hexadecimal number.
0D1 to 0D100
0H1 to 0H64

01
0B
15
1F
29
33
3D
47
51
5B
02
0C
16
20
2A
34
3E
48
52
5C
03
0D
17
21
2B
35
3F
49
53
5D
04
0E
18
22
2C
36
40
4A
54
5E
05
0F
19
23
2D
37
41
4B
55
5F
06
10
1A
24
2E
38
42
4C
56
60
07
11
1B
25
2F
39
43
4D
57
61
08
12
1C
26
30
3A
44
4E
58
62
09
13
1D
27
31
3B
45
4F
59
63
0A
14
1E
28
32
3C
46
50
5A
64

Now working with IPv6

Rule 1 allows you to remove all the leading 0s in each individual hextet.

with Unspecified address(0000:0000:0000:0000:0000:0000:0000:0000/8)
Before Rule-0000:0000:0000:0000:0000:0000:0000:0000
After Rule-0:0:0:0:0:0:0:0

with Loopback Address(0000:0000:0000:0000:0000:0000:0000:0001/8)
Before Rule-0000:0000:0000:0000:0000:0000:0000:0001
After Rule-0:0:0:0:0:0:0:1

with Global Unicast Address(2000:0000:0000:0000:0000:0000:0000:0000/3)
Before Rule-2001:00FE:ACAD:2013:0000:0000:00AA:0271
After Rule-2001:FE:ACAD:2013:0:0:AA:271

with Unique local Unicast Address(FC00:0000:0000:0000:0000:0000:0000:0000/7)
Before Rule-FC80:0000:0000:ACAD:0000:0000:0000:0001
After Rule-FC80:0:0:ACAD:0:0:0:1

with Link-local Address(FE80:0000:0000:0000:0000:0000:0000:0000/10)
Before Rule-FE80:ACAD:0000:0197:0000:0000:0000:FF01
After Rule-FE80:ACAD:0:197:0:0:0:FF01

with Multicast Address(FF00:0000:0000:0000:0000:0000:0000:0000/8)
Before Rule-FF00:0000:0000:ACAD:0000:0000:FE00:0721
After Rule-FF00:0:0:ACAD:0:0:FE00:721

Rule 2 uses a double colon :: to represent a single contiguous set of all zero hextexts. It can
only be used once in any IPv6 address.

with Unspecified address(0000:0000:0000:0000:0000:0000:0000:0000/8)
Before Rule-0000:0000:0000:0000:0000:0000:0000:0000
After Rule-::

with Loopback Address(0000:0000:0000:0000:0000:0000:0000:0001/8)
Before Rule-0000:0000:0000:0000:0000:0000:0000:0001
After Rule-::0001

with Global Unicast Address(2000:0000:0000:0000:0000:0000:0000:0000/3)
Before Rule-2001:00FE:ACAD:2013:0000:0000:00AA:0271
After Rule-2001:00FE:ACAD:2013::00AA:0271

with Unique local Unicast Address(FC00:0000:0000:0000:0000:0000:0000:0000/7)
Before Rule-FC80:0000:0000:ACAD:0000:0000:0000:0001
After Rule-FC80:0000:0000:ACAD::0001

with Link-local Address(FE80:0000:0000:0000:0000:0000:0000:0000/10)
Before Rule-FE80:ACAD:0000:0197:0000:0000:0000:FF01
After Rule-FE80:ACAD:0000:0197::FF01

with Multicast Address(FF00:0000:0000:0000:0000:0000:0000:0000/8)
Before Rule-FF00:0000:0000:ACAD:0000:0000:FE00:0721
After Rule-FF00:0000:0000:ACAD::FE00:0721 or FF00::ACAD:0000:0000:FE00:0721 

Rule 3- To reduce the size of IPv6 address even more you can combine Rule 1 with Rule 2.

with Unspecified address(0000:0000:0000:0000:0000:0000:0000:0000/8)
Before Rule-0000:0000:0000:0000:0000:0000:0000:0000
After Rule-::

with Loopback Address(0000:0000:0000:0000:0000:0000:0000:0001/8)
Before Rule-0000:0000:0000:0000:0000:0000:0000:0001
After Rule-::1

with Global Unicast Address(2000:0000:0000:0000:0000:0000:0000:0000/3)
Before Rule-2001:00FE:ACAD:2013:0000:0000:00AA:0271
After Rule-2001:FE:ACAD:2013::AA:271

with Unique local Unicast Address(FC00:0000:0000:0000:0000:0000:0000:0000/7)
Before Rule-FC80:0000:0000:ACAD:0000:0000:0000:0001
After Rule-FC80:0:0:ACAD::1

with Link-local Address(FE80:0000:0000:0000:0000:0000:0000:0000/10)
Before Rule-FE80:ACAD:0000:0197:0000:0000:0000:FF01
After Rule-FE80:ACAD:0:197::FF01

with Multicast Address(FF00:0000:0000:0000:0000:0000:0000:0000/8)
Before Rule-FF00:0000:0000:ACAD:0000:0000:FE00:0721
After Rule-FF00:0:0:ACAD::FE00:721 or FF00::ACAD:0:0:FE00:721


Network Prefix-This is assigned by the ISP to a customer or site. The Global Routing Prefix is determined by the prefix-length notation. (example /48 or /64).

Subnet ID-This is similar to the subnet portion of an IPv4 address. The difference is in IPv4 the subnet is borrowed from the host portion of the address.In IPv6 the Subnet ID is a separate field (/48 to /64) and not necessarily part of the Interface ID.

Host ID-The Interface ID uniquely identifies a interface on the local subnet.

Nibble Boundary Subnets
Prefix
# of /64 subnets
/48
65,536
/52
4096
/56
256
/60
16
/64
1
0000:0000:0000:0000:0000:0000:0000:0000
:-/48
0-/52
0-/56
0-/60
0-/64
Subnets Based on Individual Binary Bits
Prefix subnets
# of /64
/48
65,536
/49
32,768
/50
16,384
/51
8,192
/52
4096
/53
2,048
/54
1,024
/55
512
/56
256
/57
128
/58
64
/59
32
/60
16
/61
8
/62
4
/63
2
/64
1
0000:0000:0000:0000:0000:0000:0000:0000
0000 0000 0000 0000/-48
0000 0000 0000 0000/-49
0000 0000 0000 0000/-50
0000000 0000 0000/-51
0000 0000 0000 0000/-52
0000 0000 0000 0000/-53
0000 0000 0000 0000/-54
0000 0000000 0000/-55
0000 0000 0000 0000/-56
0000 0000 0000 0000/-57
0000 0000 0000 0000/-58
0000 0000 0000000/-59
0000 0000 0000 0000/-60
0000 0000 0000 0000/-61
0000 0000 0000 0000/-62
0000 0000 0000 0000/-63
0000 0000 0000 0000/-64

Let's Subnetting with IPv6

Your ISP assigned an address 2001:ACAD:1234::/48 
2001:ACAD:1234:0001:0000:0000:0000/64  1st Subnet
2001:ACAD:1234:0002:0000:0000:0000/64  2st Subnet
2001:ACAD:1234:0003:0000:0000:0000/64  3st Subnet
2001:ACAD:1234:0004:0000:0000:0000/64  4st Subnet
2001:ACAD:1234:0005:0000:0000:0000/64  5st Subnet
2001:ACAD:1234:0006:0000:0000:0000/64  6st Subnet
2001:ACAD:1234:0007:0000:0000:0000/64  7st Subnet
2001:ACAD:1234:0008:0000:0000:0000/64  8st Subnet
2001:ACAD:1234:0009:0000:0000:0000/64  9st Subnet
2001:ACAD:1234:000A:0000:0000:0000/64  10st Subnet
2001:ACAD:1234:000B:0000:0000:0000/64  11st Subnet
2001:ACAD:1234:000C:0000:0000:0000/64  12st Subnet

(Lots of subnets omitted for space.)

2001:ACAD:1234:FFFC:0000:0000:0000/64  65,533st Subnet
2001:ACAD:1234:FFFD:0000:0000:0000/64  65,534st Subnet
2001:ACAD:1234:FFFE:0000:0000:0000/64  65,535st Subnet
2001:ACAD:1234:FFFF:0000:0000:0000/64  65,536st Subnet


Your ISP assigned an address 2001:ACAD:1234:1200:/56
2001:ACAD:1234:1201:0000:0000:0000:0000/64 1st Subnet
2001:ACAD:1234:1202:0000:0000:0000:0000/64 2st Subnet
2001:ACAD:1234:1203:0000:0000:0000:0000/64 3st Subnet
2001:ACAD:1234:1204:0000:0000:0000:0000/64 4st Subnet
2001:ACAD:1234:1205:0000:0000:0000:0000/64 5st Subnet
2001:ACAD:1234:1206:0000:0000:0000:0000/64 6st Subnet
2001:ACAD:1234:1207:0000:0000:0000:0000/64 7st Subnet

(Lots of subnets omitted for space.)

2001:ACAD:1234:12FB:0000:0000:0000:0000/64 252st Subnet
2001:ACAD:1234:12FC:0000:0000:0000:0000/64 253st Subnet
2001:ACAD:1234:12ED:0000:0000:0000:0000/64 254st Subnet
2001:ACAD:1234:12FE:0000:0000:0000:0000/64 255st Subnet
2001:ACAD:1234:12FF:0000:0000:0000:0000/64 256st Subnet

Developing an Address Plan(or IPv6 Subnetting in the Real World)


Infrastructure Site ID: 2000:FE23:0054::/52(ISP)

Central Office Site ID: 2000:FE23:0054:1000::/52

Infrastructure Sub-Site ID: 2000:FE23:0054:1000::/56
Managers Sub-Site ID: 2000:FE23:0054:1100::/56
Registers Sub-Site ID: 2000:FE23:0054:1200::/56
Wireless Sub-Site ID: 2000:FE23:0054:1300::/56

Store 1 Site ID: 2000:FE23:0054:2000::/52

Infrastructure Sub-Site ID: 2000:FE23:0054:2000::/56
Managers Sub-Site ID: 2000:FE23:0054:2100::/56
Registers Sub-Site ID: 2000:FE23:0054:2200::/56
Wireless Sub-Site ID: 2000:FE23:0054:2300::/56

Store 2 Site ID: 2000:FE23:0054:3000::/52

Infrastructure Sub-Site ID: 2000:FE23:0054:3000::/56
Managers Sub-Site ID: 2000:FE23:0054:3100::/56
Registers Sub-Site ID: 2000:FE23:0054:3200::/56
Wireless Sub-Site ID: 2000:FE23:0054:3300::/56

Store 3 Site ID: 2000:FE23:0054:4000::/52

Infrastructure Sub-Site ID: 2000:FE23:0054:4000::/56
Managers Sub-Site ID: 2000:FE23:0054:4100::/56
Registers Sub-Site ID: 2000:FE23:0054:4200::/56
Wireless Sub-Site ID: 2000:FE23:0054:4300::/56

Now UConfigIt
ISP Address: 2000:ACAD:1145::/48

Infrastructure Site ID:2000:ACAD:1145::/48

Office A Site ID: 2000:ACAD:1145:1000::/52
       Infrastructure Sub-Site ID: 2000:ACAD:1145:1000::/56
       Management Sub-Site ID: 2000:ACAD:1145:1100::/56
             Administration Sub-Site ID: 2000:ACAD:1145:1100::/60
             Finance Sub-Site ID: 2000:ACAD:1145:1110::/60
       Wireless Access Sub-Site ID: 2000:ACAD:1145:1200::/56
             Guest Access Sub-Site ID: 2000:ACAD:1145:1200::/60
             Marketing Sub-Site ID: 2000:ACAD:1145:1210::/60

Office B Site ID: 2000:ACAD:1145:2000::/52
       Infrastructure Sub-Site ID: 2000:ACAD:1145:2000::/56
       Management Sub-Site ID: 2000:ACAD:1145:2100::/56
             Administration Sub-Site ID: 2000:ACAD:1145:2100::/60
       Production Sub-Site ID: 2000:ACAD:1145:2200::/56
             Administration Sub-Site ID: 2000:ACAD:1145:2200::/60
             Bookkeeping Sub-Site ID: 2000:ACAD:1145:2210::/60
       Wireless Access Sub-Site ID: 2000:ACAD:1145:2300::/56
             Guest Access Sub-Site ID: 2000:ACAD:1145:2300::/60

Thanks 
Himanshu

1 comment: