Sie sind auf Seite 1von 14

How Internet

works?
Internet
is the
biggest
inter-network
1.
How Internet
moves information?
www.google.com 1.
www.google.com is
a the domain name of a
server.
The browser tries to download
its root webpage.
dst?
DNS req
UDP
IP
Eth

2. ADSL ROUTER

The browser needs to resolve the name www.google.com


using the configured DNS server.
OS builds a DNS req. /over an UDP pkt /over a WiFi frame
But it doesnt know the router MAC address.
dst: all

ARP req
Eth HOME LAN

3.
The phone knows the router IP address (ex: 192.168.0.1)
The phone sends an ARP request to the WLAN (all devices)
asking for the MAC address corresponding to that IP.
The router sends it an ARP reply announcing its MAC.
DNS req
UDP
IP
Eth

4.
ADSL ROUTER

Now the phone knows the MAC address (it saves for a while).
The phone is able to send the DNS request.
DNS SERVER

IP
PPP

DSLAM
ADS
L

5.
line

The router forwards the IP packet to ISP NETWORK


the ISP network.
Encapsulated over an ADSL link.
6. DNS replies the corresponding IP address:
(216.58.214.164)
DNS SERVER

line
ADSL ISP NETWORK
7. Browser is now able to perform an HTTP request.

HTTP GET
TCP
IP
Eth ADSL line
8. Each router checks its routing table
to choose next hop.

AD
SL
line

IP

ISP NETWORK
Internet
9. The IP packets go to through Internet
to the remote network.

WEB SERVER

AD Google
SL
l ine network

ISP NETWORK

Internet
www.google.com
10.
The web server finds the requested file
and sends back to the client using the
HTTP protocol.