Configuring Static Routing Flashcards

1
Q

A router must perform what actions to route data?

A

Identify the destination of the packet: Determine the destination network address of the packet that needs to be routed by using the subnet mask.

Identify the sources of routing information: Determine from which sources a router can learn paths to network destinations.

Identify routes: Determine sources from which a router can learn paths to network destinations.

Select routes: Select the best path to the intended destination.

Maintain and verify routing information:Update known routes and the selected route according to network conditions.

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

What are the two ways routers can learn where to forward packets to destination networks that are not directly connected?

A
  • You can enter destination network information manually, also known as a static route.
  • Routers can learn destination network information dynamically through a routing protocol process that is running on the router.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the characteristics of static routes?

A

Static routes:

  • A network administrator manually enters static routes into the router.
  • A network topology change requires a manual update to the route.
  • Routing behavior can be precisely controlled.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the characteristics of dynamic routes?

A

Dynamic routes:

  • A network routing protocol automatically adjusts dynamic routes when the topology or traffic changes.
  • Routers learn and maintain routes to the remote destinations by exchanging routing updates.
  • Routers discover new networks or other changes in the topology by sharing routing table information.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When should you use static routes and when should you not?

A

Use static routes In these situations:
- In a small network that requires only simple routing
- In a hub-and-spoke network topology
- When you want to create a quick ad hoc route
- Common use is a default static route

Do not use static routes In these situations:
- In a large network
- When the network is expected to scale

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

What is the command to configure a static route to the next-hop IPv4 Address?

A

RouterA(config)# ip route 172.16.1.0 255.255.255.0 172.16.2.1

Destination network = 172.16.1.0 255.255.255.0
IPv4 of the next-hop router = 172.16.2.1

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

What is a host route and how is it configured?

A

A host route is a static route for a single host. A host route has a subnet mask of 255.255.255.255.

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

What is a floating static route and how is it configured?

A

A floating static route is a static route with administrative distance greater than 1.

RouterA(config)# ip route 172.16.1.0 255.255.255.0 172.16.2.1 10

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

What is a default static route and how do you configure one?

A

A default static route is a route that matches the destination address of all packets that don’t match any other more specific routes in the routing table.

RouterB(config)# ip route 0.0.0.0 0.0.0.0 172.16.2.2
OR
RouterB(config)# ip route 0.0.0.0 0.0.0.0 serial0/0/1

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

What is a default static route used for?

A

Default static routes are used in these instances:

  • When no other routes in the routing table match the destination IP address of the packet or when a more specific match does not exist. A common use for a default static route is to connect the edge router of a company to an ISP network.
  • When a router has only one other router to which it is connected. This condition is known as a stub router.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a quad-zero route?

A

The 0.0.0.0 network address and 0.0.0.0 subnet mask are called a quad-zero route.

For example: RouterB(config)# ip route 0.0.0.0 0.0.0.0 172.16.2.2

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

What is the command to verify static routes in the routing table?

A

show ip route

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

What is true of a routing table before static or dynamic routing can be used?

A

Routing tables must contain directly connected networks that are used to connect remote networks before static or dynamic routing can be used. This means that a route will not appear in the routing table of the router if the exit interface used for that specific route is disabled (administratively down) or does not have an IP address assigned. The interface state needs to be up/up.

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

When viewing the routing table on a Cisco router, what denotes that a route is a static route and what denotes that a route is the default route?

A

A static route is marked with the “S” code.

The asterisk (*) indicates that the route is a candidate default route.

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

What is the command to enable IPv6 routing on a Cisco router?

A

Router(config)# ipv6 unicast-routing

NOTE: If this command is not enabled, then locally connected routes still work, but the router will not route anything to other networks. (Learned this during the CBT Nuggets IPv6 Lab!)

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

What is the command to configure a static IPv6 route using a link-local next hop address?

A

Router# configure terminal
Router(config)# ipv6 unicast-routing
Router(config)# ipv6 route 2001:0db8:beef::/32 fa1/0 fe80::2

NOTE: Since the next hop address is link-local, we must also specify the exit interface.

17
Q

What is the command to configure a static IPv6 route using a global address?

A

Router# configure terminal
Router(config)# ipv6 unicast-routing
Router(config)# ipv6 route 2001:0db8:beef::/32 2001:0db8:feed::1

18
Q

What is the command to configure a default IPv6 route?

A

Branch(config)# ipv6 route ::/0 2001:db8:d1a5:c900::2
(config)# ipv6 route ::/0 [outgoing-interface] ipv6-next-hop

NOTE: When the next hop is a link-local address, the outgoing interface must be specified.