1-Network Basic-Overview
1-Network Basic-Overview
institutional
network
What’s the Internet: a service view
▪ infrastructure that mobile network
provides services to
applications: global
ISP
• Web, VoIP, email,
games, e-commerce, home
social nets, … network
regional ISP
▪ provides
programming
interface to apps
• hooks that allow
sending and receiving
app programs to
“connect” to Internet institutional
network
• provides service
options, analogous to
postal service
What’s a protocol?
human protocols: network protocols:
▪ “what’s the time?” ▪ machines rather
▪ “I have a question” than humans
▪ introductions ▪ all communication
activity in Internet
… specific messages governed by
sent protocols
… specific actions
taken when protocols define (i)
messages received, format,
or other events
(ii) order of messages
sent and received
among network entities,
and (iii) actions taken
What’s a protocol?
a human protocol and a computer network
protocol:
Hi TCP connection
request
Hi TCP connection
response
Got
the Get http://www.awl.com/kurose-ross
time?
2:00
<file>
time
Q: other human
protocols?
Sneakernet
A will send frame to C and every device will receive it except A whereas, B and D will drop the
frames because the destination is C.
Components in computer
network
Switch − A Switch is a multiport bridge and is used to
connect hosts in a LAN segment. Switches are much
faster than Hubs and operate on wire speed. Switch
works on Layer-2 (Data Link Layer), but Layer-3
(Network Layer) switches are also available.
Components in computer
network
Switch:
▪ Layer 2
▪ MAC Address table
▪ Separate collision domain
▪ Single broadcast domain
▪ Application specific integrated circuits (ASICs)
▪ No degradation performance between two devices
▪ Can move traffic at wire speed
Components in computer
network
Switch:
Components in computer
network
Layer 3 Switch
Some switches can also forward data at the network layer (layer 3)
by additionally incorporating routing functionality. Such switches are
commonly known as layer-3 switches or multilayer switches.
Console Cable
Components in computer
network
Router − A router is Layer-3 (Network Layer) device
which makes routing decisions for the data/information
sent for some remote destination.
A router is connected to two or more data lines from different IP networks.
When a data packet comes in on one of the lines, the router reads the
network address information in the packet header to determine the ultimate
destination. Then, using information in its routing table or routing policy, it
directs the packet to the next network on its journey.
Components in computer
network
Router
s
Components in computer
network
Router
s
Components in computer
network
LAN − A local area network (LAN) is a computer network that
interconnects computers within a limited area such as a
residence, school, laboratory, university campus or office building.
Ethernet and Wi-Fi are the two most common technologies in use
for local area networks.
Components in computer
network
WAN − A wide area network (WAN) It is a type of computer
network that covers a broad area, allowing communication
between devices over long distances.
Difference between LAN-WAN
LAN WAN
Limited to a small geographic area WAN spans a city, country, or even
such as home, school, and office the entire world
LANs use technologies like Ethernet
Leased lines are required for WAN
and Wi-Fi
WAN transmission speed is generally
High transmission speed in LANs
low
WAN costs more and High
A LAN costs less than WAN
maintenance cost
LAN can be created with simple
WAN needs devices like router and
network devices such as switches and
gateway
hubs
Problems are easier to understand in Problems in WAN are more difficult to
LAN understand than in LAN
Components in computer
network
CAN − Campus Area Network
Components in computer
network
SAN − Storage Area Network
Components in computer
network
Firewall − Software or combination of software and hardware, used to
protect users data from unintended recipients on the network/internet.
Components in computer
network
Firewall − In computing, a firewall is a network security
system that monitors and controls incoming and outgoing
network traffic based on predetermined security rules.
A firewall typically establishes a barrier between a trusted
internal network and untrusted external network, such as the
Internet.
Components in computer
network
Firewall − Firewalls are often categorized as either network
firewalls or host-based firewalls.
Logical topology
The logical topology is the path our data signals take through
the physical topology.
Components in computer
network
Full and Half Duplex:
Bus topology
A bus network is a network topology in which nodes are directly
connected to a common half-duplex link called a bus.