Routing and Switching Flashcards
a network or segment where a collision can occur. nodes contend for access to the same physical medium.
Collision Domain
Examples where collision domains occur
- on a logical bus, where the transmission of a single node is heard by all nodes.
- a hub creates a single collision domain, because all nodes hear all transmissions from other nodes.
- A coax bus is a single collision domain because the transmission of one node fills the entire medium, potentially colliding with other nodes that try to transmit.
the process of dividing up a network by using switches so that only two nodes exist in each collision domain. Each port on a switch belongs to a separate collision domain because it forwards traffic only to the connected node.
Microsegementation
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.
Broadcast Domain
is a Layer 2 (Data Link Layer) protocol used to prevent switching loops in switches that support this protocol. Whenever there are redundant paths between switches, where either two switches are connected using two different links or a ring of switches is connected to each other, a switching loop will occur. this protocol prevents switching loops and broadcast storms because switches use it to determine if there are any redundant links that may cause a loop. The switch will temporarily block its redundant link, thus eliminating the possibility of a loop.
Spanning Tree Protocol (STP)
replaces spanning tree protocol (STP) its process only takes 20 seconds compared to 50 seconds with (STP).
Rapid Spanning Tree Protocol (RSTP)
another replacement for STP
Shortest Path Bridging (SPB)
The MAC Address Table process:
(The ARP table is used to resolve the IP address to the MAC address. If the address is on another network, ARP resolves to the gateway MAC address)
- When the switch receives traffic from a device, the switch creates an entry in the MAC address table for the device that sent the traffic.
- The switch then looks up the destination MAC address in the table, and if it is a known MAC address, it sends the data to the destination.
- If the destination MAC address is not found in the table, the switch floods all of the ports except the port from which the data was sent.
- If the receiving MAC address accepts the data, the newly found MAC address is added to the table. The table keeps the addresses for a pre-determined time, typically five minutes, before entries are removed from the table.
In this type of network, data to be transmitted is broken into packets that move in sequence through the network. Each packet takes the best route available at any given time, rather than following an established circuit path. Each data packet contains all of the routing and sequencing information required to transmit it from one endpoint to another, after which the data is reassembled.
Packet Switched Network
one endpoint creates a single connection to the other endpoint. used in telephony networks.
Circuit-Switched Networks
a centralized switch is used to connect and manage switches that have been deployed remotely in a hierarchical configuration.
Distributed Switching
the process of selecting the best route for transferring a packet from a source to its destination on a network. The action of forwarding a packet from one router to the next is called a hop. Routers make forwarding decisions based on Layer 3 network addresses, typically IP’s.
Routing
The Routing Process:
- A router receives data and reads its destination IP address.
- The router reads its routing table, which lists the locations of other routers on the network
- Once it decides on a route, it removes the old destination MAC address and attaches the MAC address of the next hop in the data’s path. The packet’s ultimate destination IP address never changes. By enabling the router to change the destination MAC address, the data moves through multiple local networks.
The IP Data Packet Delivery Process:
- Either the Transmission Control Protocol (TCP) or the User Datagram Protocol (UDP) prepares the data payload. If necessary, name resolution has already taken place.
- The Transport-layer protocol (TCP or UDP) passes the segment/datagram to IP.
- IP encapsulates the segment/datagram into an IP packet that includes the source and destination IP addresses.
- IP passes the packet to the Network Interface layer for Layer 2 addressing and transmission.
The Local and Remote Delivery Process:
- The node applies the subnet mask to its own IP address to determine its own network ID.
- It then 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.
a. ) If they are the same, then the two nodes are on the same subnet, and the node can deliver the packet.
b. If the two networks are different, then the two nodes are remote to each other, and the data is routed to the remote network.
Default Routing Table Entry for:
Default Gateway
Destination: 0.0.0.0
Default Routing Table Entry for:
Local Loopback
Destination: 127.0.0.1
Default Routing Table Entry for:
Local Subnet
Destination: network portion of local IP address plus host address of all 0s
Default Routing Table Entry for:
Network Interface
Destination: local IP address
Default Routing Table Entry for:
Subnet Broadcast
Destination: 224.0.0.0