Networking Systems Flashcards
What is the second packet forwarding mechanism?
- Fast switching
- common mechanism which uses a fast switching cache to store the next-hop information
- packet arrives on an interface and is forwarded to the control plane where the CPU searches for a match in the fast-switching cache
- if no match, it is process-switched and forwarded to next interface
- packet flow information stored in fast-switching cache for quick lookup
What happens when a router receives a packet from a network that is destined for another network?
Step 1; de-encapsulates the layer 2 frame header and trailer to expose the layer 3 packet
Step 2; Examines the destination IP address of the IP packet to find the best path in the routing table
Step 3; if the router finds a path to the destination, it encapsulates the layer 3 packet into a new layer 2 frame and forwards it to the sit interface
-After each hop between routers, the layer 3 IP address does not change but the data link address does
What is quad zero?
- 0.0.0.0
- if a packet has no destination it can be sent here
- can also be used to route data that is internet bound
What are some port roles on a switch?
- Root ports – ports closets to the root bridge
- Designated ports – non-root ports permitted to forward traffic
- Alternate and backup ports – blocking state to prevent loops
- Disabled ports – switch port that is shut down
What is the first type of dynamic routing?
Distance vector - means that routes are advertised by providing 2 characteristics;
- Distance = ID’s how far is it to the destination networks based on hop count
- Vector = specifies the direction of the next hop router or exit interface to reach the destination
Four other commands that link to OSPF?
1) “Show ip OSPF neighbour” to verify the router has formed an adjacency with a directly connected router
2) “show ip protocols” to verify the OSPFv2 process ID, router ID, networks being advertised by the router and other things
3) “show ip OSPF interface” to see details for every OSPFv2 enabled interface, especially to see if the network statements were correctly composed
4) “show ip interface brief” command to see key information about OSPFv2 enabled interfaces on a particular router
What are administrative distances?
- possible to have multiple routes to same destination network
- each routing protocol might prefer a different path so router choses by using administrative distance
- represents the trustworthiness of the route, the lower the better
Cons of link-state
- Memory and processing consumption high
- the flooding of link state packets can adversely affect bandwidth
- using multiple areas can reduce the size of the link state DB
- Multiple areas can limit amount of link-state information flooding and send LSPs only to those routers that need them
How does topology relate to OSPF?
- topology used to describe OSPF configuration; defines the area of range of coverage for this protocol
- shows links to external networks
- WAN links
What is the OSPF metric?
- cost = reference bandwidth / interface bandwidth
- lower the better
- can be seen in the routing table in brackets
- instead of manually setting the interface bandwidth, the OSPF cost can be manually configured using the “ip OSPF cost value” command
Draw a diagram showing the communication and transmission of a packet between two nodes A and B when sent using TCP

What is load balancing?
- if router has 2 or more paths with ID metrics to the same destination network the router will forward the packet using both paths equally
- routing table contains a single destination but has multiple exit interfaces
- one for each equal cost path; known as Equal Cost Load Balancing
- increase the effectiveness and performance of the network
Difference between a straight-through cable and cross over cable?
- straight-through is between a computer and a modem, router, switch or other dissimilar networking equipment
- Crossover is between two computers or two similar networking devices
What is DHCP?
- Dynamic host configuration protocol
- responsible for assigning IP address to network nodes
- IP addresses are leased to the node
- can change at anytime between 24 hours to 30 days
- node requests a new IP when lease is up
- very often its the same IP address
What is effective routing based on?
- Adequate bandwidth = must ensure bandwidth can cope with the intended volume of data
- Speed of data transmission = determined by the bandwidth, speed of operation of the NIC and the number of routers and switches involved in the route, causes latency
- Network card speed, number of devices across the network, the volume of traffic, good design
What is latency?
- time it takes to get from source to destination
- could be as result of problems with the transmission medium itself or errors with the routers/switches as each device takes time to examine and change the packet header
What is the 4th layer of the OSI?
- Transport manages end to end message delivery in the network
- Provides both reliable and sequential packet delivery through error recovery and flow control mechanisms (TCP)
- provides unreliable transport as well (UDP)
What is a VLAN trunk?
- Point to point link that carries more than one VLAN
- Links between S1 and S2, and S1 and S3 are configured to transmit traffic coming from VLANs 10, 20, 30 and 99 across the network
- This network could not function without VLAN trunks
What is router on a stick?
- The alternative to inter-VLAN routing
- only one port is configured and operates as a trunk link, connected to a trunked switch port
How can a router learn about the network?
- can learn about indirectly connected router through its connected routers
- information about indirectly connected routers appear as protocol
What is an IPv6 link local address?
- enables a device to communicate with other IPv6 devices on the same link and only on that link (subnet)
- packet with a source or destination link local address cannot be routed beyond the link from where the packet originated -used to exchange OSPFv3 messages
Why cant we end an IP with 255?
-reserved as broadcast address
What is the first IP class?
- Class A
- Start address is 0.0.0.0, end address is 127.255.255.255
- Number of networks is 2^7 -addresses per network is 2^24
What is the physical layer responsible for?
- bit-by-bit delivery = symbol or baud rate is used here to measure how fast something happens (symbol is a pile or tone that represents data)
- Modulation = the process of modulating a signal onto a carrier
- providing a standardisation interface to the medium
- circuit switching
- forward error recovery
