Documente Academic
Documente Profesional
Documente Cultură
Nevertheless the Internet has grown in a way nobody expected 20 years ago. Despite all
our cool tricks like VLSM and NAT/PAT we needed more IP addresses and so IPv6 was born.
IPv4 and IPv6 are not compatible with each other so many protocols have been updated
or replaced to work with IPv6, here are some examples:
OSPF has been upgraded from version 2 (IPv4) to version 3 (IPv6).
ICMP has been upgraded to ICMP version 6.
ARP has been replaced with NDP (Neighbor Discovery Protocol).
2041:0000:140F:0000:0000:0000:875B:131B
Using hexadecimal helps to make our addresses shorter but
typing in an IPv6 address is still a lot of work.
To help us out, its possible to make IPv6 addresses shorter.
Original: 2041:0000:140F:0000:0000:0000:875B:131B
Short: 2041:0000:140F::875B:131B
Shorter: 2041:0:140F::875B:131B
RULES :
A string of zeroes can be removed leaving only a colon (::). You
can only do this once.
4 zeroes can be removed leaving only a single zero.
Leading zeroes can be removed within a block.
RULE 1 : A string of zeroes can be removed leaving only a colon (::). You can only do this once.
Original : 2041:0000:140F:0000:0000:0000:875B:131B
Short : 2041:0:140F::875B:131B
RULE 2 : 4 zeroes can be removed leaving only a single zero.
Original : 2134:0000:1234:4567:2468:1236:2444:2106
Short : 2134:0:1234:4567:2468:1236:2444:2106
RULE 3 : Leading zeroes can be removed within a block.
Original: 2001:0001:0002:0003:0004:0005:0006:0007
Short: 2001:1:2:3:4:5:6:7
Make it Shortest!!!!!
1.
2.
3.
4.
5.
2001:cdba:0000:0000:0000:0000:3257:9652
2607:f0d0:1002:0051:0000:0000:0000:0004
805B:2D9D:DC28::FC57:D4C8:1FFF
2001:0db8:85a3:0000:0000:8a2e:0370:7334
2001:0db8:0a0b:12f0:0030:0400:b000:0001
IPv4 addresses have a subnet mask but instead of typing something like 255.255.255.0 we use a prefix length for IPv6. Here
is an example of an IPv6 prefix:
2001:1234:5678:1234:5678:ABCD:EF12:1234/64
PREFIX
HOST
2001:1234:5678:1234
5678:ABCD:EF12:1234
Prefix
2001:1234:5678:1234::/64
3211::1234:ABCD:5678:1010:CAFE/64
PREFIX
HOST
3211:0000:0000:1234
ABCD:5678:1010:CAFE
3211:0000:0000:1234::/64
=
3211:0:0:1234::/64
2001:1234:abcd:5678:9877:3322:5541:aabb/53
2001:1234:abcd:5000::/53
1.
2.
3.
4.
5.
2001:cdba:0000:0000:0000:0000:3257:9652/57
2607:f0d0:1002:0051:0000:0000:0000:0004/50
805B:2D9D:DC28::FC57:D4C8:1FFF/33
2001:0db8:85a3:0000:0000:8a2e:0370:7334/28
2001:0db8:0a0b:12f0:0030:0400:b000:0001/56
Router :
Vulcan(config)#int fa0/0
Vulcan(config-if)#ipv6 enable
Vulcan(config-if)#int fa1/0
Vulcan(config-if)#ipv6 enable
Vulcan(config-if)#int lo0
Vulcan(config-if)#ipv6 address 2001::1/128
Vulcan(config)#ipv6 route [IP Target/Prefix] [Outgoing Interface] [Next-Hop IP Address]
Example :
Vulcan(config)#ipv6 route 2001::2/128 FastEthernet0/0 FE80::CE03:17FF:FE50:0
Router :
Borg(config)# ipv6 unicast-routing
Borg(config)# ipv6 router rip Astra
Borg(config)#int fa0/0
Borg(config-if)#ipv6 rip Astra enable
Borg(config-if)#int fa1/0
Borg(config-if)#ipv6 rip Astra enable
Borg(config-if)#int lo0
Borg(config-if)#ipv6 rip Astra enable
Router :
Borg(config)# ipv6 unicast-routing
Borg(config)# ipv6 router ospf 1
Borg(config-if)# router-id 3.3.3.3
Borg(config)#int fa0/0
Borg(config-if)# ipv6 ospf 1 area 0
Borg(config-if)#int fa1/0
Borg(config-if)# ipv6 ospf 1 area 0
Borg(config-if)#int lo0
Borg(config-if)# ipv6 ospf 1 area 0
Router :
Borg(config)# ipv6 unicast-routing
Borg(config)# ipv6 router eigrp 6
Borg(config-if)# router-id 3.3.3.3
Borg(config)#int fa0/0
Borg(config-if)# ipv6 eigrp 6
Borg(config-if)#int fa1/0
Borg(config-if)# ipv6 eigrp 6
Borg(config-if)#int lo0
Borg(config-if)# ipv6 eigrp 6