Académique Documents
Professionnel Documents
Culture Documents
• Understand VLAN
OUTLINES
TCP/IP
Virtual LAN
What Is Data Communication?
• Accurate transmission
• Connectionless
• Packet switching
Standardization Organizations
TCP/IP
Virtual LAN
Questions
• Function of IP route
What Is TCP/IP
Application Application
Transport Transport
Data link layer Data link layer Data link layer Data link layer Data link layer
Physical layer Physical layer Physical layer Physical layer Physical layer
Application TELNET
Presentation SMTP
TFTP
Session FTP
Datalink
Physical
Structure of TCP/IP System
T
E
L
NE
T
,
FT
P.
.
.
U
P
D
,T
C
P
I
C
MP
I
P
A
R
PR
AR
P
TCP/IP
Application
Header
Data
Application Application
Transport Transport
Network Network
Physical Physical
Data Encapsulation
Application
Header
Data
Application Application
Transport
Transport Header
Data Transport
Network Network
Physical Physical
Data Encapsulation
Application
Header
Data
Application Application
Transport
Transport Header
Data Transport
Network
Network Header Data Network
Physical Physical
Data Encapsulation
Application
Header
Data
Application Application
Transport
Transport Header
Data Transport
Network
Network Header Data Network
Physical Physical
Data Encapsulation Example
E-mail message
Data Data
Segment Segment
Data
Header
1100111010101101010101101010111001 Bits
Internet
Application Layer Overview
File Transfer
- TFTP
- FTP
E-Mail
Application - SMTP
Remote Login
- Telnet
Network Management
Transport
- SNMP
Name Management
- DNS
Network
Data link
Hardware
Transport Layer Overview
Transmission Control
Application Protocol (TCP)
Network Interface
Hardware
Transport layer provides end-to-end data
transfer.
TCP provides a reliable exchange of
information and UDP is not.
TCP and UDP
TCP:
connection-oriented
reliable transmission.
The relevant application layer protocols include TELNET, FTP
and HTTP.
UDP:
connectionless
unreliable transmission.
The relevant application layer protocols include RIP, SNMP,
RADIUS and VOD.
The Function of Port Number
# Bits 16 16
Source Dest.
…... Data...
Port Port
Port Numbers
User A
User B
IP Addressing
32 Bits
Network Host
8 Bits 8 Bits 8 Bits 8 Bits
# Bits 1 7 24
# Bits 1 1 14 16
# Bits 1 1 1 21 8
10.0.0.0 — 10.255.255.255
172.16.0.0 — 172.31.255.255
192.168.0.0 — 192.168.255.255
The Number of Hosts
Max network
Class number The last net-id The first net-id Max hosts number
Classed IP address:
the length of net-id: 8/16/24 bits
Classless IP address:
the length of net-id: any from 1 to 32
Subnet Mask
C
l
a
ssB n
e
t
-
id h
o
s
t-
i
d
S
u
b
ne
t
-
i
d n
e
t
-
id h
o
s
t-
i
d
s
u
bn
e
t
-i
d
S
u
b
ne
t 1
1
1
11
1
111
1
1
11
1
111
110
1
1
1 0
0
0
00
0
00
0
m
a
s
k
Describe IP Address
For example:
128.1.0.1/255.255.0.0 or 128.1.0.1/16
192.2.2.2/255.255.224.0 or 192.2.2.2/19
Characteristic of IP Address
Which Path?
A router
must be two or more network layer interfaces for
connecting different networks
The protocols should be implemented to the network
layer at least
61.1.1.1 129.6.0.1
129.6.69.107 202.6.6.1
Static route
A network administrator enters into the router
Dynamic route
A network routing protocol adjusts automatically for
topology or traffic changes
Working Process
r
o
ut
ing
s
el
ec
ti
ng
p
r
ot
oco
l
c
o
nver
si
on
r
o
ut
er r
o
ut
er
I
P I
P
E
T
HPP
P P
P
PE
TH
d
e
-
en
c
ap
s
u
la
t
i
one
t
he
r
ne
ts
er
i
al e
n
c
ap
s
ul
at
i
ons
e
r
ia
l e
th
er
ne
t
i
nt
er
f
ac
ei
nt
er
f
ac
e i
nt
er
f
ac
ei
nt
er
f
ac
e
L
A
N1 W
A
N L
A
N2
s
e
nd
i
ng t
r
ans
f
er r
e
ci
ev
in
g
Data Link Layer Overview
mediums.
MAC Address
24 bits 24 bits
Vendor Code Serial Number
00e0.fc12. 3456
ROM
RAM
10.0.0.2 10.0.0.1
10.0.0.2 10.0.0.2
IP: 10.0.0.1
Ethernet: 00e0.fc20.1111
The Function of Physical Layer
TCP/IP
Virtual LAN
Wide-Area Networks
• Ethernet
• Switching Ethernet
HUB
LAN SWITCH
ROUTER
HUB
• HUB
collision
collision
collision collision
A B C D
Switching Ethernet
LAN SWITCH
A B C D
The Type of WAN
• X.25
• DDN
• Frame Relay
Digital Data Network
TCP/IP
Virtual LAN
QUESTIONS
• What is VLAN?
• VLAN is defined as a
group of users and
servers located in
different physical
network segments that
are logically divided as
a terminal stations
group, which is
basically similar to the
traditional LAN in
functions and
operations.
• By port
• By MAC
• By ip address
Dividing VLAN by port
L
a
n
sw
i
t
ch1 L
a
n
sw
i
t
ch2
p
o
r
t 12345678 p
o
r
t12345678
V
L
A
N1
V
L
A
N2
IEEE 802.1P/Q
6 6 2 2 2 ... 4
Priority VLAN-ID(12bit)
The Advantage of VLAN
Virtual workgroup:
• Security