Routing Flashcards
What is a router?
A router is a device that forwards data packets between different networks based on their IP addresses.
How does a router determine where to send a packet?
A router uses its routing table to determine the best path to send a packet to its destination.
What is a routing table?
A routing table is a database that stores routes and their corresponding next-hop addresses, helping routers decide where to forward packets.
What are static routes?
Static routes are manually configured routes in a router’s routing table that direct packets to specific destinations.
What are dynamic routes?
Dynamic routes are automatically learned and updated by a router using routing protocols like RIP, OSPF, or BGP.
What is the difference between a Layer 2 and Layer 3 switch?
A Layer 2 switch operates at the data link layer and forwards frames based on MAC addresses, while a Layer 3 switch can also perform routing based on IP addresses.
What is NAT in a router?
NAT in a router allows multiple devices in a local network to share a single public IP address for accessing external networks like the internet.
What is the difference between a router and a switch?
A router connects different networks and forwards packets between them, while a switch connects devices within the same network and forwards frames based on MAC addresses.
What is the purpose of a router in a home network?
In a home network, a router typically connects the local network to the internet and handles IP addressing, NAT, and routing.
What is routing protocol?
A routing protocol is a set of rules used by routers to determine the best path for forwarding packets across networks.
What is the function of the default gateway in a network?
The default gateway is the router’s IP address used by devices in the local network to access external networks.
How does a router improve network performance?
A router improves performance by directing traffic efficiently, reducing congestion and managing data flow between networks.
Can routers be used for wireless networking?
Yes, wireless routers provide both wired and wireless connectivity, allowing devices to connect via Wi-Fi.
What is IP forwarding in a router?
IP forwarding is the process of passing packets from one network interface to another based on the destination IP address.
What is the purpose of a router in a VPN?
In a VPN, routers route traffic securely between a remote client and a private network, often using encryption and tunneling protocols.