WEEK X
IPv4 Routing
IPv4 ROUTING
Fig.: Routing in network
IPV4 HOST ROUTING
ROUTER
FORWARDING DECISIONS AND THE IP ROUTING TABLE
FORWARDING DECISIONS:
.
THE IP ROUTING TABLE
THE DEFAULT GATEWAY
.
Fig.: Working of default gateway
A SUMMARY OF ROUTER FORWARDING LOGIC
Step 1: Use the data-link Frame Check Sequence (FCS) field to ensure
that the frame had no errors; if errors occurred, discard the
frame.
Step 2: Assuming that the frame was not discarded at Step 1, discard
the old data-link header and trailer, leaving the IP packet.
Step 3: Compare the IP packet’s destination IP address to the routing
table, and find the route that best matches the destination
address. This route identifies the outgoing interface of the
router, and possibly the next-hop router IP address.
Step 4: Encapsulate the IP packet inside a new data-link header and
trailer, appropriate for the outgoing interface, and forward the
frame.
A DETAILED ROUTING EXAMPLE
Step A : PC1 sends the packet to its default router.
Step B : R1 processes the incoming frame and forwards the packet
to R2.
Step C : R2 processes the incoming frame and forwards the packet
to R3.
Step D : R3 processes the incoming frame and forwards the packet
to PC2.
ROUTING PROTOCOLS
IPV4 ROUTING PROTOCOLS – STATIC AND DYNAMIC
There are mainly two types of Network Routing Protocols
.
Static Routing Protocols : Static routing protocols are used when an administrator manually assigns the path from source to the destination network. It offers more security to the network.
.
Advantages
.
Disadvantages
Dynamic Routing Protocols : It helps routers to add information to their routing tables from connected routers automatically. These types of protocols also send out topology updates whenever the network changes’ topological structure.
Advantages
Disadvantage
OTHER NETWORK LAYER FEATURES
USING NAMES AND THE DOMAIN NAME SYSTEM
THE ADDRESS RESOLUTION PROTOCOL
.
ICMP ECHO AND THE PING COMMAND
.
.
DHCP : Dynamic Host Configuration Protocol
.
STATIC ADDRESS ASSIGNMENT
DYNAMIC ADDRESS ASSIGNMENT
DHCP SERVERS