Static Routing: Configuration and Troubleshooting

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Which of the following is an advantage of using static routing over dynamic routing?

  • Lower administrative overhead in large networks
  • Automatic adjustment to network changes
  • Automatic route summarization
  • Better security due to routes not being advertised (correct)

What is a primary disadvantage of static routing?

  • Time-consuming initial configuration and maintenance (correct)
  • Incompatibility with smaller networks
  • High bandwidth usage
  • Automatic route updates

In which scenario is static routing most appropriate?

  • A small network with minimal expected growth (correct)
  • A large, rapidly changing network
  • A network with multiple redundant paths
  • A network using only dynamic routing protocols

What is the purpose of a 'Gateway of Last Resort' in a network?

<p>To provide a default route for a stub network. (D)</p> Signup and view all the answers

Which type of static route is used to connect to a specific network?

<p>Standard static route (D)</p> Signup and view all the answers

What is the destination IPv4 address for a default static route?

<p>0.0.0.0 (B)</p> Signup and view all the answers

What is the primary benefit of using a summary static route?

<p>To reduce the number of advertised routes. (D)</p> Signup and view all the answers

What is the purpose of a floating static route?

<p>To provide a backup route in case of a primary route failure. (B)</p> Signup and view all the answers

Which parameter is used in the ip route command to specify the destination network?

<p>network-address (D)</p> Signup and view all the answers

In the ip route command, what does the exit-intf parameter represent?

<p>The outgoing interface to forward packets (D)</p> Signup and view all the answers

What is a 'next-hop route' in static routing?

<p>A route where only the IP address of the next router is specified. (B)</p> Signup and view all the answers

What defines a 'directly connected static route'?

<p>Specifying only the router exit interface. (D)</p> Signup and view all the answers

Which characteristic applies to a 'fully specified static route'?

<p>Both the next-hop IP address and exit interface are required. (C)</p> Signup and view all the answers

Why might a fully specified static route be preferred over a next-hop route?

<p>Provides more control over the path and is necessary on multi-access interfaces because it explicitly identifies the next hop. (C)</p> Signup and view all the answers

Which command is useful for verifying static routes?

<p>show ip route (C)</p> Signup and view all the answers

Besides ping and traceroute, which command specifically displays static routes in the routing table?

<p>show ip route static (B)</p> Signup and view all the answers

When troubleshooting connectivity issues with static routes, which command helps identify if a specific network is reachable?

<p>show ip route network (A)</p> Signup and view all the answers

What parameters are used in the ip route 0.0.0.0 0.0.0.0 command?

<p>ip-address or exit-intf (A)</p> Signup and view all the answers

What does the output Gateway of last resort is 172.16.2.2 to network 0.0.0.0 indicate?

<p>A default route configured with 172.16.2.2 as the next hop (A)</p> Signup and view all the answers

In classful addressing, which IP address range belongs to Class B?

<p>128.0.0.0 - 191.255.255.255 (B)</p> Signup and view all the answers

Which of the following IPv4 address ranges is reserved for multicast addresses?

<p>224.0.0.0 - 239.255.255.255 (A)</p> Signup and view all the answers

Why is classful addressing considered inefficient?

<p>It wastes IP addresses due to fixed network sizes. (D)</p> Signup and view all the answers

What does CIDR (Classless Inter-Domain Routing) accomplish?

<p>It simplifies IP address assignment and reduces routing table size. (D)</p> Signup and view all the answers

What is another term for route summarization when using CIDR?

<p>Supernetting (D)</p> Signup and view all the answers

What is a key characteristic of CIDR in relation to classful addressing?

<p>It ignores the limitations of classful boundaries. (D)</p> Signup and view all the answers

What is the purpose of route summarization?

<p>To reduce the size of routing tables and decrease the number of routing updates. (B)</p> Signup and view all the answers

What are the two main benefits of implementing route summarization in a network?

<p>Reduced routing table size and fewer routing updates (C)</p> Signup and view all the answers

What is VLSM (Variable Length Subnet Masking)?

<p>Using different subnet masks for different subnets within the same network address. (D)</p> Signup and view all the answers

With VLSM, what can be done after a network address is subnetted?

<p>Those subnets can be further subnetted. (C)</p> Signup and view all the answers

If a router is unable to resolve the next-hop IP address of a static route through an exit interface, what happens to the static route?

<p>The static route is not included in the routing table. (D)</p> Signup and view all the answers

When troubleshooting a missing static route where connectivity is failing, which command is best to use first?

<p>ping (A)</p> Signup and view all the answers

After confirming that a destination is unreachable, what is the next appropriate step in troubleshooting static routes?

<p>Investigate the routing table for missing or misconfigured routes. (A)</p> Signup and view all the answers

What is the default administrative distance of statically configured routes?

<p>1 (D)</p> Signup and view all the answers

How can you configure a floating static route?

<p>By setting its administrative distance to a higher value than the primary route. (C)</p> Signup and view all the answers

Which command is used to check if the routing table is using the default route?

<p>show ip route (B)</p> Signup and view all the answers

What action should be taken immediately after identifying a routing loop due to misconfigured static routes?

<p>Investigate the routing table of the router exhibiting the forwarding pattern. (A)</p> Signup and view all the answers

What command can be used to trace the path a packet takes through the network?

<p>traceroute (B)</p> Signup and view all the answers

What type of route would be most helpful when connecting to the Internet?

<p>Default Static Route (D)</p> Signup and view all the answers

Which command displays directly connected networks?

<p><code>show ip route connected</code> (A)</p> Signup and view all the answers

Which of the following static route types would be best to use when the administrator wants to configure a backup route that is only used when the primary route goes down?

<p>Floating Static Route (C)</p> Signup and view all the answers

Flashcards

Manual Static Routes

Remote networks are manually entered into the route table.

Dynamic Routing

Remote routes are automatically learned using a dynamic routing protocol.

Advantages of Static Routing

Better security because static routes aren't advertised. Less bandwidth usage. Known data path.

Disadvantages of Static Routing

Time-consuming setup, error-prone, doesn't scale well, requires network knowledge.

Signup and view all the flashcards

Uses for Static Routes

Smaller networks, stub networks, and default routes.

Signup and view all the flashcards

Static Route Applications

Connect to specific networks, gateway of last resort, reduce route advertisements, create backup routes.

Signup and view all the flashcards

Default Static Route

A route that matches any destination IP address.

Signup and view all the flashcards

Summary Static Route

Summarize contiguous networks with a single route.

Signup and view all the flashcards

Floating Static Route

Backup route for primary route failure.

Signup and view all the flashcards

Network Address (ip route)

Destination network address.

Signup and view all the flashcards

Subnet Mask (ip route)

Defines which addresses the route applies to.

Signup and view all the flashcards

Next-Hop IP Address (ip route)

Next router's IP address.

Signup and view all the flashcards

Exit Interface (ip route)

Outgoing interface used to forward.

Signup and view all the flashcards

Next-Hop Route

Only next-hop IP address is specified.

Signup and view all the flashcards

Directly Connected Static Route

Router exit interface is specified.

Signup and view all the flashcards

Default Administrative Distance

Administrative distance to 1

Signup and view all the flashcards

Fully Specified Static Route

Next-hop IP and exit interface specified.

Signup and view all the flashcards

Default Static Route Address

Matches any network address and subnet

Signup and view all the flashcards

Primary Static Route Uses

Ease maintenance in small unchanging networks, routing to/from stub networks, single default route.

Signup and view all the flashcards

Display Routing Table

show ip route

Signup and view all the flashcards

Display Static Routes

show ip route static

Signup and view all the flashcards

Static Route Benefit

Routing table maintenance in smaller networks

Signup and view all the flashcards

Route Summarization

Advertise a contiguous set of addresses as a single, less-specific address.

Signup and view all the flashcards

CIDR(Classless Inter-Domain Routing)

Form of route summarization synonymous with supernetting.

Signup and view all the flashcards

Benefit of CIDR

Does not observe original classful boundaries

Signup and view all the flashcards

Calculate Summary Route

Binary format, count matching far left bits, copy bits and add zero bits

Signup and view all the flashcards

Administrative distance

Greater than primary route.

Signup and view all the flashcards

IOS troubleshooting

Ping, traceroute, show IP route.

Signup and view all the flashcards

Ping Command

Confirm destination unreachable

Signup and view all the flashcards

Traceroute Command

Closest router fails to respond

Signup and view all the flashcards

Study Notes

Chapter 1: Static Routing

  • Static routing implementation involves the manual entry of remote networks into a router's routing table.
  • Static and default routes must be configured.
  • A review of CIDR (Classless Inter-Domain Routing) and VLSM (Variable Length Subnet Masking) is required.
  • Summary and floating static routes are required.
  • Troubleshooting of static and default route issues should be performed.
  • Advantages and disadvantages of static routing are: better security, less bandwidth usage, and known data paths, but time-consuming configuration, error-prone setup, and poor scaling.
  • IPv4 and IPv6 static routes can be configured by specifying a next-hop address.
  • IPv4 and IPv6 default routes can be configured.
  • CIDR replaces classful addressing.
  • Hierarchical addressing schemes can be designed and implemented.
  • IPv4 and IPv6 summary network addresses reduce routing table updates.
  • A floating static route provides a backup connection.
  • When a static route is configured, routers process packets in a certain way.
  • Static and default route configuration issues that are common need to be troubleshooted
  • Dynamic routing involves the automation of remote routes using a dynamic routing protocol.

Why Use Static Routing?

  • Static routes are not advertised over the network, increasing security.
  • Less bandwidth is used by static routes compared to dynamic routing protocols. Static routes do not require CPU cycles to calculate and communicate routes.
  • The path that is used by a static route to send data is well-known.
  • Initial configuration and maintenance can be time-consuming.
  • Configuration is error prone, especially in large networks.
  • Requires admin intervention to maintain changing route information.
  • Does not scale well with growing networks.
  • Complete knowledge of the whole network is required for proper implementation.

When to Use Static Routes

  • Routing table maintenance in smaller networks improves with static routes. Especially for those networks not expected to grow significantly.
  • Routing to and from stub networks makes use of static routes, where a router has no other neighbors.
  • A single default route represents a path to any network, and are used to send traffic to any destination beyond the next upstream router.

Static Route Applications

  • Static routes connect to specific networks.
  • A Gateway of Last Resort can be implemented for a stub network.
  • The number of routes advertised can be reduced by summarizing contiguous networks as one static route.
  • Backups can also be created in case primary routes fail.

Types of Static Routes

  • Standard static routes connect to a stub network.
  • Default static routes match all packets and identify the gateway to which a router sends all IP packets for which it don't have learned routes. They use an IPv4 address of 0.0.0.0/0.
  • Summary static routes use one static route, such as representing the networks 172.20.0.0/16, 172.21.0.0/16, 172.22.0.0/16, and 172.23.0.0/16 with the single summary route of 172.20.0.0/14.
  • Floating static routes are used to provide a backup path to a primary route. They are only used if the primary route cannot be found. Floating routes have a higher administrative distance, so the primary route is used in preference.

IPv4 Static Routes

  • The ip route command configures IPv4 static routes.

ip route Command Syntax

  • Router(config)#ip route network-address subnet-mask {ip-address | exit-intf} configures IPv4 static routes.
  • network-address is the destination network address of the remote network to be added to the routing table.
  • subnet-mask is the subnet mask of the remote network to be added to the routing table. It can also be modified to summarize a group of networks.
  • ip-address is the next-hop router's IP address and it's typically used when connecting to a broadcast media (Ethernet). It also commonly creates a recursive lookup.
  • exit-intf uses an outgoing interface to forward packets to the destination network. It is also referred to as a directly attached static route, and is typically used when connecting in a point-to-point configuration.

Next-Hop Options

  • The next hop is identified by an IP address, exit interface, or both.
  • The destination specified determines the following route types:

IPv4 Route Types

  • Next-hop route: Only the next-hop IP address is specified.
  • Directly connected static route: Only the router exit interface is specified.
  • Fully specified static route: Both the next-hop IP address and exit interface are specified.

Route Verification

  • show ip route, show ip route static, and show ip route network are commands used to verify static routes. ping and traceroute are also useful.

Default Static Route

  • A default static route matches any packets
  • Identifies the gateway IP address to which the router sends all IP packets.
  • Is a static route with 0.0.0.0/0 as the destination IPv4 address

Classful Addressing

  • Class A addresses have a range from 0.0.0.0 to 127.255.255.255 and start with 0xxxxxxx.
  • Class B addresses have a range from 128.0.0.0 to 191.255.255.255 and start with 10xxxxxx.
  • Class C addresses have a range from 192.0.0.0 to 223.255.255.255 and start with 110xxxxx.
  • Multicast addresses have a range from 224.0.0.0 to 239.255.255.255 and start with 1110xxxx.
  • Reserved addresses have a range from 240.0.0.0 to 255.255.255.255 and start with 1111xxxx.

Classful Subnet Masks

  • Class A uses a subnet mask of /8, or 255.0.0.0
  • Class B uses a subnet mask of /16, or 255.255.0.0
  • Class C uses a subnet mask of /24, or 255.255.255.0

Classless Inter-Domain Routing (CIDR)

  • CIDR is also known as efficient.

Route Summarization

  • It summarizes a supernet route. Route aggregation advertises a contiguous set of addresses as a single address with a less-specific subnet mask.
  • CIDR is a form of route summarization and is synonymous with the term supernetting.
  • Summarization help to reduce the number of entries in routing updates and lowers the number of entries in local routing tables.

Fixed Length Subnet Masking (FLSM)

  • Basic subnet schemes are supported.

Variable Length Subnet Masking (VLSM)

  • Uses subnets of varying sizes.
  • VLSM allows different masks for each subnet and are further subnetted.
  • VLSM is subnetting a subnet, and can be thought of as the addresses of "sub-subnets"

IPv4 Summary Routes

  • Steps to calculate a route: listing networks in binary format, counting the number of far left matching bits to determine the mask, and copying the matching bits and add zero bits to determine the network address.

Floating Static Routes

  • Floating static routes have an administrative distance greater than other routes.
  • The administrative distance of a static route is increased to make the route less desirable than another.
  • These static routes "float" and are not used, but take over if the preferred route is lost.
  • Can be tested using various commands and methods such as show ip route, traceroute, or disconnecting primary links

Troubleshooting Routes

  • Common IOS troubleshooting commands include ping, traceroute, show ip route, show ip interface brief, and show cdp neighbors detail.
  • Connectivity problems can be solved in a methodical process that confirms a destination unreachable, reveals the closest router for unexpected response, looks at configuration, or incorrect routes.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Module 15: IP Static Routing
43 questions
Module 15: IP Static Routing
43 questions
Chapter 7: Static Routing Quiz
39 questions
Use Quizgecko on...
Browser
Browser