3.3 IPv4 and IPv6 Static Routing Flashcards
Configure and verify IPv4 and IPv6 static routing, including default route, network route, host route, floating statistics. (26 cards)
Define:
static default route
A route for unmatched packets.
It’s configured with ip route 0.0.0.0 0.0.0.0 [next-hop] in IPv4 and ipv6 route ::/0 [next-hop] in IPv6.
List two key characteristics of static default routes.
- They can be configured using the ‘ip route’ command.
- They can be verified with the ‘show ip route’ command.
Static default routes provide a way to direct traffic when no specific route is available and can be easily checked for correctness.
True or False:
A static default route uses the subnet mask 255.255.255.255.
False
A static default route uses the subnet mask 0.0.0.0 0.0.0.0 to match all destinations.
What command confirms an IPv6 static default route was added?
show ipv6 route static
This command displays the current static routes in the IPv6 routing table, allowing verification of configurations.
What does the routing table entry “S 0.0.0.0/0” represent?
A static default route.
The “S” indicates a static route, and 0.0.0.0/0 matches all traffic.
Define:
static host route
A route that directs packets to a specific single IP address.
This is done by specifying a destination IP address with a /32 subnet mask in IPv4.
What is the subnet mask for a static host route in IPv4?
255.255.255.255.
This mask specifies a route for a single IP address, ensuring the packet reaches exactly that destination.
How do you add an IPv6 static host route?
Using “ipv6 route 2020:DBD8:53AB:0001::2/128 S0/0/0”
Setting a subnet prefix of /128 creates a route to a single IPv6 address.
What type of static route acts as a backup in a routing table?
Floating static
A floating static route is configured with a higher administrative distance, allowing it to serve as a backup to a primary dynamic route.
List the steps for verifying the configuration of a static route in IPv6.
- Use show ipv6 route to check static routes.
- Use ping or traceroute to test connectivity.
Verifying ensures the route is active and functional.
True or False:
The ip route 0.0.0.0 0.0.0.0 [next-hop] command is used to configure a static host route.
False
This command configures a default route, not a host route. A host route uses a /32 subnet mask.
What happens if a static route has a higher administrative distance than a dynamic route?
The static route will be ignored unless the dynamic route is unavailable.
The administrative distance determines the preference of a route. If a static route has a higher administrative distance than a dynamic route, the dynamic route will be preferred unless it fails.
What is the default administrative distance for a floating static route?
1
A floating static route has an administrative distance of 1 by default, but this can be adjusted to a higher number to make it less preferred than dynamic routing protocols (e.g., OSPF or EIGRP).
True or False:
A static default route can only be configured with an IPv4 address.
False
Static default routes can be configured for both IPv4 (ip route 0.0.0.0 0.0.0.0 [next-hop]) and IPv6 (ipv6 route ::/0 [next-hop]).
Which command is appropriate for setting an IPv6 static network route?
ipv6 route 2020::2/64 2021::
This command specifies a static network route using an IPv6 address format.
What’s the difference between an IPv6 and an IPv4 static network route?
- IPv6 Static Route: Uses the ipv6 route command.
- IPv4 Static Route: Uses the ip route command.
Both serve the same function of routing traffic to a network, but the syntax and addressing format differ.
What command creates a static host route to a specific IP address?
ip route 10.0.0.12 255.255.255.255 172.16.0.4
A static host route directs traffic to a single IP address, requiring a subnet mask of 255.255.255.255.
How do you configure a static IPv4 network route?
- Use the command ip route [destination_network] [subnet_mask] [next-hop_ip].
- Verify the route using show ip route.
The next-hop IP address or an outgoing interface is specified to reach the destination network.
LIst three accurate statements regarding the configuration and verification of IPv6 network routes.
- The ‘ipv6 route’ command can define the next-hop router.
- Ping and traceroute can confirm static routes in IPv6.
- The ‘ipv6 route’ command can specify the local outgoing interface.
These statements emphasize the capabilities of the ‘ipv6 route’ command in managing IPv6 routing.
What is the purpose of the show ip route command in static routing?
To display the routing table, including static routes.
It helps verify that static routes have been correctly configured.
Fill in the blank:
A static IPv6 host route uses a subnet mask of ______.
/128
A /128 prefix length identifies a specific IPv6 address, just like a /32 prefix in IPv4.
What are two outcomes of using the command ‘ip route 0.0.0.0 0.0.0.0 S0/1/0’?
- It sets up a gateway of last resort.
- It creates a static default route.
This command establishes a fallback path for routing when no other routes are available.
What command configures S0/0/2 as the gateway of last resort?
ip route 0.0.0.0 0.0.0.0 S0/0/2
This command designates S0/0/2 to handle all traffic not explicitly routed elsewhere.
What command is used to establish a floating static route in a network configuration?
ip route 172.16.4.0 255.255.255.0 172.16.7.2 150
A floating static route allows for a static route to be less preferred than a dynamic route by assigning a higher administrative distance.