Chapter 16 - Configuring IPv4 Addresses and Routes Flashcards

1
Q

If one LAN-based host wants to send data to another LAN-based host and that destination host is local, what 2 steps does the sending host take?

A

1) Find the destination host’s MAC address. Use the already known Address Resolution Protocol (ARP) table entry, or use ARP messages to learn the information.
2) Encapsulate the IP packet in a data link frame, with the destination data link address of the destination host.

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

If one LAN-based host wants to send data to another LAN-based host and that destination host is NOT local, what steps does the sending host take?

A

1) Find the default gateway’s MAC address. Use the already known ARP table entry, or use ARP messages to learn the information.
2) Encapsulate the IP packet in a data link frame, with the destination data link address of the default gateway.

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

What’s the 1st step in a router’s routing logic when it receives a data link frame?

A

To choose whether or not to process the frame. Process it if:

1) The frame has no errors (per the data link trailer Frame Check Sequence, or FCS, field)
2) The frame’s destination data link address is the router’s address (or an appropriate multicast or broadcast address).

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

If the router chooses to process a frame once it receives it, what are the next steps in a router’s routing logic?

A

2) De-encapsulate the packet from inside the data link frame.
3) Make a routing decision by comparing the packet’s destination IP address to the routing table and find the route that matches the destination address.
4) Encapsulate the packet into a data link frame appropriate for the outgoing interface. When forwarding out LAN interfaces, use ARP as needed.
5) Transmit the frame out the outgoing interface, as listed in the matched IP route.

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

Paraphrase the 5 steps of a router’s routing logic.

A

The router receives the frame, removes the packet from inside the frame, decides where to forward the packet, puts the packet into another frame, and sends the frame.

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

If a router receives a frame that is not the router’s unicast MAC address for that interface, what does it do with the frame?

A

The router ignores that frame.

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

In a routing table, routes for remote subnets typically list what 2 things?

A

They typically list both an outgoing interface and the next-hop router IP address.

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

In a routing table, routes for subnets that connect directly to the router list only what?

A

The outgoing interface.

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

What does CEF stand for?

A

Cisco Express Forwarding

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

Routers can add routes to their routing tables through what 3 different methods?

A

1) Connected routes
2) Static routes
3) Routing protocols

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

What are connected routes in a routing table?

A

These routes are added because of the configuration of the ip address interface sub-command on the local router.

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

What are static routes in a routing table?

A

These routes are added because of the configuration of the ip route global command on the local router.

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

What are routes added by routing protocols?

A

Added as a function by configuration on all routers, resulting in a process by which routers dynamically tell each other about the network so that they all learn routes.

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

A Cisco router automatically adds a route to its routing table for the subnet connected to each interface, assuming that what two facts are true?

A

1) The interface is in a working state

2) The interface has an IP address assigned through the ip address interface subcommand

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

What are 3 options for connecting a router to each subnet on a VLAN?

A

1) Use a router, with one router LAN interface and cable connected to the switch for each and every VLAN (typically not used).
2) Use a router, with a VLAN trunk connecting to a LAN switch.
3) Use a Layer 3 switch.

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

Because Cisco routers do not automatically negotiate trunking, what command would have to be configured on the switch?

A

switchport mode trunk

17
Q

What are the 3 steps to configuring 802.1Q trunking on a router?

A

1) Create unique subinterfaces for each VLAN that needs to be routed (interface type number.subint).
2) Enable 802.1Q and associate one specific VLAN with the subinterface in subinterface config mode (encapsulation dot1q vlan_id).
3) Configure IP settings (address and mask) in subinterface config mode (ip address address mask).

18
Q

What 2 options do you have on a router when configuring the native VLAN?

A

1) Configure the ip address command on the physical interface, but without an encapsulation command; the router considers this physical interface to be using the native VLAN.
2) Configure the IP address command on a subinterface, and use the encapsulation native subcommand.

19
Q

What are the 5 steps of configuring Layer 3 switching?

A

1) Enable hardware support for IPv4 routing. (Example, running the sdm prefer lanbase-routing global command and reload the switch on 2960 switches).
2) Enable IPv4 routing globally (ip routing)
3) Create VLAN interfaces for each VLAN for which the Layer 3 switch is routing packets (interface vlan {vlan_id})
4) Configure an IP address and on the VLAN interface
5) Make sure the VLAN interface is in a no shutdown state.

20
Q

What are 2 options for configuring static routes using the ip route command?

A

Using the next hop router’s interface IP address or using the interface that the next hop router is connected to.