IPv6 Flashcards
Why IPv6?
larger address space
+
security
multicast and anycast
more efficiente on LANs
mettere policy routing and traffic differentiation
QoS support
How do you transform 1A3 in decimal?
116^2 + A16 + 3
Which are the differences in the network structures of IPv4 and IPv6?
IPv6 has not net mask or classes but it has a prefix -> address/n where n is the length of the prefix
How many bits the IPv6 prefix have?
Which is the IPv6 schema of the possible address types? (no ranges)
multicast
- well-known
- transient
- solicited-NODE
unicast
- global UNICAST
- link local
(- site local)
- LOOPBACK
- unique LOCAL
- undefined
- EMBEDDED IPv4
anycast
What is a IPv6 subnet?
a set of hosts that have the same prefix and that are in the same physical network
Which is the general characteristic of the IPv6 address for multicast address?
is starts with eight 1 so FF00::/8 is the general address -> 2^120 MULTICAST ADDRESSES
Which are the characteristics of IPv6 multicast addresses and what they’re made of?
- well know: FF00::/12, predefined or reserved to group of devices. ASSIGNED BY IANA
- transient: FF10::/12, they a re used for the classical multicast so they identify a group, dynamically assigned by multicast apps
- Solicited node: FF02:0:0:0:0:FF00:0/104 -> SIMILAR TO IP BROADCAST IN ARP. IT IS CONSTRUCTED BY TAKING THE LOWER 24 BITS OF A UNICAST OR ANYCAST ADDRESS AND BY APPENDING IT TO THAT PREFIX
the third digit is the flag:
- FF0… permanent, BY IANA
- FF1… dynamic
the fourth digit is the scope:
- FFx1: INTERFACE LOCAL: ONLY FOR INTERFACES
- FFx2: LINK-LOCAL: JUST INSIDE THE LOCAL NETWORK, IT CANNOT BE ROUTED BY THE ROUTER
- FFx5: SITE-LOCAL: CAN ONLY BE FORWARDED BY THE ROUTER TO LINKS THAT ARE DIRECTLY ATTACHED TO IT
- FFx8: ORGANIZATION-LOCAL: ONLY FORWARDED TO OTHER ROUTER THAT ARE OF THE SAME ORGANIZATION
- FFxE: GLOBAL: IT CAN BE GLOBALLY FORWARDED
In which types of addresses the IPv6 unicast group is divided? (6)
- link local
- loopback
- unique local
- global unicast
- UNSPECIFIED
- embedded ipv4
(site-local)
IPv6: global unicast addresses
They identify globally an host AND THEY ARE ASSIGNED WITH PLUG AND PLAY. THEY ARE. EQUIVALENT TO IPV4 PUBLIC ADDRESSES
THEY START WITH 001
IPv6: link local addresses
FE80::/64
When a device enters a network it automatically get a link local address but it cannot be routed OUTSIDE so if it arrives to the router it cannot forward it.
THEY CAN ONLY BE ROUTED IN A SINGLE ROUTING DOMAIN
IPv6: site local addresses
FEC0::/10
NONE COULD AGREE ON WHAT A SITE WAS SO THEY WERE NEVER USED
DEPRECATED
IPv6 multicast addresses range
FF00::/8 in general
- FF00::/12 well known
- FF10::/12 transient
- FF02:0:0:0:0:FF00:0/104 solicited nodes
IPv6 unicast addresses ranges
- link local
- loopback
- unique local
- global unicasst
- undefined
- embedded ipv4
(site-local)
IPv6: unique local addresses
= PRIVATE IPV4 ADDRESSES
FC00::/7 MADE OF
1111 1101 + 40 RANDOMLY GENERATED BITS + 16 BITS FOR THE SUBNET IDS + 64 BIT FOR THE INTERFACE
They. cannot be routed outside but they can be routed from a private network. to another -> THEY MUST BE ROUTED ONLY IN PRIVATE. LINKS
THEY CAN BE DUPLICATED IN DIFFERENT ORGANIZATIONS (E ALLORA COME FANNO AD ANDARE DA UNA NET A UN’ALTRA???) BUT HAVE TO BE UNIQUE IN A NET
THEIR 8TH BIT IS THE LOCAL FLAG:
- 1: THE ADDRESS IS LOCALLY ASSIGNED
- 0: IT MAY BE DEFINED IN THE FUTURE OR IT CANNOT BE ASSIGNED??
IPv6: IPv4 embedded addresses
::/80
The first 80 bits are 0
+
16 bits FFFF
+
32 bits with the IPv4 address
IPv6: loopback addresses
They are identified by the address ::1 that is equivalent to 127.0.0.1 of IPv4
They are used by a node for testing reasons to send a packet to itself.
A packet that has this address cannot go out of the network, cannot be assigned to a physical interface, if anode receives a packet and the destination is a loopback address it should drop it
IPv6: unspecified addresses
They are all 0s and they are used as source addresses to indicate the absence of and address
They are used in the Duplicate Address Detection (DAD) in ICMPv6
they cannot be assigned to an interfaces as the. loopback ones
IPv6 anycast addresses
the range is not written in the slides
They can be assigned to more than one interface and the packet will be forwarded to the nearest one according to the router’s routing table
Designed for DNS but work in progress
Which are the main differences between a IPv4 header and an IPv6 one
Removed fields:
- header checksum: check done in L2 and L4
- Header length: now it is fixed, 40 B
- Fragmentation: a packet cannot be bigger than the MTU because IPv6 doesn’t perform fragmentation (eventually only the SOURCE can do it by using the Fragmentation Header)
New fields:
- Next header: chain of headers to specify protocols and or options
- payload length
Which IPv4 field were removed from the IPv6 header?
Removed fields:
- header checksum: check done in L2 and L4
- Header length: now it is fixed, 40 B
- Fragmentation: a packet cannot be bigger than the MTU because IPv6 doesn’t perform fragmentation (eventually only the SOURCE can do it by using the Fragmentation Header)
Which are the new IPv6 header fields?
New fields:
- Next header: chain of headers to specify protocols and or options
- payload length