Routing and Switching Flashcards

1
Q

What is a collision domain

A

Collision domain: A network or segment where a group of nodes competes with each other for access to the media.

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

Definition of microsegregation

A

Microsegmentation: The process of dividing up a network by using switches so that only two nodes exist in each collision domain.

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

Definition of a broadcast domain

A

Broadcast domain: A network or segment where any node connected to the network can directly transmit to any other node in the area without a central routing device.

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

Give all characteristics of a collision domain

A
Collision domains
Logical bus
Hub and connected nodes
Coax bus
Switch port and connected node
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Give all characteristics of a broadcast domain

A

Broadcast domains
Not affected by micro-segmentation
Single switch or group of connected switches
Routers define the boundaries

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

What is STP

A

A Layer 2 protocol is used to prevent switching loops in switches that support the protocol.

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

Why do loops occur in layer 2 within switches

A

Loops happen when there are redundant paths between switches.
Loops can cause broadcast storms when nodes send ARP frames to identify neighbors.

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

Characteristics of STP

A
Not all switches support STP!
STP is relatively old and slow
Replaced by RSTP and SPB protocols
Rapid Spanning Tree Protocol
Shortest Path Bridging
Port states and BPDU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Port states and BPDUs

What happens when blocking occurs

A

User data is not sent or received.

BPDU data is received and used to determine if the port state should be changed.

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

Port states and BPDUs

What happens when listing occurs

A

BPDUs are processed by the switch.

Frames are not forwarded, and the switch does not update the MAC tables

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

Definition of Packet Switched Networks

A

A network where data is broken up into separate packets and each packet is separately routed without a dedicated connection between the endpoints.

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

Give all characteristics of a Packet Switched Network

A

Each packet finds its own route.
All packets contain routing and sequencing information.
Data is reassembled after all packets are received by the destination host.
Used when networks change often due to network congestion or changing link states.

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

Definition of Circuit Switching

A

A switching technique where one endpoint creates a single connection to the other endpoint.

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

Give all the characteristics of circuit switching

A

The circuit is the path.
Data flows through the circuit as long as the circuit is active.
When the data transfer is complete, the circuit is closed.

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

Definition of Distributed Switching

A

A switching technique where a centralized switch connects and manages switches that have been deployed remotely in a hierarchical configuration.

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

Characteristics of a Distributed Switching

A

On telephony networks, it’s called host-remote switching.
The central/host switch:
Connects remote switches to each other and to other networks.
Manages complex calls, whereas remote switches handle local calls.
Provide operation, administration, maintenance, provisioning, and billing.
Can be implemented on data networks and virtual networks, too.

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

Definition of Routing

A

The process of selecting the best route for moving a packet from its source to its destination on a network.

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

Characteristics for Routing

A

Routers use algorithms to generate and maintain information about network paths.

Metrics are used to determine the best route

When the best route is identified, packet switching gets the data to the destination.
Forwarding a packet from one router to another is called a hop.

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

What are the metrics for routing when determining the best route?

A

Bandwidth
Path availability
Path reliability
Communication costs

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

Definition of Routes

A

The path is used by data packets to reach a specified destination.

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

Characteristics of Routes

A

Added to the routing table.
Contains information about connected and remote networks.
Connected networks directly attached to router interface:
Gateways for hosts on different networks.
Remote networks:
Manually configured on the router.
Set automatically using dynamic routing protocols.

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

Give the full routing process

A

The router receives data and reads the destination IP address.

The router reads the routing table to determine which route to use.

The router replaces the existing destination MAC address with the MAC address for the

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

Give the full process of Local and Remote Delivery Process

A

The node applies the subnet mask to its own IP address to determine its own network ID.
The node applies the subnet mask to the packet’s destination address to determine the destination network ID.
Once the node has applied the subnet mask, it compares the two network IDs.
If they are the same, then the two nodes are on the same subnet, and the node can deliver the packet.
If the two networks are different, then the two nodes are remote to each other, and the data is routed to the remote network.

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

Definition of Routing Tables

A

A database is created manually or by a route-discovery protocol that contains network addresses as perceived by a specific router.

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

Give all the characteristics of a routing table

A

Routers use them to decide where to forward packets.
Packets are forwarded from router to router until the destination network is reached.
Features:
You can specify a maximum hop count.
You can specify a route’s cost.
Metrics help quantify which route should be used.

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

Give the routing table entries

A

Direct network routes
Remote network routes
Host routes
Default routes

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

Give a description of the default gateway

A

Destination: 0.0.0.0.

Appears if the local host has been configured with a default gateway address.

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

Give a description of a local loopback

A

Destination: 127.0.0.1

Provides a delivery route for packets addressed to the local loopback address.

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

Give a description of a local subnet

A

Destination: network portion of local IP address plus host address of all 0
Identifies the route to the local network. An example is 140.125.0.0.

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

Give a description of a network interface

A

Destination: local IP address

Identifies the route to the host’s local network card. An example is 140.125.10.25.

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

Give a description of subnet broadcast access

A

Destination: network portion of local IP address plus host address of all .255
Identifies the route for broadcasts on the local subnet. An example is 140.125.255.255.

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

Give a description of a multicast broadcast address

A

Destination: 224.0.0.0

Identifies the address for sending multicast transmissions.

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

Give a description of an Internetwork broadcast address

A

Destination: 255.255.255.255

Identifies the route for broadcasts to the entire network. However, most routers will not pass these broadcasts.

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

Give a full description of the network destination address

A

Contains the network ID of a destination address.
Is the search point when processing the routing table.
Can be listed as a complete address, but the router will be more efficient if listed as a network ID.

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

Give a full description of a network mask

A

Specific to each routing entry.
Determines how much of a packet’s destination address needs to match the network destination field of a routing entry before that route is used to deliver the packet.

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

Give a full description of a gateway

A

Indicates the address where the packet is delivered on its first hop.
Can be the local loopback address, a local IP address, the host’s own default gateway address, or the address of an adjacent router.

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

Give a full description of an interface

A

The IP address of the local port that a host uses to send data.
Once a destination entry is found, data is sent to the interface entry listed in the same line as the destination.

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

Give a full description of a metric

A

The cost of the route.
Determined by the number of hops.
Used to decide which route to use when there are multiple routes to a destination.

39
Q

Explain the Windows command route print

A

Display routing table entries.

40
Q

Explain the Windows command route add

A

Add static entries to a routing table.

41
Q

Explain the Windows command route delete

A

Remove static entries from a routing table.

42
Q

Explain the Windows command route change

A

Modify an existing route.

43
Q

Explain the Windows command route -p

A

Make the specified route persistent across reboots when used with the add command.

44
Q

Explain the Windows command route -f

A

Clear a routing table of all entries.

45
Q

Explain the Linux command route

A

Display host names.

46
Q

Explain the Linux command route -n

A

Display IP addresses instead of hostnames.

47
Q

Explain the Linux command netstat -rn

A

Display the routing table with the –r option.

Display the IP addresses instead of hostnames with the –n option.

48
Q

Explain the Linux command IP route list

A

Display routing table entries.

49
Q

Give the definition of route aggregation

A

A method of combining routes in a routing table to save space and simplify routing decisions.

50
Q

Give a full description of the route aggregation

A

The number of routing tables increases as the network grows.
Route aggregation can:
Save space in the routing table.
Simplify routing decisions by combining routes to multiple smaller networks.
Reduce routing advertisements to neighboring gateways.

51
Q

Defintion of routing protocols

A

Dynamic routing uses software that automatically creates routing table entries.

52
Q

Give all route protocols

A

Distance-vector routing
Link-state routing
Hybrid routing
Path-vector routing.

53
Q

Definition of AS

A

AS: (Autonomous System) A self-contained network on the Internet that deploys a single protocol and has a single administration. Also called a routing domain.

54
Q

Features of AS

A

Can connect to other networks or other ASes.

Do not share routing information outside the AS.

55
Q

Give a full description of the interior route

A

Arranged inside an AS.
Controlled by AS administrator.
All interfaces connect to subnets within the AS.
No connection to external networks.

56
Q

Give a full description of the exterior route

A

Reside outside an AS but handle data from the AS.

Generally found on the Internet backbone.

57
Q

Give a full description of the border or edge router

A

Located at the boundary of an AS.
At least one interface in the AS and at least one outside of it.
Provide connection to remote networks.
Placed between two private networks or a private network and the Internet.

58
Q

Give a full description of inside an AS

A

Data transfer begins and ends within the AS.
Only possible recipients are on the same local network.
Derive destination MAC address via ARP.

59
Q

Give a full description of between adjacent networks

A

Shared border routers.
Data is sent to the border router, which transfers it to the destination node.
Single point of contact.

60
Q

Give a full description of between remote networks

A

Data is sent to a border router of the source network (default gateway).
If that router does not recognize the destination address, it sends the data to its own default gateway.
Data transfers from default gateway to default gateway until the destination network are reached, or the message times out.

61
Q

Give a full description of static routing

A

A type of routing is used by a network administrator to manually specify the entries in the routing table.

62
Q

Where does static routes remain

A

Static routes remain in the routing table whether or not the destination address is active.

63
Q

True of False

Static routes can change without administrator

A

False

Static routes do not change unless the administrator changes them.

64
Q

Characteristics of static routing

A

Characteristics:
Useful in small networks with no redundant routes and no topology changes.
Keeps bandwidth use (due to dynamic routing updates) low.
Administrator-configured routes trusted over dynamically created routing table entries.
When a static default gateway is assigned, no alternate gateway
Is used.

65
Q

Give a full description of static routing tables

A

Manually configured.
Easy to create and use for small networks.
Also acceptable to use for an extranet with a border router that points to the border router of an external network.

66
Q

What are the advantages of static routing

A

Advantages:
No additional network traffic to maintain routes.
Increased security to protect rogue routers from sending bad routing information.
Configure only what you need.

67
Q

What are the disadvantages of static routing

A
Disadvantages:
Manual maintenance is required.
One network change might require many routing table updates (on all routers affected by the change).
Prone to configuration errors.
Less efficient than dynamic routing.
68
Q

Definition of Dynamic Routing

A

A type of routing that automatically builds and updates routing tables by using route discovery operations.

69
Q

Characteristics of Dynamic Routing

A

Routers send data to adjacent routers to share information about networks.
Connected to
Can reach
Routing table entries are created automatically.
Provide a more accurate network description
Updated more often than static routing tables
When network congestion or device failures occur, routers with
dynamic routing protocols can detect the problem and calculate
alternate routes.
Route redistribution enables routes to be shared across different
routing protocols.

70
Q

Give a full description of Distance-vector routing protocols

A

Used on packet-switched networks.
Calculates route costs and routing table entries.
The fewest number of hops is generally the best route.
“How far” and “in what direction.”

71
Q

Give a full description of Link-state routing protocols

A

Floods routing information to all routers.
Results in a more complex route database.
Route quality, bandwidth, and availability information shared.
Route characteristics are factored in with hop count to determine the best route.

72
Q

Give a full description of Hybrid routing protocols

A

Combination of distance-vector and link-state routing methods.
Link cost and network bandwidth are factors for determining the best route.

73
Q

Give a full description of Path-vector routing protocols

A

Used in inter-domain routing.

Routers keep track of routes to a destination but can treat entire ASes as single nodes.

74
Q

Definition of Route Convergence

A

The period of time between a network change and when the routers update to reach a steady-state once again.

75
Q

Give the process of Distance-Vector Routing

A

1)Each router passes a copy of its routing table to its neighbors and maintains a table of minimum distances to every node.

2)Neighboring routers add the routes to their own tables, incrementing the metrics to reflect the extra distance to the end network.
Distance = hop count
Vector = address of the next-hop

3)When a router has two routes to the same network, it selects the route with the lowest metric.
Assumption: Fewer hops mean faster delivery.

76
Q

Give a full description of Link State Routing

A
Routers communicate:
When a link changes
Periodic hello messages
Faster convergence than distance-vector routing.
More expensive to implement:
Requires more power and memory
77
Q

Give a full description of path-vector routing protocols

A

order and exterior routers communicate with each other.
Add presence to the path and forward to the next AS.
If destination within its AS forwards to interior routers.
BGP
Routing policies enable routers to react to:
Network congestion
Offline nodes
Possible duplicate routes
Based on distance-vector, but designed to be more scalable.

78
Q

Give all the characteristics of Hybrid Routing Protocols

A

EIGRP
Combines characteristics of distance-vector and link-state routing.
Depends on neighboring routers to advertise route costs.
Maintains topology table.
Other features:
Supports classful and classless subnet masks
Usable on multilayer switches
Lower convergence times, higher network stability
No dependence on network protocol

79
Q

Definition of VLANs

A

A logical grouping of ports on a switch.

80
Q

Give a full description of VLANs

A

Nodes connected to a switch port that has been assigned to a VLAN can communicate only with those nodes that are also connected to the VLAN.

Division of a physical switch into several logical switches.

Use cases:
Traffic management
Security
Traffic segregation
QoS
81
Q

Give the assignment of switch port 1

A

Switch 10

82
Q

Give the assignment of switch port 2

A

VLAN 15

83
Q

Give the assignment of switch port 3

A

VLAN 25

84
Q

Give the assignment of switch port 4

A

VLAN 35

85
Q

Give the assignment of switch port 5

A

Switch 12

86
Q

Give the assignment of switch port 6

A

VLAN 35

87
Q

Give the assignment of switch port 7

A

VLAN15

88
Q

Give the assignment of switch port 8

A

VLAN 25

89
Q

Give a full description of the VLAN Assignment

A

Group nodes into the same VLAN:
Router routes packets between VLANs.

Assign ports to VLANs:
Manually configure each port on a switch.
Associate a VLAN with a node’s MAC address.

Usually single port on the switch belongs to only one VLAN at a time:
Trunk ports or port mirroring is the exception.

90
Q

Definition of Port tagging

A

Port tagging: In VLANs, a way to connect a variety of network hardware, including switch-to-switch, server-to-switch, server-to-server, or switch-to-router.

91
Q

Give all the characteristics of Port tagging and untagging

A

Data that needs to be forwarded outside of the VLAN is tagged using 802.1q encapsulation.
Switches connected by trunk links extend VLANs beyond one switch or even building.
Uplink ports are used for inter-switch communication, so they must be tagged as part of the VLAN.
Default VLAN requires port tagging if multiple switches contain VLAN members.
An untagged port is any port that connects a switch to a host, as
opposed to another switch, server, or router.

92
Q

Definition of VTP

A

A VLAN management protocol developed by Cisco enables switches to update each other’s VLAN databases.

93
Q

Give a full of description of VTP and modes

A
Fast, automated advertisement of VLAN creation or deletion.
Modes:
Server mode
Client mode
Transparent mode