Static Route Flashcards

1
Q

What is the difference between connected routers and local routers?

A

The terms “connected routers” and “local routers” are not standard networking terminology but can be interpreted based on context. Here’s a breakdown of how these terms might be used:

  1. Connected Routers
    • Definition: Routers that are directly connected to each other via a physical or logical link.
    • Key Characteristics:
    • Share a direct network segment (e.g., Ethernet, serial, or fiber link).
    • Can communicate without requiring an intermediate router.
    • Exchange routing information via dynamic routing protocols (e.g., OSPF, EIGRP, BGP) or static routes.
    • Example:
    • Router A (192.168.1.1/24) is directly connected to Router B (192.168.1.2/24) via a physical interface.
    • They can exchange traffic without needing another router.
  2. Local Routers
    • Possible Meanings:
    1. A router within the local network (e.g., an enterprise or home router managing internal traffic).
    2. A router managing local subnets (e.g., a gateway router that connects an internal network to an external network).
      • Example:
      • A router inside a company’s LAN that routes traffic between VLANs or subnets is considered a “local router.”
      • A home router managing Wi-Fi and wired connections within a house is also a “local router.”

Key Difference:
• Connected routers refer to routers that have a direct physical or logical connection.
• Local routers typically refer to routers within a specific network, managing local traffic rather than acting as a backbone or external gateway.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are router functions?

A

• A router has two main functions:
• Determining the best path to available networks
• Forwarding traffic to those networks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The routing table:

A

• The best available path or paths to a destination network are listed in a router’s routing table and will be used for forwarding traffic
• A routing table consists of directly connected networks and routes configured statically by the administrator or dynamically learned through a routing protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a static route?

A

• If a router receives traffic for a network which it is not directly attached to, it needs to know how to get there in order to forward the traffic
• An administrator can manually add a static route to the destination, or the router can learn it via a routing protocol
ip route 10.0.1.0 255.255.255.0 10.0.0.1
ip route 10.0.2.0 255.255.255.0 10.0.0.1
ip route 10.1.0.0 255.255.255.0 10.0.0.2

A static route is a manually configured route in a network that defines a specific path for traffic to reach a destination. Unlike dynamic routing, which relies on protocols to automatically adjust routes based on network changes, static routes require manual updates if the network topology changes.

Key Features of Static Routes:
• Manually Configured: Network administrators specify the next-hop IP address or exit interface.
• Fixed Path: Traffic always follows the predefined route unless manually changed.
• Simple and Efficient: No additional CPU or memory usage for route calculations.
• No Automatic Failover: If the specified route fails, traffic cannot be rerouted unless an alternative route is manually configured.

When to Use Static Routes:
• When network topology is simple.
• For default routes (e.g., forwarding all unknown traffic to a specific gateway).
• When security is a priority, avoiding dynamic protocol vulnerabilities.
• In small networks where dynamic routing is unnecessary.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Show ip route table command

A

sh ip route

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is summary route ?

A

• For static routing, summary routes lessen administrative overhead and memory usage on the routers

Summarisation doesn’t have to be on classful boundaries
To summarise the range 10.1.0.0 to 10.1.3.0:
• route 10.1.0.0 255.255.252.0 10.0.0.2

Summary Route (Route Aggregation)
• Imagine there are two networks: 192.168.1.0/24 and 192.168.2.0/24.
• Instead of having separate entries for each, we combine them into one broader summary route: 192.168.0.0/22.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Longest prefix match?

A

Longest Prefix Match (LPM)
• Imagine you have two maps: one of a whole country and another of a single city.
• If you want directions to a street, you use the city map because it is more detailed.
• Similarly, the router picks the most specific route when multiple routes match a destination.

Suppose a router has two routes:
• 192.168.1.0/24 (specific)
• 192.168.0.0/16 (general)
• A packet arrives for 192.168.1.10.
• The router checks both routes and picks 192.168.1.0/24 because it is more specific (has a longer prefix).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Load Balancing?

A

• The router has two equal-cost paths to 192.168.3.0/24.
• Instead of using only one, it distributes traffic between both paths.
• This helps in balancing network load and preventing congestion.

Imagine you have two roads leading to the same place.
• If both roads take the same time, you use both to send traffic.
• A router does the same: if it has two equal paths, it splits the traffic between them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is default route or getaway of last resort?

A

ip route 0.0.0.0 0.0.0.0. Getaway adresss

If a router doesn’t have a specific route for a destination, it sends the packet to the default route (0.0.0.0/0).
• This is useful for sending unknown traffic (e.g., internet traffic) to a gateway.

Think of this as asking someone for help when you don’t know the way.
• If the router doesn’t have a specific route, it sends the packet to a default route (like sending all unknown letters to the main post office).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly