c01 s1 Network Basics
c01 s1 Network Basics
Financial Domain
What’s the Internet: “nuts and
bolts” view
PC mobile network
billions of connected
server computing devices:
wireless
hosts = end systems global ISP
laptop
running network apps
smartphone
home
network
regional ISP
wireless
communication links
links • fiber, copper,
wired
links radio, satellite
• transmission rate:
bandwidth
Introduction 1-2
What’s the Internet: “nuts and bolts”
view
mobile network
Internet: “network of
networks” global ISP
Interconnected ISPs
protocols control sending, home
network
receiving of messages regional ISP
e.g., TCP, IP, HTTP, Skype,
802.11
Internet standards
RFC: Request for comments
IETF: Internet Engineering
Task Force
institutional
network
Introduction 1-3
What’s the Internet: a service view
infrastructure that mobile network
provides services to
global ISP
applications:
Web, VoIP, email, games, e-
commerce, social nets, … home
network
regional ISP
provides programming
interface to apps
hooks that allow sending
and receiving app programs
to “connect” to Internet
institutional
network
Introduction 1-4
Service Description
Because applications run on end
systems, you are going to need to write
programs that run on the end systems.
You might, for example, write your
programs in Java, C, or Python. Now,
because you are developing a
distributed Internet application, the
programs running on the different end
systems will need to send data to each
other.
5
Service Description
End systems attached to the Internet
provide a socket interface that specifies
how a program running on one end system
asks the Internet infrastructure to deliver
data to a specific destination program
running on another end system. This
Internet socket interface is a set of rules
that the sending program must follow so
that the Internet can deliver the data to the
destination program.
6
What’s a protocol?
human network protocols:
protocols: machines rather than
humans
“what’s the time?”
all communication
“I have a question”
activity in Internet
introductions governed by protocols
8
A closer look at Internet
structure
mobile network
national or global ISP
Network edge:
hosts: clients and servers
servers often in data local or
regional
content
provider
network datacenter
network
enterprise
network
A closer look at Internet
structure
mobile network
communication links
enterprise
network
A closer look at Internet
structure
mobile network
Network core:
interconnected routers
enterprise
network of networks network
Computer Networks
Connected computers (wired or wireless) with the
purpose of transmitting, exchaning or sharing
data and resources.
Hardware (Routers, Switches, Access Point,
Cables) and Software
12
In computer networking jargon, the computers
and other devices connected to the Internet are
often referred to as end systems.
They are referred to as end systems because
they sit at the edge of the Internet.
The Internet’s end systems include desktop
computers (e.g., desktop PCs, Macs, and Linux
boxes), servers (e.g., Web and e-mail servers),
and mobile devices (e.g., laptops, smartphones,
and tablets).
13
End systems are also referred to as
hosts because they host (that is,
run) application programs such as
a Web browser program, a Web
server program, an e-mail client
program, or an e-mail server
program
14
Access networks and physical
media
keep in mind:
bandwidth (bits per
second) of access
network?
shared or dedicated?
Introduction 1-15
Host: sends packets of data
two packets,
host sending function: L bits each
takes application
message
breaks into smaller 2 1
access network at
transmission rate R
Introduction 1-16
Host: sends packets of
data
17
BIT=> Binary Digit
For Hardware:
8 bit = 1B
1000B = 1KB
1000KB = 1MB
For Software:
8 bit = 1B
1024B = 1KiB kilobyte
1024KiB = 1MiB megabyte
18
The network core
mobile network
mesh of national or global ISP
interconnected routers
packet-switching: hosts
content
network forwards packets provider
network
from one router to the next,
datacenter
network
D
B R = 1.5 Mb/s
E
queue of packets
waiting for transmission
over output link
Packet queuing and loss: if arrival rate (in bps) to link exceeds
transmission rate (bps) of link for some period of time:
packets will queue, waiting to be transmitted on output link
3 2
11
01
25
Key Points About MAC
Address Learning
Dynamic Process: The switch learns MAC addresses
dynamically as it receives frames from devices.
MAC Address Table: This table is periodically
updated as new frames are received or as entries age
out.
Unicast Frames: When the switch knows the MAC
address, it forwards frames only to the correct port,
making the network more efficient.
Broadcast Frames: If the switch doesn’t know the
destination MAC address, it floods the frame to all
ports, which can cause network congestion in large
networks.
26
What is MAC adress
A MAC address (Media Access Control
address) is a unique identifier assigned to a
network interface card (NIC) or
network device for communication on a
local network.
At the Data Link Layer (Layer 2) of the
OSI model.
00:1A:2B:3C:4D:5E :
On Windows «ipconfig /all»
Physical Address=MAC Address
27
Methods of
Communication in a
Network
28
Types of Network
PAN: Personal Area Netwrok
LAN : Local Area Network
MAN: Metropolitan Area Network
WAN: Wide Area Network
29
PAN (Personal Area
Network)
The smallest network type
A small-scale network typically
used for personal devices within a
very limited area (a few meters).
Wireless PAN: Bluetooth,..
Wired PAN: USB, ..
30
LAN (Local Area Network)
a small type of network used in
houses, companies, schools or any
other small areas
31
MAN: Metropolitan Area
Network
Larger than LAN and smaller than
WAN
Connecting multiple LANs in a
city or large campus.
32
WAN (Wide Area)
largest network type.
covers large geographical areas.
also connect other small and
medium networks like LANs and
MANs.
33
Network Topologies
Topology - Physical and logical
network layout –
Physical – actual layout of the
computer cables and other network
devices –
Logical – the way in which the
network appears to the devices that
use it.
34
Network Topologies
36
Bus Topology
41
Hybrit Topology
42
Hybrid Topology
Combination
Mesh-Star Hybrid:
• Example: In large data centers or
enterprise networks, core switches
may be arranged in a mesh topology
to ensure high availability, while each
individual office or department may
use star topology for local connectivity.
43