CN Lab3
CN Lab3
2. Features of Routers:
Traffic management: Routers manage data flow between networks, ensuring efficient
communication.
Security: They protect critical information from security threats.
Network segmentation: Routers divide networks into smaller segments for better organization.
Quality of Service (QoS): Routers prioritize certain types of traffic (e.g., voice or video) over
others.
Load balancing: Routers distribute traffic evenly across multiple paths.
3. Types of Routers:
Wired and wireless routers: Wired routers use cables for data sharing, while wireless routers use
antennas for wireless connections.
Edge routers: These connect external networks (e.g., the Internet) to internal networks.
Distribution routers: They receive data from edge routers and send it to end users (often via Wi-
Fi).
7. Default Gateway:
The default gateway is the router through which devices in network access external networks
(e.g., the Internet). It's the exit point for traffic leaving the local network. Usually, the router's IP
address serves as the default gateway.
Task 1:
Task 2:
Network 1:
Network 2:
Network 3:
Static Routing:
Router 0:
Router 1:
Router 2:
Task 3:
What are the OSI layers and their functions?
Identify each layer devices
The OSI (Open Systems Interconnection) model is a conceptual framework used to understand
network functions. It consists of seven layers, each with specific responsibilities:
Physical layer: This is the lowest layer responsible for the physical connection between
devices. Transfer raw bit streams over physical media. Equipment includes concentrators,
repeaters, modems, and cables.
Data Link Layer: This layer ensures error-free data transmission at the physical layer
between network nodes. It frames the bits and gives the MAC address. Devices include switches
and bridges.
Network layer: Determines the physical path of data based on network conditions, service
priority, and other factors. Routers operate at this layer.
Transport Layer: This layer provides secure data transmission over the network. The latter
is responsible for error recovery and flow control. Divide the data into segments.
Session Layer: Creates, manages, and terminates connections between applications. Monitor
communication (connection) between computers.
Communication Layer: This layer translates data between the application layer and the
network. It is responsible for data encryption and compression.
Application Layer: The upper layer provides network services for user applications. The
layer closest to the end user. The program itself runs in this layer.
Task 4:
Difference between static and dynamic routing.
Static routing and dynamic routing are two methods used to route data packets through the
network. Here's a comparison between the two:
Static Routing:
Routes are manually configured and permanent unless changed by a network administrator.
It does not use complex routing algorithms, making it simpler and more reliable.
Suitable for a small network of routes that do not change frequently.
Routes require less bandwidth because they are not dynamically updated.
Manual configuration can be time consuming and less flexible.
Dynamic routing:
Routes are automatically updated based on network topology changes.
It uses complex routing algorithms to find the best path for data packets.
Suitable for large, continuous variable networks.
This consumes more bandwidth due to the continuous exchange of routing information.
It is more adaptable to network changes but is generally considered more reliable than static
routing.