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
Give all the characteristics of a routing table
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.
26
Give the routing table entries
Direct network routes Remote network routes Host routes Default routes
27
Give a description of the default gateway
Destination: 0.0.0.0. | Appears if the local host has been configured with a default gateway address.
28
Give a description of a local loopback
Destination: 127.0.0.1 | Provides a delivery route for packets addressed to the local loopback address.
29
Give a description of a local subnet
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.
30
Give a description of a network interface
Destination: local IP address | Identifies the route to the host's local network card. An example is 140.125.10.25.
31
Give a description of subnet broadcast access
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.
32
Give a description of a multicast broadcast address
Destination: 224.0.0.0 | Identifies the address for sending multicast transmissions.
33
Give a description of an Internetwork broadcast address
Destination: 255.255.255.255 | Identifies the route for broadcasts to the entire network. However, most routers will not pass these broadcasts.
34
Give a full description of the network destination address
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.
35
Give a full description of a network mask
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.
36
Give a full description of a gateway
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.
37
Give a full description of an interface
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.
38
Give a full description of a metric
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
Explain the Windows command route print
Display routing table entries.
40
Explain the Windows command route add
Add static entries to a routing table.
41
Explain the Windows command route delete
Remove static entries from a routing table.
42
Explain the Windows command route change
Modify an existing route.
43
Explain the Windows command route -p
Make the specified route persistent across reboots when used with the add command.
44
Explain the Windows command route -f
Clear a routing table of all entries.
45
Explain the Linux command route
Display host names.
46
Explain the Linux command route -n
Display IP addresses instead of hostnames.
47
Explain the Linux command netstat -rn
Display the routing table with the –r option. | Display the IP addresses instead of hostnames with the –n option.
48
Explain the Linux command IP route list
Display routing table entries.
49
Give the definition of route aggregation
A method of combining routes in a routing table to save space and simplify routing decisions.
50
Give a full description of the route aggregation
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
Defintion of routing protocols
Dynamic routing uses software that automatically creates routing table entries.
52
Give all route protocols
Distance-vector routing Link-state routing Hybrid routing Path-vector routing.
53
Definition of AS
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
Features of AS
Can connect to other networks or other ASes. | Do not share routing information outside the AS.
55
Give a full description of the interior route
Arranged inside an AS. Controlled by AS administrator. All interfaces connect to subnets within the AS. No connection to external networks.
56
Give a full description of the exterior route
Reside outside an AS but handle data from the AS. | Generally found on the Internet backbone.
57
Give a full description of the border or edge router
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
Give a full description of inside an AS
Data transfer begins and ends within the AS. Only possible recipients are on the same local network. Derive destination MAC address via ARP.
59
Give a full description of between adjacent networks
Shared border routers. Data is sent to the border router, which transfers it to the destination node. Single point of contact.
60
Give a full description of between remote networks
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
Give a full description of static routing
A type of routing is used by a network administrator to manually specify the entries in the routing table.
62
Where does static routes remain
Static routes remain in the routing table whether or not the destination address is active.
63
True of False | Static routes can change without administrator
False | Static routes do not change unless the administrator changes them.
64
Characteristics of static routing
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
Give a full description of static routing tables
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
What are the advantages of static routing
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
What are the disadvantages of static routing
``` 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
Definition of Dynamic Routing
A type of routing that automatically builds and updates routing tables by using route discovery operations.
69
Characteristics of Dynamic Routing
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
Give a full description of Distance-vector routing protocols
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
Give a full description of Link-state routing protocols
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
Give a full description of Hybrid routing protocols
Combination of distance-vector and link-state routing methods. Link cost and network bandwidth are factors for determining the best route.
73
Give a full description of Path-vector routing protocols
Used in inter-domain routing. | Routers keep track of routes to a destination but can treat entire ASes as single nodes.
74
Definition of Route Convergence
The period of time between a network change and when the routers update to reach a steady-state once again.
75
Give the process of Distance-Vector Routing
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
Give a full description of Link State Routing
``` 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
Give a full description of path-vector routing protocols
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
Give all the characteristics of Hybrid Routing Protocols
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
Definition of VLANs
A logical grouping of ports on a switch.
80
Give a full description of VLANs
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
Give the assignment of switch port 1
Switch 10
82
Give the assignment of switch port 2
VLAN 15
83
Give the assignment of switch port 3
VLAN 25
84
Give the assignment of switch port 4
VLAN 35
85
Give the assignment of switch port 5
Switch 12
86
Give the assignment of switch port 6
VLAN 35
87
Give the assignment of switch port 7
VLAN15
88
Give the assignment of switch port 8
VLAN 25
89
Give a full description of the VLAN Assignment
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
Definition of Port tagging
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
Give all the characteristics of Port tagging and untagging
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
Definition of VTP
A VLAN management protocol developed by Cisco enables switches to update each other's VLAN databases.
93
Give a full of description of VTP and modes
``` Fast, automated advertisement of VLAN creation or deletion. Modes: Server mode Client mode Transparent mode ```