0% found this document useful (0 votes)
12 views2 pages

IPv4 Addressing and Routing Protocols

The document discusses IPv4 addressing and routing protocols such as OSPF and RIP, which allow routers to share routing information with neighboring routers. It explains how new subnets can be added dynamically and how IP addresses are classified into different classes based on their network ID. Additionally, it includes a quiz section to test knowledge on IP addressing and routing concepts.

Uploaded by

bnhatm216
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views2 pages

IPv4 Addressing and Routing Protocols

The document discusses IPv4 addressing and routing protocols such as OSPF and RIP, which allow routers to share routing information with neighboring routers. It explains how new subnets can be added dynamically and how IP addresses are classified into different classes based on their network ID. Additionally, it includes a quiz section to test knowledge on IP addressing and routing concepts.

Uploaded by

bnhatm216
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

3

Session IPv4 Addressing

ÎÎ Now, routing protocols such as OSPF or RIP enable the router to share its data with its neighbors.

ÎÎ Thus, other routers like R2 are now aware of the routes connected through R1 and hosts linked to
R1.

ÎÎ In case a new subnet is added, R3 is connected to [Link], it sends a message using


Dynamic Routing protocol to its neighbouring routers (R2).

ÎÎ All the routing protocols allow modifying the table in case of any new addition. Thus, a new route
is created.

ÎÎ R1 chooses the new path and makes the next hop towards another router.

ÎÎ For IP routing, the following protocols are used such as Border Gateway Protocol (BGP),
Intermediate System – Intermediate System (IS-IS), Open Shortest Path First (OSPF), Routing
Information Protocol (RIP).

ÎÎ IP addresses are of 32 bits and can be grouped into classes based on the number of bits provided
to Network ID - Class A, Class B, Class C, Class D and Class E.

ÎÎ For a packet to reach to the destination host, it connects to the closest router and uses its routing
table to identify the best path.
Concepts

V 1.0 © Aptech Limited


3
Session IPv4 Addressing

3.5 Check Your Progress


1. Which class includes the IP address [Link]?

(A) Class A (C) Class C

(B) Class B (D) Class D

2. The default subnet mask of the IP address [Link] is ________.

(A) [Link] (C) [Link]

(B) [Link] (D) [Link]

3. Which of the following fields of IP header are responsible for checking whether a packet is corrupted
or not?

(A) Time To Live (C) Fragment Offset

(B) Header Checksum (D) Identification

4. Which of the following Routing Protocols is NOT an Interior Gateway protocol?

(A) BGP (C) OSPF

(B) IS-IS (D) RIP

5. Which of the following is used by a router to find its destination IP address when a physical address
is known?

(A) Domain Name System (C) Address Resolution Protocol

(B) Routing Table (D) Network Address Translation


Concepts

V 1.0 © Aptech Limited

Common questions

Powered by AI

Routers determine the best path for a packet using their routing tables, which are regularly updated by dynamic routing protocols like OSPF and RIP. The routing table contains possible routes, and the router evaluates these routes based on metrics such as hop count, link cost, or path bandwidth, selecting the optimal path that ensures efficient data transmission from the source to the destination .

BGP, or Border Gateway Protocol, is used primarily for routing between autonomous systems (ASes) over the internet, making it an Exterior Gateway Protocol. Unlike Interior Gateway Protocols like IS-IS and OSPF, which operate within a single AS and are designed to manage data routing on much smaller, controlled networks, BGP handles very large sets of routing tables and can manage policies that govern the exchange of routing information between ASes .

A network administrator might prefer using OSPF over RIP in scenarios where a hierarchical organization of the network is needed, such as in large and complex networks. OSPF supports variable-length subnet masking and has no hop count limitation, unlike RIP which only has a maximum limit of 15 hops. Additionally, OSPF uses a link-state routing algorithm providing faster convergence and more efficient and flexible network advertisement and traffic engineering capabilities .

The 32-bit structure of an IPv4 address divides the address into different classes (Class A, B, C, D, and E) based on the number of bits allocated for the Network ID. For instance, Class A addresses use the first 8 bits for the Network ID, Class B uses 16 bits, and Class C uses 24 bits. This classification affects the number of possible networks and hosts per network, allowing for scalability in network design depending on size requirements .

Routers utilize the header checksum field of an IP header to verify that the header information has not been altered during transit. This field is calculated at each router hop and any discrepancy in the checksum might indicate corruption, prompting routers to discard the corrupted packet to prevent erroneous data transmission .

When a new subnet is added and router R3 is connected, dynamic routing protocols use message broadcasting to notify neighboring routers, such as R2, of this change. The protocols then allow updates to be made to the routing tables, creating a new route that includes this subnet. This communication ensures seamless integration of the new subnet into the network's routing strategies .

Dynamic routing protocols like OSPF and RIP enable routers to automatically share their routing tables with neighboring routers, ensuring that the network is aware of all available paths. When a new subnet is added, such as connecting R3 to a new IP address, dynamic routing protocols automatically update the routing tables, facilitating the discovery of the optimal path without manual reconfiguration. This automatic update capability allows for more efficient network management and reduces the likelihood of errors in the routing tables .

Class A IP addresses have a default subnet mask of 255.0.0.0, Class B uses 255.255.0.0, and Class C applies 255.255.255.0. These subnet masks determine the number of hosts in each subnet, thereby influencing network design. Class A allows for a larger number of hosts, making it suitable for large organizations, while Class C accommodates fewer hosts but provides more subnets, ideal for smaller, segmented networks .

Subnetting divides a large IP network into smaller, manageable sub-networks (subnets), allowing for improved IP address allocation efficiency and reducing waste. It enables networks to segregate traffic without requiring additional IP addresses, optimize resource use, and enhance security and performance by isolating network segments .

Routers use the Address Resolution Protocol (ARP) to map a known physical (MAC) address to an IP address. When a router only knows the physical address of the destination, ARP packets can be broadcasted to resolve the corresponding IP address, enabling the router to make informed forwarding decisions .

You might also like