2017 EXAM Flashcards
how does switch learn which port to use, to deliver to a dest. MAC address? What does it do if a given MAC address has not an assigned port?
When a frame arrives at the switchport, the switch checks source mac address, and stores it next to the port number in the TCAM table. If switch is given a frame with a MAC address it does not have a port for, switch multiplicates frame and sends out to all ports.
Why ethernet address is not used when organising the internet?
MAC doesn’t support routing, as it is on layer 2. MAC addressing is used to connect two machines on the same network, but IP addresses are needed on layer 3, to identify machines through different networks
Why voltage transition is useful in communication?
To transmit a sequence of 0’s and 1’s, a ground voltage of 0 for example might translate to a binary 0. If the voltage changes to a reference value at something like +5V, the receiver can note this as a 1 binary value. Through multiple voltage transitions, the sender is able to communicate effectively over a wire.
Write topology from routing table:
DEST. GATEWAY. MASK. INTERFACE
Q.3d) 2019 Exam
Given an ip dest. address, choose a route from a routing table
Week 10 IP Routing Slide 10
Packet SRC and DST MAC and IP addresses, when Host A sends a packet to Host B through a router. (without ARP).
Source and Destination IP address won’t change when passing through a router, but the MAC addresses will change after passing through the router.
Host A messages Host B
A IP B IP
A MAC Router MAC
Once packet hits router:
A IP B IP
Router MAC B MAC
Write a table created when running Dijkstra’s algorithm including DEST. NEXT-HOP. DIST.
Week 10 IP routing
When organising external routes, why can operators only use bGP protocol?
Because the internet is already organised with BGP. BGP has a lightweight nature, perfect for organising a worldwide network.
How is the ssthresh variable used in TCP slow start
when CWND reaches ssthresh, TCP then switches to congestion avoidance.
How is transmission rate increased during congestion avoidance
Increased by one data packet per ack received.
Time sequence diagram, where TCP detects packet loss through multiple duplicate acks.
Lecture 10 slide 4
What is the rational behind each equation involved in determining the RTO.
(1) adding together the prior estimations with the new sample rtt, with weighting that can be adjusted to prefer new RTT samples (est. RTT adjusts faster) or to prefer previous estimated RTT (est. RTT immune to short lived changes)
(2) caclulates the variation between RTT’s similar to previous equation, where weighting can be set to maximise previous est. delay variation, or the latest sample.
(3) is the Estimated RTT + F * the Estimated Delay. this means we have a high probability of the packet being accepted before RTO kicks in
How can you verify A’s digital signature? Which key would you use?
A will hash digital signature, then use private key to encrypt the hash. B then uses A’s public key to decrypt the hash, then computes the hash of the message from A. Then B compares the hash it computed to the hash sent by A and verifies that they are the same.
With a host on a different router receiving an ARP request, what will the source and dest IP and MAC addresses be on the ARP packet? Host A sending to Host B
Packet will contain:
A IP B IP
Router MAC FF:FF:FF:FF:FF:FF
In which order do: ARP, DNS, DHCP and NAT occur? What do they all do?
DHCP, ARP, NAT, DNS