IP addresses, ports and the network layers (just enough)
You don't need a networking course for a system design interview. You need three ideas: how a machine is addressed, how a program on that machine is addressed, and which "layer" a component works at. That last one matters because load balancers are described by layer, "L4" or "L7", and interviewers expect you to choose between them.
Post for a big block of flats
A letter to a friend in a big block of flats needs two things: the building's street address and the flat number. The postal worker only reads the street address and gets the letter to the building. The concierge in the lobby only reads the flat number and puts the letter in the right box. Only your friend opens the envelope and reads what's inside.
That's the whole idea:
- the street address → IP address: which machine
- the flat number → port: which program on that machine
- the postal worker → layer 3 (network): moves packets between machines using IP addresses
- the concierge → layer 4 (transport): TCP or UDP, which deliver to the right port
- your friend reading the letter → layer 7 (application): HTTP, where URLs, headers and cookies live