Week Final
Week Final
Communication Networks
’s
o d
T ctur
y
a e Lecture Outline
le
1. Definition and benefits of networks
2. Network design issues:
• Media
• Topology
• Protocol
• Addressing
• Naming
3. Clarifying example:
Data transfer between a browser and a webserver
Networking
’’
resources in real time
[Peter Norton]
Benefits
Resource sharing (cost savings)
Personal communication
Data backups
Reliability (reduced errors/inconsistencies)
Greater performance (distributed computing)
Personalized/ contextualized services
Network
Design Issues
Media; Topology; Protocol;
Addressing; Naming;
Example networking application.
Transmission media
Wired (or Guided) Media
1) Copper pair:
• Unshielded Twisted Pair (UTP)
• Shielded Twisted Pair (STP)
2) Coaxial Cable
3) Optical Fiber
Transmission media
Wireless (or Unguided) Media
1. Infrared
2. Radio
3. Microwave
4. Satellite
Network Topology
Network topology is the study of the physical
(real) and logical (virtual) interconnections
between nodes [Wikipedia]
Topology types:
Point to Point; Bus; Star; Ring; Mesh and Hybrid
Network Topology (cont)
Examples:
google.com; stanford.edu; niit.edu.pk
…, Third level domain, Second level domain; Top level domain (TLD);
List of TLDs:
http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains
Naming
How to manage address to name mapping?
1) A hosts file on each machine
Unix/ Linux: /etc/hosts file
Windows: %SystemRoot%\system32\drivers\etc
2) A decentralized domain name server system
Scalable solution
The name to IP mapping is available at a DNS server
DNS servers are of two types
a) DNS Authoritative server (each domain has at least two
authoritative servers)
b) DNS Caching server (each LAN can have one)
Example application
niit.edu.pk
Let’s assume that a student (in the
niit.edu.pk LAN) wishes to access NUST-
SEECS website hosted at www.niit.edu.pk
Example
Addressapplication
Bar
http://www.niit.edu.pk
Outstanding issues:
1 How to send this request to Webserver?
D
N
S
W
W
W
DNS Client/Server Exchange
D
N
S
Request
W
W
W
W
W
W
The IP address of
www.niit.edu.pk is
202.125.157.196
Example application (contd.)
Request
W
W
W
W
Reply W
W
MAC frame
Source MAC address | Destination MAC address Payload FCS
Encapsulation
This topic is to be studied in more depth next lecture
Request
W
W
W
W
Reply W
W