Networking Layer Flashcards
What is the size of the IPv4 header? Is it always the same size?
Fixed size 20 Bytes with optional, variable length for options.
What is an IPv4 header and for what is it used?
Describes a IPv4 packet and some important meta data.
Explain the concept of fragmentation of packets with the information of the IPv4 header.
- DF: Dont’ Fragment bit
- MF: More Fragments bit
- Reserved bit
- Fragment Identification
- Fragment Offset
What happens if the packet is too big but the header doesn’t allow fragmentation?
Drop the packet and send a error message with ICMP.
Why does the IPv4 packet rely on the ethernet frame in terms of MTU (Maximum Transmission Unit)?
Ethernet is on the lower level and sets the tone in terms of sending a packet over a line.
Describe the IPv4 Header and all its fields.
See book page 503
You have a network with subnetmask /24. You want to create 4 subnets. What is the subnetmask?
We want to have 4 subnets = 2^2. Subnetmask /26
ICMP - Destination Unreachable - Why are the first 64 Bits of the IP header enough to determine the connection?
Probably because of the identification of the IP packet through the fragment identification
What were the design targets of IPv6?
- Bigger address space
- Security in protocol (e.g. IPSec)
- Extension Headers are useful
- Reestablishing end-to-end connectivity
- ARP is replaced by neighboor hood discovery protocol
How handles the IPv6 packet fragmentation?
By using the extended headers with the value 44 for fragmentation information
Describe the IPv6 header and all its fields.
See screenshot in folder 100_exam_papers
Why is there no more broadcast in Ipv6?
Broadcast make a lot of traffic. IPv6 replaces broadcasts with specific multicasts by device types (e.g. a group of routers).
What are the components of the IPv6 address? Describe them properly
- 8x 16 bits fields, divided by :
- Prefix: Provided by ISP, consists of n bits (common 64)
- Subnet ID: Specific Location, specified by the provider, consists of 64 - n bits
- Interface ID: Derived from Mac, consists of 64 bits
How to convert a IPv4 address to be used dual stack in ipv6?
First 80 bits 0s, 16 Bits 0xFFFF, 32 Bits the IPv4 address
How to use an IPv6 address as Url with port nr?
https://[IPv6 address]:443