Summary of "Lec-15: Routers in Computer Networks | Physical, data link and network layer device"
Main ideas / concepts covered
Routers and the Internet (core context)
- When the video says “Router”, it typically means a device used for the Internet.
- Internet definition: a collection of different networks.
- Contrast with other LAN devices:
- Bridges/Switches are associated with LANs (Local Area Networks).
- Routers are associated with WANs (Wide Area Networks), especially for Internet connectivity.
Layer at which each device operates
- Bridges: typically 2 layers — Physical + Data Link
- Switches: 2 layers — Physical + Data Link
- (may also be used at Layer 3 in some cases)
- Routers: work on 3 layers — Physical + Data Link + Network
- Key emphasis: the Network layer device is the Router (most important for Layer 3 networking).
Addressing: MAC vs IP
- At the Data Link level, devices (including routers) can check MAC addresses.
- At the Network/Internet level, routers also use IP addresses.
- The video emphasizes:
- MAC addresses are used within local networks (e.g., within an organization).
- IP addresses are used across the Internet/WWW to access services like:
- Google, Facebook, YouTube, Amazon
Forwarding (packet sending decision)
- Forwarding meaning: sending a packet from Network A to Network B using the appropriate next direction.
- Example described:
- Host H_A in Network A sends a packet to host H_B in Network B.
- Source address: IP of H_A
- Destination address: IP of H_B
- Routers decide whether and where to forward using a Routing Table.
- A Routing Table contains information about which connected networks exist and where packets should go next.
- Clarification:
- Even if a diagram shows only two ports/networks, routers can connect multiple networks.
- The routing table determines the correct direction for each packet.
Flooding (when routing decision is not possible)
- If the router cannot decide the outgoing direction, it uses Flooding.
- Flooding means sending the packet in all directions (compared to broadcasting).
Filtering (dropping/stopping packets)
- Filtering meaning: router can stop a packet instead of forwarding it.
- Example: ARP Request
- ARP (Address Resolution Protocol) resolves an IP address to a MAC address.
- Scenario:
- A host wants the MAC address of the router (default gateway).
- The host has the IP of the gateway but not its MAC.
- The host sends an ARP Request: “I have this IP; whose MAC corresponds to it?”
- Router behavior:
- The router does not forward the ARP request because ARP works only within the same network.
- Term linkage:
- If the router forwards the packet → Forwarding
- If the router stops/drops it → Filtering
- Claim: routing table/rules allow the router to either forward correctly or stop.
Routing (using routing protocols)
- Routers rely on routing tables, maintained using routing protocols.
- Mentioned protocol(s):
- RIP Protocol
- Distance Vector Routing Protocol (referenced as part of routing; more details deferred)
Collision domain and store-and-forward
- The video emphasizes that inside a router:
- packets do not collide
- Reason: Store and Forward
- The router stores packets in memory,
- uses the routing table to process them,
- then forwards them.
- Because packets are buffered/processed rather than transmitted simultaneously in the same collision domain, collisions are avoided.
Router interface IP addressing
- A router connected to Network A and Network B:
- each router interface is assigned an IP address from its directly connected network.
- Clarification:
- The router does not “bring” IP addresses from elsewhere.
- For the interface on Network A: assign one of the IPs of Network A
- For the interface on Network B: assign one of the IPs of Network B
- Outcome: the two networks can communicate through the router.
Methodology / instructions mentioned
Forwarding procedure (conceptual)
When a packet arrives at the router:
- Examine the packet’s destination IP address (Internet context)
- Consult the Routing Table
- Determine the next direction/next network/next hop
- Forward the packet accordingly
Note: the routing decision supports multiple connected networks, not only two.
Flooding procedure (when routing is unclear)
- If the routing table / next direction cannot be determined:
- send the packet to all directions/ports (flooding/broadcast-like behavior)
Filtering procedure (when a packet should not leave the network)
- If a packet belongs to a scope where it must not cross networks (example: ARP requests):
- stop/drop it at the router
Distinction:
- Forwarding = send onward
- Filtering = stop at the router
Store-and-forward operation (collision avoidance)
- Router behavior:
- store incoming packets in memory
- process the routing decision using the routing table
- forward after processing
- Result: reduced/avoided packet collisions inside the router.
Assigning IP addresses to router interfaces
- For each router interface:
- assign one IP address from the directly connected network
- do not use IP addresses belonging to other networks for that interface
Speakers / sources featured
- Speaker: Not explicitly named (video is an instructor lecture).
- Sources/Protocols mentioned:
- ARP (Address Resolution Protocol)
- RIP (Routing Information Protocol)
- Distance Vector Routing Protocol
Category
Educational
Share this summary
Is the summary off?
If you think the summary is inaccurate, you can reprocess it with the latest model.
Preparing reprocess...