3: Internet Protocols Flashcards
Why is the Internet vulnerable ?
- Services are ‘best-effort’
- No guarantee of quality (unlike telecom networks)
- Packets may be lost, corrupted, delayed, arrive out of sequence
- Problems may be overcome by a careful design of protocols
What are the pieces of Internet ?
- Hosts (comp connected to a network)
- Routers (connecting a network to the Internet)
- Applications (various electronic devices)
- Protocols (rules for computer to talk)
- Hardware (Machines)
- Software (Programs)
The relationship between these pieces will be organised into layers.
Reasons for a layered architecture ?
- Modularisation eases maintenance, updates
- Changes in the implementation of layer’s service are transparent to the rest of system
What are the 5 layers of IP stack ?
Application layer Transport layer Network layer Link layer Physical layer
(ATNLP)
- What are the 2 extra layers in ISO-OSI ?
- Presentation layer
- Session layer
Application layer ?
- SMTP: Simple Mail Transfer Protocol
- HTTP: Hypertext Transfer Protocol
- Telnet: allows users on a computer to access and log into another computer
- FTP: File Transfer Protocol for transferring files between a client and server computers
What is a client ?
A computer requests some service from another computer called a server providing this service to the client, eg sending emails.
Transport layer ?
- TCP: Transfer Control Protocol
- UDP: User Datagram Protocol for transmission/reception packet-by-packet.
Network layer ?
A set of protocols to transport packets from one host to another specified by an IP address.
- IP
- ICMP
Data link layer ?
PPP: Point-to-point Protocol to establish a connection between 2 nodes in a network.
Ethernet protocols split a data stream into shorter pieces (frames) containing source and destination addresses, error-checking data.
Physical layer ?
Defines how to transmit raw bits, not logical packets, over a physical link.
Link:
Processes, Hosts, Transport protocol, Network-layer protocol, Link layer, Physical layer.
To:
- Hosts: two houses
- Connections between towns
- Trains or postal trucks
- Two sets of parents
- Two kids
- Royal Mail
- Processes: two kids
- Hosts: two houses
- Transport protocol: two sets of parents
- Network-layer protocol: Royal Mail
- Link layer: connections between towns
- Physical layer: trains or postal trucks