1/73
Looks like no tags are added yet.
RIP
(RIP) A routing protocol used inside one network. Every 30 s, each router tells its neighbours how far it is to each network. The distance is counted in hops, meaning the number of routers on the way.
How RIP and OSPF react to a link failure
(Routing)
RIP sets the route to 16 and sends a triggered update to its neighbours.
OSPF floods link state advertisements (LSAs), and every router recomputes its paths with Dijkstra.
RIP is the small village where news travels by gossip, house by house. OSPF is the merchant city where everyone publishes their own price list (LSA), everyone combines them into one shared map, and each person plans their own best route on it (Dijkstra).
How to count retransmissions during an outage
(TCP)
Exponential backoff: Add up the doubling waits until you pass the time the link was down. Example: RTO 2 s, link down until 90 s: resends at 2, 6, 14, 30 and 62 s are lost, and the one at 126 s gets through. That is 6 retransmissions.
What happens at a TCP timeout?
(TCP) A timeout means no ACK arrived before the RTO ran out, so nothing seems to get through.
Two things happen:
Retransmission: the segment is resent and the RTO doubles.
Congestion control: ssthresh = CWND ÷ 2, CWND = 1 MSS, and slow start begins again.
Which questions can DNS answer? (valid DNS queries)
(DNS)
Ask yourself: is there a record type for it? If yes, DNS can answer.
Yes: the IP address of a name (A, AAAA), the incoming mail server (MX), the authoritative name server (NS), the admin’s contact info (SOA), and the name for an IPv4 or IPv6 address (PTR).
No: the outgoing mail server and the legal owner of the domain. There’s no record type for those.