Routing Algorithms:
Definition: Routing algorithms determine the best path for data packets to travel from a source to a destination in a computer network.
Shortest Path Routing: Algorithms like Dijkstra's algorithm and Bellman-Ford algorithm calculate the shortest path based on the number of hops or link costs.
Distance Vector Routing: Routing protocols like RIP (Routing Information Protocol) use distance vectors to determine the best path, considering factors like hop count and metrics.
Link-State Routing: Protocols like OSPF (Open Shortest Path First) use link-state databases and SPF (Shortest Path First) algorithm to find the shortest path, considering link costs and network topology.
OSPF (Open Shortest Path First):
Definition: OSPF is an interior gateway protocol (IGP) used for routing within an autonomous system (AS). It is a link-state routing protocol that calculates the shortest path using the Dijkstra algorithm.
Purpose: OSPF enables efficient routing by considering link costs, network traffic, and providing fast convergence in large networks.
Features:
Hierarchical Design: OSPF supports a hierarchical design with areas, reducing the amount of routing information exchanged.
Scalability: OSPF can handle large networks with thousands of routers and adapt to changes in network topology.
Fast Convergence: OSPF has mechanisms like incremental SPF calculation and fast link failure detection for quick convergence.
BGP (Border Gateway Protocol):
Definition: BGP is an exterior gateway protocol (EGP) used for routing between autonomous systems (AS). It is a path-vector protocol that makes routing decisions based on network policies and attributes.
Purpose: BGP enables routing between different autonomous systems and helps in determining the best path based on various factors like path length, policies, and network performance.
Features:
Policy-Based Routing: BGP allows network administrators to define routing policies based on factors like AS path length, community strings, and route attributes.
Scalability: BGP can handle the large-scale internet routing table and is designed to adapt to changes in network topology.
Path Selection: BGP uses path attributes like AS path, next-hop, and local preference to select the best path for routing.
Study Revision Points: Network Topologies and Protocols
Network Topologies:
Definition: Network topologies describe the physical or logical arrangement of devices and connections in a computer network.
Bus Topology: Devices are connected to a single cable, and data is broadcasted to all devices on the network.
Star Topology: Devices are connected to a central hub or switch, and data is transmitted through the hub.
Ring Topology: Devices are connected in a closed loop, and data travels in one direction around the ring.
Mesh Topology: Each device is connected to every other device, providing multiple paths for data transmission.
Ethernet:
Definition: Ethernet is a widely used networking technology that defines the physical and data link layer specifications for wired LAN (Local Area Network) connections.
IEEE 802.3 Standard: Ethernet follows the IEEE 802.3 standard and uses CSMA/CD (Carrier Sense Multiple Access with Collision Detection) for media access control.
Ethernet Frames: Data is transmitted in Ethernet frames, which consist of source and destination MAC addresses, payload, and error checking fields.
Wi-Fi:
Definition: Wi-Fi is a wireless networking technology that allows devices to connect to a local area network without using physical cables.
IEEE 802.11 Standard: Wi-Fi networks adhere to the IEEE 802.11 standard, which specifies the protocols and mechanisms for wireless communication.
Wi-Fi Modes: Wi-Fi