Networking Assignment
1. Differentiate between Static Routing and Dynamic Routing
• Static Routing:
- Routes are manually configured by the network administrator.
- Simple and secure but not scalable.
- Does not automatically adjust to network changes.
• Dynamic Routing:
- Routes are learned and updated automatically using routing protocols (e.g., OSPF, RIP,
EIGRP).
- More complex but scalable.
- Automatically adapts to changes in network topology.
2. Define Default Route and Explain Its Use
• Default Route: A route in a router’s table that is used when no specific route to a
destination is found.
• Use: Ensures packets with unknown destinations are forwarded to a next-hop device
(usually an ISP router). It simplifies routing in large or external networks.
3. How Does a Router Forward Packets Between Different Networks?
• The router checks the destination IP address in the packet.
• It searches its routing table for the best match.
• Based on the routing entry, it forwards the packet out of the appropriate interface toward
the next hop until it reaches the destination network.
4. Main Difference Between a Switch and a Router
• Switch: Operates at Layer 2 (Data Link), forwards frames using MAC addresses, and
connects devices within the same network (LAN).
• Router: Operates at Layer 3 (Network), forwards packets using IP addresses, and connects
different networks (LAN to WAN or LAN to LAN).
5. Role of Switches and Routers in a Large Enterprise Network
• Switches: Provide fast local connectivity, create efficient LAN segments, and reduce
collisions.
• Routers: Connect different LANs, manage IP addressing, enforce security policies, and
provide access to external networks like the Internet.
• Together, they ensure scalability, reliability, and efficient communication.
6. Compare Packet Forwarding in a Switch and in a Router
• Switch: Uses a MAC address table to forward frames directly to the destination device
within the same network.
• Router: Uses a routing table and forwards packets to the next hop or destination network
based on IP addresses.
7. How Do Routing Protocols Interact with Switching in Hybrid Devices?
• Hybrid devices (Layer 3 switches) combine both switching and routing.
• Switching provides high-speed local forwarding.
• Routing protocols (like OSPF or EIGRP) enable inter-VLAN routing and communication
between different IP subnets, making the device act as both a switch and a router.
8. Why Is Both Switching and Routing Needed in a Modern Network?
• Switching ensures efficient communication within local networks, reducing congestion.
• Routing enables communication between different networks, external connections, and
Internet access.
• Together, they provide scalability, security, and flexibility for enterprise and service-
provider networks.
9. How Routers and Switches Handle Broadcast and Collision Domains
• Switch:
- Each switch port creates a separate collision domain.
- But all ports in the same VLAN are in the same broadcast domain.
• Router:
- Each interface creates a separate broadcast domain.
- Routers break up broadcast traffic and collision domains, preventing unnecessary traffic
propagation.