Podcast
Questions and Answers
Which of the following is the primary responsibility of the network layer in the OSI model?
Which of the following is the primary responsibility of the network layer in the OSI model?
- Ensuring reliable data transfer between two applications.
- Host-to-host delivery of packets from source to destination. (correct)
- Defining the physical characteristics of the network.
- Controlling access to the network medium.
At the source node, the network layer performs which of the following actions?
At the source node, the network layer performs which of the following actions?
- Decapsulates the datagram from the received frame.
- Encapsulates the packet into a datagram for network transmission. (correct)
- Forwards the packet directly to the physical layer.
- Extracts the packet and delivers it to the transport layer.
What is the role of an intermediate node in network communication?
What is the role of an intermediate node in network communication?
- To initiate the communication between source and destination.
- To terminate the communication session.
- To directly deliver the packet to the transport layer.
- To facilitate packet transfer between source and destination. (correct)
Which three main functions is the network layer responsible for?
Which three main functions is the network layer responsible for?
What is internetworking in the context of network services?
What is internetworking in the context of network services?
What is the primary function of packetizing at the network layer?
What is the primary function of packetizing at the network layer?
Which of the following statements is true about the fragmenting process in the network layer?
Which of the following statements is true about the fragmenting process in the network layer?
What is the main role of routing in the network layer?
What is the main role of routing in the network layer?
What is the primary purpose of IP addresses?
What is the primary purpose of IP addresses?
What is the function of the IP datagram?
What is the function of the IP datagram?
Why are certain IP addresses considered 'reserved addresses'?
Why are certain IP addresses considered 'reserved addresses'?
What does the 'Network ID' portion of an IP address identify?
What does the 'Network ID' portion of an IP address identify?
Which type of IP address can be routed by routers?
Which type of IP address can be routed by routers?
What is the primary purpose of a loopback address?
What is the primary purpose of a loopback address?
What happens to an IP address that is 'autoconfigured'?
What happens to an IP address that is 'autoconfigured'?
Which address class has a range from 128.0.0.0 to 191.255.255.255?
Which address class has a range from 128.0.0.0 to 191.255.255.255?
An IP address with a first octet of 223 belongs to which class?
An IP address with a first octet of 223 belongs to which class?
Which organization maintains a central repository for Internet standards?
Which organization maintains a central repository for Internet standards?
Which of the following is a key function of ICANN?
Which of the following is a key function of ICANN?
What problem does subnetting address?
What problem does subnetting address?
Which of the following best describes the purpose of a subnet mask?
Which of the following best describes the purpose of a subnet mask?
What is the main characteristic of classful addressing?
What is the main characteristic of classful addressing?
What is a key limitation of classful addressing that led to the development of CIDR?
What is a key limitation of classful addressing that led to the development of CIDR?
Which subnet mask would provide the largest number of host addresses per subnet?
Which subnet mask would provide the largest number of host addresses per subnet?
What does the 'Time to Live' (TTL) field in the IP datagram represent?
What does the 'Time to Live' (TTL) field in the IP datagram represent?
What significant change was introduced in IPv6 compared to IPv4, in terms of address size?
What significant change was introduced in IPv6 compared to IPv4, in terms of address size?
Which notation is used to represent IPv6 addresses?
Which notation is used to represent IPv6 addresses?
Which type of IPv6 address is used for communication within a private network and is not routable on the internet?
Which type of IPv6 address is used for communication within a private network and is not routable on the internet?
What is the primary function of the 'Next Header' field in the IPv6 datagram header?
What is the primary function of the 'Next Header' field in the IPv6 datagram header?
Which term describes the most complex and crucial aspect of packet-switching network design?
Which term describes the most complex and crucial aspect of packet-switching network design?
What is the primary function of routing protocols?
What is the primary function of routing protocols?
What are the two main processes involved in routing?
What are the two main processes involved in routing?
Under what conditions would adaptive routing be preferred over non-adaptive routing?
Under what conditions would adaptive routing be preferred over non-adaptive routing?
What is a key characteristic of static routing?
What is a key characteristic of static routing?
With dynamic routing, how do routers typically gain information about network topology and routing choices?
With dynamic routing, how do routers typically gain information about network topology and routing choices?
Which metric is used for optimization in dynamic routing?
Which metric is used for optimization in dynamic routing?
What is the significance of 'convergence' in the context of routing protocols?
What is the significance of 'convergence' in the context of routing protocols?
What is a key characteristic of distance vector routing protocols?
What is a key characteristic of distance vector routing protocols?
How does link-state routing differ from distance vector routing in terms of network knowledge?
How does link-state routing differ from distance vector routing in terms of network knowledge?
What is OSPF?
What is OSPF?
Flashcards
Network Layer
Network Layer
Responsible for host-to-host delivery, moving packets from source to destination.
Internetworking
Internetworking
Logically gluing heterogeneous physical networks together so it appears as one to the upper layers.
Packetizing
Packetizing
The process of encapsulating packets from upper-layer protocols into new packets.
Routing
Routing
Signup and view all the flashcards
IP address
IP address
Signup and view all the flashcards
Internet Protocol (IP)
Internet Protocol (IP)
Signup and view all the flashcards
IP datagram
IP datagram
Signup and view all the flashcards
Reserved Addresses
Reserved Addresses
Signup and view all the flashcards
Network ID
Network ID
Signup and view all the flashcards
Host ID
Host ID
Signup and view all the flashcards
Directed Broadcast
Directed Broadcast
Signup and view all the flashcards
Local Broadcast
Local Broadcast
Signup and view all the flashcards
Loopback
Loopback
Signup and view all the flashcards
Autoconfigured
Autoconfigured
Signup and view all the flashcards
Public IP
Public IP
Signup and view all the flashcards
Private IP
Private IP
Signup and view all the flashcards
Network Address
Network Address
Signup and view all the flashcards
Host Address
Host Address
Signup and view all the flashcards
IPv4 Address Capacity
IPv4 Address Capacity
Signup and view all the flashcards
Dotted Binary Notation
Dotted Binary Notation
Signup and view all the flashcards
Decimal Notation
Decimal Notation
Signup and view all the flashcards
Class A, B, C Addresses
Class A, B, C Addresses
Signup and view all the flashcards
Class D Addresses
Class D Addresses
Signup and view all the flashcards
Class E Addresses
Class E Addresses
Signup and view all the flashcards
Subnetting
Subnetting
Signup and view all the flashcards
Subnet Mask
Subnet Mask
Signup and view all the flashcards
Classful Addressing
Classful Addressing
Signup and view all the flashcards
Classless Addressing (CIDR)
Classless Addressing (CIDR)
Signup and view all the flashcards
IANA and ICANN
IANA and ICANN
Signup and view all the flashcards
Routing
Routing
Signup and view all the flashcards
Path Establishment
Path Establishment
Signup and view all the flashcards
Data Forwarding
Data Forwarding
Signup and view all the flashcards
Static Routing
Static Routing
Signup and view all the flashcards
When to use Static Routing
When to use Static Routing
Signup and view all the flashcards
Adaptive Routing
Adaptive Routing
Signup and view all the flashcards
Routing protocols
Routing protocols
Signup and view all the flashcards
Path Determination
Path Determination
Signup and view all the flashcards
Metric
Metric
Signup and view all the flashcards
routing vector
routing vector
Signup and view all the flashcards
Study Notes
Network Layer Overview
- It is the third layer in the OSI model
- Responsible for host-to-host delivery
- It gets packets from the source to the destination, via intermediate nodes
- Source node accepts and encapsulates data into a datagram for the Data Link layer
- Destination node decapsulates the datagram, extracting the packet and delivering it to the Transport Layer
- The layer defines logical addresses used at layer-3.
- It directs paths to destination components based on network numbers of logical addresses.
- Connects different data link layer types together like Ethernet, FDDI, Serial, and Token Ring
Network Services
- Internetworking refers to the logical connection of heterogeneous physical networks
- It makes them look like a single network to the upper transport and application layers
- An internetwork can consist of networks, such as 4 LANs and 1 WAN
- Switch or router (Si) defines the interface (fi)
- Data sent from point A to D passes through 3 links
- The source and destination are referred to as hosts
- A host or router can be called a "hop"
Packetization and Fragmentation
- Packetizing encapsulates packets from upper-layer protocols, creating new packets.
- This is handled by the IP protocol, which is part of the Internet model
- Fragmentation allows datagrams to travel through different networks.
- Each router decapsulates the IP datagram from the received frame and re-encapsulates it into another frame after processing.
- Size and format of received and departing frames depends on the protocol of physical network that the frame has just arrived, or is departing.
- Routing carries pieces of information from one network to another.
Addressing
- Addressing is how data knows where to go
- IP addresses are used to uniquely identify a packet's source and destination
- IP addressing identifies any host or router interface connected to a TCP/IP network
- IP has different versions: IPv4, IPv5, and IPv6
- Internet Protocol (IP)
- IP is a connectionless protocol
- It provides routing of datagrams in a best-effort approach
- The IP datagram is a combination of bytes that includes an IP header prefixing data from the transport layer, or higher
- IP addressing identifies end stations involved in the transport of datagrams
Types of IP Addresses
- Reserved Addresses: Cannot be assigned to a network component
- Network ID: The network number assigned to a segment or VLAN
- Host ID: The host component of an IP address
- Directed Broadcast: The broadcast address of a network ID, which can be routed by routers
- Local Broadcast: The "all hosts" address, 255.255.255.255, is for the same segment and is not routed by routers
- Loopback: The internal address of a device used for testing functions
- Autoconfigured: Addresses assigned automatically to a network component, such as DHCP
- Public: Used to access devices across the Internet
- Private: Used to access devices in a local network, not for public networks
- A 32-bit address uniquely defines a device’s connection
IPv4 Addressing
- An IPv4 address has two parts: network and host
- Network Address identifies the network part
- Host Address is assigned to end devices
- IPv4 provides "Address Space"
- A total number of addresses used by the protocol equals 2n, for an n-bit address
- IPv4 has an address space of 232, which equals 4,294,967,296
- IPv4 uses two notations:
- Dotted Binary Notation: Employs binary bits e.g., 00001010.00001010.00010100.11101001
- Decimal Notation: Uses decimal numbers e.g., 192.168.10.4
- IPv4 includes five different classes
IPv4 Address Classes
- Classes A, B, and C are primary addresses for data traffic
- Class D is used for multicasting
- Class E is reserved
- Number of host bits in the IP address classes determines how many hosts can be created
- Number of host addresses = 2n - 2
- Class A, B, and C have private and public address ranges, for use in internal networks (intranets) and public TCP/IP networks
Internet Governance
- Internet Corporation for Assigned Names and Numbers (ICANN) governs domains and addresses
- It is a not-for-profit, public-benefit corporation
- Dedicated to keeping the Internet secure, stable, and interoperable
- It promotes competition and develops policy on identifiers like DNS names and Autonomous System numbers
- Internet Assigned Numbers Authority (IANA) maintains a central repository
- Verifies and updates Top Level Domain (TLD) information
- Distributes Internet numbers to regions for use
- It manages IP addresses, ports, protocols, and other essential numbers
IP Address Problems and Subnetting
- Address efficiency can be affected by IP address wastage or shortage
- Subnetting takes higher-order host bits in a network number to create more networks
- It breaks down or partitions networks into subnets
- Subnet Mask
- Identifies bits used to represent the network/subnet portion of an IP address
- Differentiates between the network address, the host addresses, and the directed broadcast address
- Its length is 32 bits long
- 1's represent the Network component
- 0's represent the Host components
- Subnets are created using subnet masks and by borrowing bits from the host portion of the IP address
- The network portion of the IP address combined with the new subnet bits defines new subnet
Subnetting Details
- Each net address loses two addresses
- Network Address: One address is reserved for the network, e.g., 172.16.0.0 /16
- Broadcast Address: One address is reserved for the hosts, e.g., 172.16.255.255
- Create new subnets by borrowing bits from the host portion of the IP address
Classful Addressing Issues
- With classful addressing, too much waste of host addresses occurs
- A potential solution involves Classless Inter-Domain Routing
- Classful addressing divides the IPv4 address space (0.0.0.0-255.255.255.255) into 5 classes (A, B, C, D, E)
- The first few bits indicate the class of an address
Number of Subnets and Hosts
- Number of subnets created = 2x (x is the number of bits borrowed from the host bits)
- Number of hosts/subnet = 2y-x (y is Number of host bits for the class of the network)
Subnet Mask
- The subnet mask is often expressed as /24
- The number of bits to borrow, x, is 2
- The number of bits left in the host portion, y, is 6
- The subnet mask of the new subnet would be /26
- The network address is 192.168.10.0/26
- The address Space = 192.168.10.0 - 192.168.10.63
Classless Inter-Domain Routing (CIDR)
- CIDR addresses the limitations of classful addressing, inefficient allocation and routing table scalability
- CIDR allows for variable-length subnet masks (VLSM) and supernetting
- Variable-length subnet masks (VLSM) allows the application of different subnet masks to the same class address space, called "Subnet-of-Subnets"
IPv4 Datagram
- Version indicates the IP version
- IHL indicates header length in 32-bit words
- Differentiated Services is intended to distinguish between classes of service but is mostly ignored by current routers
- Total length indicates the datagram's total length, up to 65,536 bytes
- Identification helps the destination host determine the datagram to which a fragment belongs
- DF (Don’t Fragment) tells routers not to fragment the packet
- MF indicates that all fragments except the last one have a bit set
- Fragment offset indicates where the fragment belongs in the current packet
- Time To Live limits packet lifetimes
- Protocol indicates the transport process to give the packet to
- Header checksum performs an arithmetic checksum
- Source address and Destination address indicate the IP addresses of the interfaces
- Options provides an escape to allow subsequent versions of the protocol
IPv6 Addressing
- IPv6, also called IPng, expands the possible number of users on the Internet because of Rapid Growth of Appliances
- IPv6 uses a 128-bit address and uses hexadecimal colon notation
- IPv6 has many zeros which leads to needs to omit or represent
IPv6 Addressing Details
- Can abbreviate by omitting leading zeros and not trailing
- IPv6 has many types and it split by addresses
- Global unicast
- These addresses are routable, starting with "2001:" or group.2000::/3.
- Its the equivalent of IPv4 public addresses
- Unicast Address
- It single defines a device
- Two types ( Geographic-based and Provider-based)
- Multicast address has a group of hosts. 7→ FF00::/8
- Each packet is delivered to member.
- Local address (FE80::/10)
- Global unicast
IPv6 Formats and Classes
- The other types of IPv6 address FE80::/10
- It used from Organizations to use IPv6 protocol without being connected to the Internet.
- There are analogous Private addresses of IPv4.
- Types:
- Link Local addresses
- Site Local addresses
IPv6 Address Types
- Anycast Address is for packet to all members
- Reserved Addresses start is prefix type with 8 0's
- The Unspecified Address is to use to find own node
- Addresses loop back its for test
IPv6 Header and Details
- The IPv6 Header includes:
- Version (4 bits) is always 6
- Traffic class (4 bits) distinguishes packets for delivery requirements
- Flow label (24 bits) provides handling for a particular data flow
- Payload length (16 bits) indicates datagram length, excluding the 40-byte base header
- Next header (8 bits) defines the header that follows either the headers or optional extension headers or such as UDP/TCP
- Hop limit (8 bits) is the same as IPv4’s Time To Live field
- Source address and Destination address (16 bytes each)
Routing Protocols
- Packet-switching network complex is routing
- Routing protocols provide route management. Provides
- Route selection, sharing route status with neighbor routers
- Calculating alternative routes if the main route is down
- To accept packets from a source station and deliver them to a destination station
Routing Details
- Routing is conveying packets one network to another
- It needs to Establish and Maps
- Moving packets with Interfaces
- Packets may have has path, they store in routes
- There are decisions that uses Topography
- such delay
Forwarding and Routing Decisions
- A router establishes which interface a packet is sent to, via routing process
- Forwarding decisions involves
- Destination address requirements
- Service such packet filter
- Routers use routing for destinations
- Routing has 2 type
- Static Routing (Non-Adaptive Routing).
- Adaptive or Dynamic Routing
Routing Types
- Non-Adaptive Routing(Static routing)
- Estimates traffic
- Does useful is traffic
- Path is set
- Manual
- Troubleshooting.
- Uses Static is Poor internet stategy
- Adaptive Routing(Routing)
- reflect Changes to traffic
- such topology
Dynamic Routing Algorithms
- Dynamic routing algorithms ask Where do they get their information and routes
- From agents
- Ask when the metrics
- Such is second Load of times
Issues with Protocols
- Path Determination has procedures
- Protocol uses to pathing
- Metric has such reliability best with count
- Numbers are bad
- Convergence that view with
- Takes time
- Load balancing can be used with packet router
- There are Distances Protocols
- Link State protocols
Distance Vector Protocols
- Decisions is of distance
- Numbers measured is hops
- router through has hops
- Send routers in networks
- Router RIP is uses one
- Router IGRP
Link-State Routing
- Also called shortest-path-first protocols
- Complete picture to router
- Separate tables
- Uses details to connect
- Topology to network
- Actual table
- Routing connects the links
- OSPF -IS-IS
- EIGRP
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.