Podcast
Questions and Answers
¿Qué dos versiones de IP son los principales protocolos de comunicación de la capa de red?
¿Qué dos versiones de IP son los principales protocolos de comunicación de la capa de red?
IPv4 e IPv6
¿Cuáles son las cuatro operaciones básicas que realiza la capa de red?
¿Cuáles son las cuatro operaciones básicas que realiza la capa de red?
Direccionamiento de terminales, Encapsulamiento, Routing, Desencapsulamiento
El direccionamiento IP cambia de origen a destino.
El direccionamiento IP cambia de origen a destino.
False (B)
IP es un protocolo orientado a la conexión.
IP es un protocolo orientado a la conexión.
IP garantizará la entrega del paquete.
IP garantizará la entrega del paquete.
IPv6 fragmenta paquetes.
IPv6 fragmenta paquetes.
¿Cuál es el protocolo de comunicación principal para la capa de red?
¿Cuál es el protocolo de comunicación principal para la capa de red?
¿Qué garantiza el encabezado de un paquete IPV4?
¿Qué garantiza el encabezado de un paquete IPV4?
En el encabezado IPv4, ¿cuántos bits tiene la dirección de origen?
En el encabezado IPv4, ¿cuántos bits tiene la dirección de origen?
¿Cuál de las siguientes es una limitación de IPv4?
¿Cuál de las siguientes es una limitación de IPv4?
¿Cuál de las siguientes es una mejora que proporciona IPv6?
¿Cuál de las siguientes es una mejora que proporciona IPv6?
¿Cuántos bytes u octetos de longitud tiene el encabezado de IPv6?
¿Cuántos bytes u octetos de longitud tiene el encabezado de IPv6?
¿Qué ocurre con el tráfico local?
¿Qué ocurre con el tráfico local?
¿Si un dispositivo no tiene una puerta de enlace predeterminada, qué ocurre?
¿Si un dispositivo no tiene una puerta de enlace predeterminada, qué ocurre?
En Windows, ¿qué comando muestra la tabla de enrutamiento de PC?
En Windows, ¿qué comando muestra la tabla de enrutamiento de PC?
¿Cuáles son los tres tipos de rutas en la tabla de enrutamiento de un enrutador?
¿Cuáles son los tres tipos de rutas en la tabla de enrutamiento de un enrutador?
Las rutas conectadas directamente son agregadas automáticamente por el router.
Las rutas conectadas directamente son agregadas automáticamente por el router.
Las rutas estáticas se configuran dinámicamente.
Las rutas estáticas se configuran dinámicamente.
Flashcards
Network Layer
Network Layer
Provides services for devices to exchange data.
IP (IPv4 and IPv6)
IP (IPv4 and IPv6)
The main communication protocol for the network layer.
Network Layer Operations
Network Layer Operations
Addressing of terminals, encapsulation, routing, and desencapsulation.
Encapsulation
Encapsulation
The process of adding header information to data as it moves down the protocol stack.
Signup and view all the flashcards
IP Encapsulation
IP Encapsulation
The IP layer encapsulates the transport layer segment.
Signup and view all the flashcards
Characteristics of IP
Characteristics of IP
IP doesn't guarantee delivery, emphasizes speed/efficiency, and works independently of media.
Signup and view all the flashcards
Connectionless
Connectionless
IP doesn't establish a connection before sending packets.
Signup and view all the flashcards
Best Effort
Best Effort
IP provides no guarantee of packet delivery.
Signup and view all the flashcards
Media Independent
Media Independent
IP operates independently of the medium.
Signup and view all the flashcards
Maximum Transmission Unit (MTU)
Maximum Transmission Unit (MTU)
The maximum size of a packet that can be transmitted over a network.
Signup and view all the flashcards
Fragmentation
Fragmentation
Dividing an IPV4 packet into smaller units to fit the MTU.
Signup and view all the flashcards
IPv4 Purpose
IPv4 Purpose
Key communication protocol for the network layer, guarantees correct delivery to destination.
Signup and view all the flashcards
IPv4 Packet Header
IPv4 Packet Header
Binary with information fields, read from left to right. Destination and origin are most important.
Signup and view all the flashcards
Significant IPv4 Header Fields
Significant IPv4 Header Fields
Version, differentiated services, time to live, protocol, source and destination address.
Signup and view all the flashcards
Version Field (IPv4)
Version Field (IPv4)
Indicates IPv4, a 4-bit field with a value of 0100.
Signup and view all the flashcards
Differentiated Services
Differentiated Services
Used for QoS; DiffServ (DS) or the previous IntServ, Type of Service (ToS).
Signup and view all the flashcards
Header Checksum
Header Checksum
Detects any damage or corruption in the IPv4 header.
Signup and view all the flashcards
Time-to-Live (TTL)
Time-to-Live (TTL)
Limits the number of hops the packet can take; router discards when it reaches zero.
Signup and view all the flashcards
Protocol Field
Protocol Field
Identifies the next level protocol, e.g., ICMP, TCP, UDP.
Signup and view all the flashcards
Source IPv4 Address
Source IPv4 Address
The 32-bit address of the sending device.
Signup and view all the flashcards
Destination IPv4 Address
Destination IPv4 Address
The 32-bit IPv4 address of the destination device.
Signup and view all the flashcards
IPv6 Purpose
IPv6 Purpose
Addresses IPv4 depletion with increased address space and simplified header.
Signup and view all the flashcards
Limits of IPv4
Limits of IPv4
Lacks end-to-end connectivity and adds network complexity due to NAT.
Signup and view all the flashcards
Benefits of IPv6
Benefits of IPv6
Larger fields/management and no need for NAT due to sufficient addresses.
Signup and view all the flashcards
Common IPv6 Header Fields
Common IPv6 Header Fields
Version, traffic class, flow label, payload length, next header, hop limit, source/destination address.
Signup and view all the flashcards
Version Field (IPv6)
Version Field (IPv6)
Identifies IPv6, a 4-bit field with a value of 0110.
Signup and view all the flashcards
Traffic Class (IPv6)
Traffic Class (IPv6)
Equivalent to DiffServ in IPv4, used for QoS.
Signup and view all the flashcards
Flow Label (IPv6)
Flow Label (IPv6)
A 20-bit field to manage identical flow labels in same manner.
Signup and view all the flashcards
Payload Length (IPv6)
Payload Length (IPv6)
16-bit field indicates the length of the data portion.
Signup and view all the flashcards
Next Header (IPv6)
Next Header (IPv6)
Like the protocol field; indicates the type of data.
Signup and view all the flashcards
Hop Limit (IPv6)
Hop Limit (IPv6)
Replaces the TTL field, decremented by one with each hop.
Signup and view all the flashcards
Forwarding Decision
Forwarding Decision
When the originating device is determining if a packet is local or remote.
Signup and view all the flashcards
IPv4 Forwarding
IPv4 Forwarding
Uses destination IP and subnet to find remote paths to a destination.
Signup and view all the flashcards
IPv6 Forwarding
IPv6 Forwarding
IPv6 uses network address and prefix advertised to a local router.
Signup and view all the flashcards
Default Gateway
Default Gateway
Router that is the portal for local traffic wanting to go out of LAN.
Signup and view all the flashcards
Default Gateway Characteristics
Default Gateway Characteristics
Local host has an IP in the same range and can send traffic outside the LAN
Signup and view all the flashcards
Windows routing
Windows routing
In windows route print or netstat -r gives information regarding host routing
Signup and view all the flashcards
Router Packet-forwarding
Router Packet-forwarding
Where the IP de-encapsulation and best-match IPv4 search occur.
Signup and view all the flashcards
Types of Routes
Types of Routes
Connected, remote, and default.
Signup and view all the flashcards
Connected Routes
Connected Routes
These are automatically added by the route, as long as the interfact is active.
Signup and view all the flashcardsStudy Notes
Module 8: Network Layer
- Module 8 is on network layer
- Introduces IP protocols for reliable network communications, IPv4 and IPv6 packet header fields.
- Explains how network devices use routing tables to direct packets
Network Layer Characteristics
- Network Layer provides services for end devices to exchange data
- IPv4 and IPv6 are key communication protocols in the network layer
- Contains four operations: addressing end-points, encapsulation, routing and de-encapsulation
- Encapsulates the transport layer segment
- Utilizes an IPv4 or IPv6 packet that does not affect the layer 4 segment
- An IP packet is examined by layer 3 devices as it crosses the network
- IP addressing does not change from origin to destination
- NAT will change the address, the topic will be discussed in another module
IP Characteristics
- Intended to have low overhead
- Can be described as connectionless, minimal service, and multimedia independent
Connectionless (Connectionless)
- IP does not establish any connection with the destination before sending the packet
- Control information like synchronizing and confirmations are not needed
- The destination receives the packet when it arrives but no previous notifications are sent via IP
- If connection oriented traffic is needed there is another protocol to handle it, usually TCP
Best Effort
- IP provides the best effort
- Does not guarantee packet delivery
- Overhead gets reduced because there is no mechanism to re send information that is not received
- IP does not need to know operational status of the other device, and nor if it received the packet
Media Independence
-
IP is not reliable
-
Cannot manage packets if not delivered or corrupted
-
Cannot retransmit after errors
-
Cannot align packets sequentially
-
Depends on other protocols for these functions
-
IP is media independent
-
Not related to the type of required frame in the data link layer
-
Can be sent on any media type
-
Network layer establishes the MTU ( Maximum Transmission Unit ) sizes
-
Network Layer receives MTU's from data link layers for configured interfaces
-
Fragmentation occurs when Layer 3 divides the IPv4 packet into smaller units
-
Fragmentation increases latency
-
IPv6 does not fragment packets
-
When a router handles a data transfer from ethernet to a WAN, there is an MTU size decrease
IPv4 Packet Header
- A primary communication protocol for the network layer
- Packet Headers help determine the route for data packet and ensure it is sent to the destination
- Handles the information processing for network layers
IPv4 Packet Header Fields
-
Exists in binary which contain information
-
Diagram is read left to right, 4 bytes at a time
-
Version field: 4 bits set to 0100 to indicate IPv4
-
Differentiated Services field: Used for QoS, an 8 bit field to determine traffic priority
-
Total Length field: Specifies total packet length in bytes, including header and data
-
Identification field: A 16-bit value used to track fragments of a packet if fragmentation occurs
-
Flags field: Contains control flags for fragmentation, such as "Don't Fragment" and "More Fragments"
-
Fragment Offset field: Indicates the position of the fragment within the original packet
-
Time-to-Live (TTL) field: An 8-bit field that limits the lifespan of a packet in the network to prevent routing loops
-
Protocol field: Specifies the next-level protocol (ICMP, TCP, UDP) used in the data portion
-
Header Checksum field: 16-bit field used to detect corruption in the IPv4 header
-
Source IP Address field: 32-bit IP address of the sending host
-
Destination IP Address field: 32-bit IP address of the receiving host
IPv4 Packet - Wireshark Examples
- IPv4 Ethernet Packets will be shown in Wireshark software
- Control and general data information will be outlined
- Packet differences will be made apparent
IPv6 Packet Limitations
- IPv4 has 3 limitations:
- IPv4 addresses are becoming depleted
- Lack of end-to-end connectivity, which relies on NAT and private addresses to allow it to survive
- Increase in network complexity. NAT acts as a band aid and creates network issues
Introduction to IPv6
- IPv6 was developed by the IETF (Internet Engineering Task Force)
- It overcomes limitations of IPv4
- Delivers improvements like bigger address directions from 32b to 128b
- Improved packet management, which simplifies headers
- Eliminates need for NAT. Given how many addresses there are, there is no need for internal private addresses to be assigned
- There are 4 billion IPv4 Addresses
- There are 340 Undecillion IPv6 Addresses
IPv6 Packet Header
-
Headers simplify and are not necessarily small
-
Header is set at 40 Bytes in length
-
Several IPv4 fields were removed to improve performance
-
Version field: 4-bit field set to 0110 indicating IPv6
-
Traffic Class field: Used for QoS (Quality of Service) similar to IPv4
-
Flow Label field: 20-bit field that informs network devices how to handle specific traffic flows consistently
-
Payload Length: 16-bit field indicating length of the data portion or payload of the IPv6 packet
-
Next Header: Identifies the protocol in the data portion (ICMP, TCP, UDP, etc.)
-
Hop Limit: Replaces the TTL field in IPv4 to prevent routing loops
-
Source Address: 128-bit source IPv6 address
-
Destination Address: 128-bit destination IPv6 address
IPv6 Packet Header Continued
- IPv6 Packets also may contain extension headers (EH)
- These deliver optional network layer information and is positioned between the IPv6 header
- Supports Fragmentation to help support mobility
IPv6 Packets Wireshark Example
- Covers ethernet IPv6 packets shown in Wireshark
- Highlights differences among packets and control information
Host Routing
- Packets always start at source
- Each host device has it's own routing table
- Hosts can send packets to itself(127.0.0.1 and ::1) and local networks behind the same LAN
Host Forwarding Decision Cont.
- Original device needs to determine its local or remote destinations
- IPv4 uses its own IP Address with subnet masks and a destination address
- IPv6 uses network addresses and prefixes that are pushed by the local router
- Local traffic gets disconnected at the host interface and can then be handled by an intermediary device
- Remote traffic gets forwarded directly to the default gateway
Default Gateway
- A Layer 3 switch can be a viable default gateway
- The IP address must match the range of the LAN
- It is able to accept LAN data and traffic outside of it
- Must route to other networks
Gateways Cont.
- Hosts know of the default gateway through DHCP in IPv4
- IPv6 delivers it through router solicitation, although can be configured manually
- LAN devices need the DGW router for the intention of sending remote data
Host Routing Tables
- In Windows, Route Print and netstat-r showcase the PC routing table
- The two commands show three sections, including interfaces and IPv4/v6 routing tables
Router Packet Forwarding
- Routers receive the frame of the host device
- The destination IPv4 address is inspected to search the routing table for best match
IP Routing Table
- Routes have three different types:
- Connect Directly: This enables static allocation of routes
- Remote is a route where routers do not need a direct connection Manual allocation of the route would be a static route Dynamic use would enable the use of dynamic routing protocols for shared information
- A default route will forward a traffic to a predetermined address when one does not exist in the table
Static Routing
- Must be adjusted by administrator depending if there is a topology change
- The best type of topology is a small, nonredundant network
- Often used along with dynamic routing protocol for predetermination
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.