IPv4 Multicasting and IPv6 Introduction Flashcards
Multicasting
Packets routed from source to multiple destinations
- Key for group communication
- Address identifies a group Not widely used for now.
IPv4 Multicast Addressing
Class D addresses
- Begin with 111O → 224.O.O.O - 239.255.255.255
- Group delivery delegated to lower level (MAC)
- IP multicast address mapped to a MAC multicast address: 0x01005E U 0x1b U 23 LSBs of IP address
- Interface card configured to receive that MAC multicast
- Recipient initiated group join
Routers in IPv4 Multicasting
Routers role:
- Routers discover host groups on each LAN
- Internet Group Management Protocol (IGMP)
- Routers announce host groups to others
- Multicast routing protocols
- Routers build a distribution tree foreach host group
- To all LANs with at least a member
State of deployment of IPv4 Multicast
- Not widely supported
- Not fit to common traffic engineering practices
- Mostly limited to controlled environments
Why IPv6?
- Larger address space
- More effiecient on LANs
- Multicast and anycast
- Security
- Policy routing
- Plug and Play
- Traffic differetiation
- Mobility
- Quality of service support
IPv4 usable addresses and why we need more of them
Only 3.5M addresses can be used
Those 3.5M can be used hierearchically
- The prefix used in a physical network cannot be used into another
- Lots of unused addresses
Interim IPv4 solutions to the saturation of address space
- Taylored sized network => NETMASK
- Private addresses
- Intranet, however not enough. It should be used in conjuction with NAT or ALG.
- NAT
- Very popular
- Proposal for RSIP
- ALG: Application Level Gateway
Routing scalability issues of IPv4
- Routing table size
- Internet size
- each subnetwork must be advertised
- Problems
- Router resource limitations
- Too much info to manage
- Routing protocols limitations
- High probability of route changes (for backbone routers)
Routing scalability solutions in IPv4
Aggregate multiple routes into one:
- Short prefix including others
- CIDR (Classless inter-domain routing)
- Limited by non-rational assignment of IP prefixes
Limit the assignement of IP addresses:
- Regional Internet Registry: assign address blocks only to big players.
Scalability of routing protocols:
- No solution, at present. Still open also for IPv6
Addressing efficiency
H = log10(number of adresses) / number of bits
Addressing space organization of IPv6

Address structure IPv6
With subnet prefixes having no more than 64bits

Subnet ipv6
set of hosts with same prefix
Link ipv6
Physical network
subnetwork === link
On-link hosts
Have same prefix and communicate directly
Off-link station
Different prefixes → communicate through router
Link local
frist bits are 1111 1110 10
Si riferiscono agli indirizzi privati “automatici”, generati dall’autoconfigurazione, che è il processo in cui una stazione genera automaticamente un indirizzo per connettersia un link IPv6.
Site local
Is deprecated function that is equivalent to ipv4 private addresses.
frist bits are 1111 1110 11
Global Unicast Aggregatable
- Equivalent to public IPv4 addresses.
- They start with 3 bits: 001
- Topology-based assignement:
- Service provider hierarchy
- Effective aggregation

Global Univast Addressing Space Organization
IPv4 Mapped addresses
- 80 bits to 0, 16 bits to 1 then the IPv4 address: 0:0:0:0:0:ffff:A00:1
- To be used during transition phase
IPv4 compatible addresses
- 96 bits to 0 then IPv4 address: 0:0:0:0:0:0:A00:1
- Spacial notation: ::10.0.0.1
- Deprecated
Plug And Play
Scenarios:
- Dentist office
- Thousand computers on the dock
Solution: autoconfiguration:
- Stateless: no server needed
- Stateful: DHCP server
IPv6 Special addresses
- Loopback: ::1
- All nodes (multicast) FF02::1
- All routers (multicast) address FF02:2
- Unspecified address: ::
Changed and upgraded protocols in IPv6
Changed:
- IP
- ICMP
- ARP: Integrated in ICMP
- IGMP: integrated in ICMP
Upgraded:
- DNS
- RIP and OSPF
- BGP and IDRP
- TCP and UDP
- Socket interface



