1. What happens after you typing an URL into your browser
- Browser contacts with the DNS server to find out the IP address of URL
- DNS server return the requested IP address
- Browser builds up and connects with web server by TCP at port 80
- Browser send the http request to the server and server return the html code to browser
- Browser renders the display result of html code
- Browser terminates the connection when window is closed
2. DNS
- Check if the URL has already been cached. If so just return the result (local Resolver)
- Preferred DNS server will query other DNS server RECURSIVELY / ITERATIVELY
3. TCP & UDP
Transmission Control Protocol is a connection-oriented network protocol
- Reliable: When you send a message by TCP you will know it will get there. If it or some parts of it lost on the way the server will re-request the lost part.
- The order is guaranteed by the sequence number
- HeavyWeighted: all the out of order parts will be re sent
- You don't know whether you message is delivered
- You don't know the order of your sent message
- Light Weighted: No ordering information, no tracing information. It's faster
- Client sends a SYN to server with a segment sequence number
- Server replies client a SYN-ACK with the client sequence number + 1 and its sequence number
- Client send ACK to server with server sequence number + 1
Reliable Delivery
For each TCP packet receiver must send acknowledgement to show it is delivered. If the sender doesn't receive the acknowledgement sender will resend the packet until acknowledgement received.
Flow Control (TCP sender's/Receiver's Window)
A TCP window is the number of data that sender can send before it gets the acknowledgement.
Congestion Control
congestion window
4. IPv4 & IPv6
128 bits and 256 bits ip address
5. Basics about common internet protocol suite
Like IGMP, ICMP, HTTP, FTP, BGP, DHCP etc..
https://www.princeton.edu/~achaney/tmve/wiki100k/docs/Internet_Protocol_Suite.html
No comments:
Post a Comment
Enter you comment