5. Network Layer Flashcards
What is the purpose of the network layer?
- Provide services to allow end devices to exchange data
List out the 2 types of pricinple network layer communcation protocols
- IPv4
- IPv6
List out the 4 basic operations
- Addressing End Devices
- Encapsulation
- Routing
- De-encapsulation
What does IP encapsulates ( Which Layer )?
- Transport Layer Segment
IP can use what packet and not impact the layer 4 ( Transport Layer ) segmant? ( 2 )
- IPv4
- IPV6
What is a dual stack network?
- A network that is using both IPv4 and IPv6
What layer will examine IP packet as it traverses the network?
- Layer 3 devices
Will IP addressing change from source to destination?
- No
What can change addressing?
- NAT
What is the characteristics of IP? ( 3 )
- Connections
- Best Effort
- Media Independent
Why IP is connectionless? ( 4 )
- Doesn’t establish a connection with the destination before sending the packet
- There is no control information needed ( synchronizations, acknowledgements )
- The destination will receive the packet when it arrives, but no pre-notifications are sent by IP
- If there is a need for connection-oriented traffic, then another protocol wil handle this
- TCP will handle it
Why IP is best effort? ( 4 )
- IP will not guarantee deliery of the packet
- IP has reduced overhead since there is no mechanism to resend data that is not received
- IP does not expect acknowledgements
- IP does not know if the other devive is operational or it recived the packet
- Overhead - The information must be sent with the payload
- Payload - Actual Data
Why IP is media independent?
- IP does not concern itself with the type of frame required at the data link layer or the media type at the physical layer
- IP can be sent over any media type ( copper, fiber or wireless )
Why IP is unreliable?
- It cannot be manage or fix undelivered or corrupt packets
- IP cannot retransmit after an error
- IP cannot realign out of sequence packets.
- IP must rely on other protocols ( TCP ) for these functions
What will network layer establish?
- Maximum Transmission Unit ( MTU )
- At Transport Layer Slides
- 1500 bytes
What is the step of network layer when establishing MTU ( Maximum Transmission Unit ) ?
- Network layer receives this from control information sent by the data link layer
- The network then established the MTU size
What is fragmentation in layer 3?
- Splits the IPv4 packet into smaller units
Will fragmenting causes latency?
- Yes
- IPv6 does not fragment packets
What is the purpose of network header ? ( 3 )
- It ensures the packet is sent in the correct direction ( to the destination )
- It contains information for network layer processing in various fields.
- The information in the header is used by all layer 3 devices that handle the packet
List out the IPv4 network header characteristics
- It is in binary
- Contains several fields of information
- Diagram is read from left to right, 4 bytes per line
- The 2 most important fields are the source and destination
List out the 3 major limitations of IPv4
- IPv4 address depletion
- Basically run out of IPv4 addressing
- Lack of end-to-end connectivity
- Increased network complexity
- NAT creates issues on the network as a side effect of manipulating the network headers addressing
- NAT causes latency and troubleshooting issues