Routing - Basic Routing Concepts
Introduction to the Internet and Routing
- The Internet is a vast technological achievement connecting millions of networks.
- Enables global communication and data access in fractions of a second.
- Purpose of Routing: Facilitates data communication by directing packets to their destination.
Learning Goals
- Explain the basics of routing and routing tables.
- Define major routing protocols.
- Identify non-routable address space and its applications.
- Understand the RFC (Request for Comments) system and its impact on the Internet.
- Develop troubleshooting skills relevant to networking issues as an IT support specialist.
Overview of Routing
- Routing combines simplicity and complexity:
- High-level concepts are straightforward while underlying mechanics are intricate.
- Extensive literature exists on advanced routing topics.
- Typically, ISPs address the majority of intensive routing issues; large corporations handle their own.
Basic Functionality of Routers
- Definition: A router forwards network traffic based on destination addresses.
- Routers require at least two network interfaces to connect to multiple networks.
- Basic Routing Steps:
- Router receives a data packet on one interface.
- Inspects the destination IP address of the packet.
- Looks up the destination network in its routing table.
- Forwards the packet through the interface closest to the destination network.
- Process repeats until the data reaches its intended destination.
Example of Basic Routing
- Scenario with two networks:
- Network A (Address Space: 192.168.10.0)
- Network B (Address Space: 10.0.0.0)
- Router IPs:
- Network A: 192.168.1.1
- Network B: 10.0.0.254
- Example Process:
- Computer A on Network A (192.168.1.100) sends data to 10.0.0.10.
- The packet is sent to the router via its gateway.
- The router processes the packet and prepares it for forwarding to Network B.
- It decrements the TTL (Time To Live) and recalculates the checksum.
- The packet is encapsulated in a new Ethernet frame and sent out through Network B.
Complicated Routing Scenario
- Introduction of a third network (Network C, Address Space: 172.16.10.0):
- Second router connects Network B and Network C.
- Router IPs on Network B is 10.0.0.1, and on Network C is 172.16.1.1.
- Example Process:
- Computer A sends data to 172.16.1.100.
- Packets are sent through the first router to Network B, then to the second router, and finally to the destination in Network C.
Routing on the Internet
- Realistic routing scenario involves multiple routers, often dozens, processing packets.
- Core Internet routers are interconnected in a mesh to ensure reliability and alternative paths for packet delivery.
Key Takeaway
- The core principles of routing remain consistent:
- Inspect destination IP.
- Consult the routing table for the best path.
- Forward the packet until it reaches its end point.