Chapter 1: Computer Networks and the Internet Flashcards
A Nuts-and-Bolts description of the internet
The Internet is a computer network that interconnects billions of computing devices throughout the world.
Internet Service Provider (ISP)
Provide internet access
Types of Host/End System
- Two types
- Client
- Server/Data centers
Server/Data centers
More powerful machines that store and distribute web pages
Communication link
Different links transmit at different transmission rate (bits per second, bps)
Packet
- Host divide data into segments, add header to each segment to generate a packet
- Destination reassemble packets into data
Packet switch
Receive and forward packets towards their destinations
Types of switch
- Router
- Link-layer switch
Router
Used in core networks
Link-layer switch
Used in access network
Route / path
End-to-end connections from hosts to destinations
- Comprised of links and switches
A service description of Internet
An infrastructure that provides services to applications
Protocol
A protocol defines the format and the order of messages exchanged between two or more communicating entities, as well as the actions taken on the transmission and/or receipt of a message or other event.
Access Network
Connect hosts to edge router
Edge route
the first router in the global or regional ISPs
Two Types of the network core
- Packet switching
- Circuit switching
Requirement on end-to-end resource reservation(Packet switching)
No.
A source host wants to communicate with a destination host.
- It use resource from source host to destination host in an on demand manner.
- ex. Internet.
Requirement on end-to-end resource reservation(Circuit switching)
Yes.
A source host wants to communicate with a destination host
- It must reserve resources along a path (called circuit or dedicated end-to-end connection) from source host to destination host
- The resource must be reserved for the entire duration of the communication session.
- ex. Telephone networks
Main concept of packet switching
Store-and-forward transmission
- Packet switch mush receive (store) all bits of a packet, then only it can transmit (forward) the first bit of the packet.
Network performance of packet switching
- Queuing delay
- Packet loss
Routing protocol
Each router determine the shortest path to each destination and use the shortest path to configure its forwarding table.
Forwarding table
- Each host has IP address.
- Each router use forwarding table to map a destination IP address to one of its outgoing link.
Two types of circuit switching
- Frequency-Division Multiplexing (FDM)
- Time-Division Multiplexing (TDM)
Frequency-Division Multiplexing (FDM)
A link dedicate a frequency band to each connection
- The width of the frequency band indicate bandwidth
- ex. 4 kHz
Time-Division Multiplexing (TDM)
A link dedicate one time slot in every frame to each connection
- Time is divided into fixed duration frames.
- Each frame is divided into a fixed number of time slots.
Performance efficiency of packet switching
Higher
- No reservation
- More sharing of link capacity
Performance efficiency of circuit switching
Lower
- Required reservation
- Reserved resources may not be fully utilized
- Reserved resources may not be sufficient
- Underutilized reserved resources cannot be used for other packets
Do the packets in packet switching need to wait at queue?
Yes
- There is variable and unpredictable delay
- Not suitable for real-time service
Do packets in circuit switching need to wait at queue?
No
- Reserved resource provides guaranteed constant rate