Ipv6 Examples Numericals

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

Ipv6 chargesheet table:

Examples

[a] Subnet 2001:db8::/32 into /36subnets

 Subnetting bits (x) = 36 – 32 = 4

 Thus total number of subnets=2^4=16

 From the table, the defining hexit should increment by 1 with discrete hex
values 0 – f.

 Thus our subnets are:

2001:db8:0000::/36

2001:db8:1000::/36

2001:db8:2000::/36

2001:db8:3000::/36

2001:db8:4000::/36

2001:db8:5000::/36

2001:db8:6000::/36
2001:db8:7000::/36

2001:db8:8000::/36

2001:db8:9000::/36

2001:db8:a000::/36

2001:db8:b000::/36

2001:db8:c000::/36

2001:db8:d000::/36

2001:db8:e000::/36

2001:db8:f000::/36

[b] As a small end site, you received the 2001:db8:c001:ba00::/56


assignment from your ISP, and you have 3 main office locations you
want to divide this block between. Find these 3 subnets.

 Number of subnets required = 3

 Subnetting bits (x) such that (2^x) >=3 hence x = 2 (this will actually
give us 4 subnets of equal prefix length).

 Also the new prefix length = 56+x=56+2=58

 From the table, the defining hexit should increment by 4 with discrete hex
values 0, 4, 8, c

 Thus our subnets are given below:


( note that 2001:db8:c001:ba isn’t changed in any subnet)

This is because we cannot change the bits upto /56 bits

i.e 2001:db8:c001:ba

i.e 16 bits+16 bits+16 bits+8 bits=56 bits

Subnets

2001:db8:c001:ba00::/58

2001:db8:c001:ba40::/58

2001:db8:c001:ba80::/58

2001:db8:c001:bac0::/58

[c] city link telecommunications has a global network prefix 2001:1818::/32. If it has to distribute 8
subnets for its branches, list out subnets and also find out new prefix length.

Given,

network address is 2001:1818::/32

subnets required= 8

no. of subnet bits(x) is such that 2^x >=8 hence x=3

Also the new prefix length of our subnets will be 35(32+3)

From the table, the defining hexit should increment by 2 with discrete hex
values 0, 2, 4,6, 8 , a, c, e

Thus our subnets are given below :( note that 2001:1818 isn’t changed in any
subnet)

This is because we cannot change the bits upto /32 bits


subnets

2001:1818:0000::/35

2001:1818:2000::/35

2001:1818:4000::/35

2001:1818:8000::/35

2001:1818:a000::/35

2001:1818:c000::/35

2001:1818:e000::/35

[d]. find the range of 2001:db8::/32

Range is 2001:db8:0000:0000:0000:0000:0000:0000 (first address)

To

2001:db8:ffff:ffff:ffff:ffff:ffff:ffff (last address)

[d]. find the range of 2001:db8::/42

Range is 2001:db8:0000:0000:0000:0000:0000:0000 (first address)

To

2001:db8: 003f: ffff: ffff: ffff: ffff: ffff(last address)

[e] find the first 4 /48 address block out of 2001:db8::/32??


Solution: subnetting bits= 48-32 =16

Total no. of subnets that can be obtained = 2^16

We are told to find first 4 /48 so do the following

Changes starts at the 48th bit

2001:0db8: 0000 0000 0000 0000


2001:0db8:0000::/48

2001:0db8: 0000 0000 0000 0001


2001:0db8:0001::/48

2001:0db8: 0000 0000 0000 0010


2001:0db8:0002::/48

2001:0db8: 0000 0000 0000 0011


2001:0db8:0003::/48

[e] find the first 6 /64 address block out of 2001:1:2::/32??

Solution: subnetting bits= 64-48 = 16

Total no. of subnets that can be obtained = 2^16

We are told to find first 6 /64 blocks so do the following


Changes starts at the 64th bit

2001:0001:0002: 0000 0000 0000 0000


2001:0001:0002:0000::/64

2001:0001:0002: 0000 0000 0000 0001


2001:0001:0002:0001::/48

2001:0001:0002: 0000 0000 0000 0010


2001:0001:0002:0002::/48

2001:0001:0002: 0000 0000 0000 0011


2001:0001:0002:0003::/48

2001:0001:0002: 0000 0000 0000 0100


2001:0001:0002:0004::/48

2001:0001:0002: 0000 0000 0000 0101


2001:0001:0002:0005::/48

Q>How about first 4 /47s or address blocks in 2001:1::/32?

Solution: subnetting bits= 47-32 =15

Total no. of subnets that can be obtained = 2^15

We are told to find first 4 /47 blocks so do the following

Changes starts at the 47th bit


2001:0db8: 0000 0000 0000 0000
2001:0db8:0000::/47

2001:0db8: 0000 0000 0000 0010


2001:0db8:0002::/47

2001:0db8: 0000 0000 0000 0100


2001:0db8:0004::/47

2001:0db8: 0000 0000 0000 0110


2001:0db8:0006::/47

[f] convert given MAC address into EUI-64 format

You might also like