A hub is a basic networking device that operates at the physical layer (Layer 1) of the OSI model. It is used to connect multiple devices within a network, typically in a local area network (LAN) topology.
The hub broadcasts data to all connected devices, which is simple but inefficient, as each device receives the same data, regardless of whether it is intended for them. This broadcast method can lead to network congestion in certain topologies.
In this Cisco Packet Tracer setup, a hub connects five PCs, broadcasting data from any PC to all others. This setup illustrates a hub's basic function, where data is shared across all devices
A switch, functioning at the data link layer (Layer 2) of the OSI model, is an upgraded version of a hub. Unlike a hub, a switch can intelligently direct data to the specific device it is meant for by using the MAC address of the destination.
This method minimizes network congestion and enhances performance by sending data only to the intended recipient, instead of broadcasting it to all devices on the network.
In this Cisco Packet Tracer configuration, a switch links five PCs. When one PC sends data, the switch ensures that the data is forwarded only to the intended recipient, instead of broadcasting it to all devices on the network.
The router connects different networks and facilitates data transfer between them. Operating at the network layer of the OSI model, it plays a vital role in forwarding data packets based on IP addresses.
This section demonstrates how the router directs traffic across various network segments, an important concept in larger network architectures.
In this Cisco Packet Tracer configuration, a router is linked to two switches and a hub. Each switch is connected to five PCs, while the hub is connected to a laptop. Illustrates a basic network where the router serves as a central point for inter-network communication
Static routing is a key concept in networking where the network administrator manually sets the routes in a router's routing table. Unlike dynamic routing, which automatically adjusts routes based on network changes and traffic conditions, static routing requires the administrator to define the specific path for data packets to reach their destination.
This approach is straightforward, predictable, and works well for smaller networks or situations where the network topology remains stable. Static routes are often used when complete control over routing decisions is needed, such as when configuring routes between different subnets or across multiple routers in a network.
In this static routing demonstration, the network consists of a router, two switches, and two PCs, each connected to a different switch. Static routing is configured on the router to enable communication between the PCs on separate subnets.By setting static routes, the router forwards packets between subnets based on predefined paths, updating its routing table to direct data flow between the PCs across different network segments.
TOPOLOGY
This network topology includes three routers (Router9, Router10, and Router 11 Fa0/0), three switches (Switch0, Switch1, and Switch2), and six PCs (PC0 to PC5). Each router connects to a switch, which then links to specific PCs, forming three separate network segments. Router10 serves as the main router, connecting Router9 and Router 11 Fa0/0, enabling communication across these networks. To achieve connectivity between these isolated segments, static routes are configured manually on each router. This setup uses static routing to direct traffic across network segments, allowing PCs on different networks to interact.
For instance, when a packet is sent from PC0 to PC5, it follows a specific route through Router9, Router10, and 11 Fa0/0. Each router must have accurate static routing configurations to pass the packet to the next router and finally to the target network. This arrangement highlights the limitations of static routing, where routes require manual setup and maintenance. Because of this, static routing is generally best for smaller or simpler networks, as it doesn’t offer the automatic adjustments of dynamic routing protocols.