Professional Documents
Culture Documents
Mang May Tinh
Mang May Tinh
Mang May Tinh
file ,
gg drive , ...
-
Email -
mail
-Thing mai
-
dien t -
shopee ,
lazada ,
amazon ,
...
hau edu
--
Chong 1 :
Coban vemang mich
1 .
Lich Si Internet .
- 1911963 ,
2
phing tho ca
Ltrg At not tieng Cali a Stanford
ket no : hier
truyen tin .
+12/1969 MMT mo
rong him th d nut -> 4 nut
-
,
many
us tic do li 56 kps
x
per secon
no,
-
1974 , cerf &
kahn-ngly' ket cas he thing mi
Turing Awards /
- 1980 , TCP/IP de phohoa va chan bien'
-
Truyen file : Gmail ,
Media file ,...
Dick m
:
FPT ,
Mail ,
DNS , ...
-
Dai 90 :
Web- HTML ,
HTTP ,
Berners-Lee
Coi 90 hoa
-
:
Thong mai Internet .
servero
*
Ve so do ket ni
-
ket no : 2mt .
-
ket no : 3 mt .
# keptop
Switch O
a keptop
keptop
2 .
Cas kno co ban
Many it l gi ?
-
Tap hop -
cac not kit noi us nhan dia tren 1 ktnic no do co'the traw
do di Lien -
.
I Mt :
1 pen trugen
+
Theo 1 ktruc
mang
Dvong truyen at ly'
-
La cac pien rat
S ly' co' knang trugen dan tin hier
-Phan loai :
+
thin tuyer :
cap xoan ,
cap doing truc , cap quang ,
...
tuyensong radio
-
Vo ,
viba , song hing ngoai ...
-
so : +
tar
+
As my how : muc
sy giam tin hie khi truyen"
kien tric
mang
Cas nut ket not voi than nth ? (Hinh trang-topology)
-
many
+
topology rat ly' :
hinh trang dia tren cap ket
not
bus ring
Cring) star (saol mesh (loi)
+
topology logic hinh
trang dia tren cach thu truyen in hier diein
:
:
die -
a den
- ... a trao doi di bin vo; than ntr ! (gian this -
protocol
Mot vi vi du :
-
Mang internet -
He -
thing Aim via
ngan hany
-
Mang internet
-
Tren 8, 4 t thi -
kit no,
rg dung, Stage aa
-
3 9 ,
Dvong . ding ,
Wimax , 34 ...
-
Truyer tai ~NXO GB
mongay
- Dich m :
Web , email , mang , xhi , skype ...
Internet of
things (IOT)
Chugen mach go
-
Du lieu As Chia thanh cas goi tin (packet'
-
Phan dien de headers :
dia chi ,
stt
-
Phan di lien (payload)
-
-
Thiet bi chuyen mach tiep goi in dia tren tier de
/
Mo hink 03I/ISO
Application ->
Tangung dung
Presentation
Tani trinh dien
->
Session ->
Tang phien
Transport
Tang giar van
->
Network ->
Tang mang
link
Data
kit di Lien
-
->
Tang hien
Physical
-
->
Thing at by' .
Mo hinh OSI a TCP/IP
Application layer
Presiontation
Session layer
layer
3 ->
Application
CHTTP ,
FTP
.
,
SMTP ,
... (
Transport layer
Network layer
Data link
layer
Physical layer
-
No hinh OSI :
mo hinh 081 .
- >
Transport UDP RP
Transport
-> port number (so'hien Cong D)
Network
-
Ip address
Data link
-
Physical address/MAL address
Physical
Switch O
Bai tap
keptop a
↑
modern a
mobile
laptop
a keptop
Switch O vide :
nam edu un .
keptop
.
-
-
&
+
+I
ten
dia
/
min
chicing
:
:
com ,
TCP 20
net ,
:
Un
FTP(Data)
, org
,
,
TCP21
...
:
FTP /0
wit
mobile (Control) MP 22 :
SSH M 23 : ...
, ,
-
dia chi IP :
0 0
. .
0 0
.
+
255 .
255 .
255 .
255 .
IP address :
192 168 1
. .
.
1
IP :
192 168
. .
1 2 .
Switch O
P
IP :
192 168 1 3
. . . :
192 . 180 . .
# keptop1 kaptop 2
IP :
192 168 . .
1 3
. IP :
192 168 1 4
.
.
.
*
Nhap dia Chi IP hiding shap subnet mass
-
Phong an ktra phiong an' ktra kit not givia cac mt :
ping 192 .
168 .
1 .
1
-
Dich on HTTP . (bat on
Dia
-
chi IP (IPv4)
-
Dia chi IP :
wii(PC ,
server ,
smart phone ,
by dinh tugen's
-
Mi dia chi IP A: gan' cho mot
long day That'
- Dia chi IP co tiah day what trong mang
8 bits
sdung 4 p'Obits Inta' 1 dia chi 32 bits .
0-255
integer
Dia chi IP ~4 .
- Dia chi co
Sphan
+
Most ID p'Atchi
-
may tram
-
-
Network ID -
p Achi many
i nat do many ?
- plop A chi
- ↑phan lp-CIDR
-Prefix :
127 .
-
Hexa :
OxFFFFFF eO .
Bai tap .
Network address :
129 ,
168 .
1 .
0 124 .
many :
. . .
Ak may :
co
/
20 =
25 may ;
thuc te' , Koding t dai va otla
&
2, Nw address :
i
Netmosk :
-
Al dan : 203 . 178 .
142 .
129 ( +
1)
* vi bo di ot'dan-arti
-
Ak (usi :
203 .
178 .
142 .
158 1 +
301
Bai tap .
Cho IP :
203 .
178 .
142 .
129
Mat na
:
IP :
11001011 10110010 10001110 1000000 1
MNa :
5
thic ti ta ok dai
% may : 2 =
32 Irin ko
sdung
va ot a -> 30 may
dant & 25-2=
~
5 bit cho ot nin danh 30 (
Giao thc IPv6
-
Xuat phat in nhu can this te :
Kgian dice -
chi IPv4 Kgian Achi IPv6
1cm 84 .
000 lan d kink thien ha
Cach th bdien :
-
128 bit ,
bien dien so he 16 -
-
Phan tach" : "Giaca's nhom 485' hexa
·
3tfe :
501 :
1002 :
e320 : 200 :
181 :
+eg8
:
936d
-
B: qua chus ! lien diep cas so O .
·
Ste :
501 :
1002 :
2320 : 0 : 0 :
0 : 1-> 3tfe :
501 : 1002
:
e320 : 1
-windows :
- Linux :
/etc/ network / interfaces
-Lap phal ding :
BT :
Hay trinh bay ca cach cap' phat dia chi IP va cho vdu ?
-
Go da chi IP tink
-
ICMP vo cas
sing u debug
ICMP luon hot / try suot rig so
Piraceroute
- is
-
Tim drong o tot that dech' tiep du lien to nut dich.
-
Trg mang IP ch mach goi :
t
Cas goi in ac chi tiep' dic lap -
X con
no tim do -> tinh
not i dien-ding ,
mang tri-Autonomous
btap :
We' 5mt1 tim di di .
A ANN =
1 -
2 -
5
1
-
As
- ASA
> AS3
-
La
2Abi
gengnhau
S
drt
net
-
Route 1 Routers
1 -
switch
1
Selitch t
>7
<
-
Router 2 ↑
-
1 N
↑ -
M
1 N
'
>
- lap top 2
0 server PC2
lap top1
Pc1
-
Destination :
a mang
dich
-
Dinh tuyen' classless :
ting 1 router
-
Bridge (can) ,
Switch (b! ch' machi
Dai whic chuc
- / rang tang 12
+
Cho plep kef noicac loai
-
d tr rat ly'F nham .
+
Chia who min dung do -
t
Ch mach cho khung in dia tren /c MAC
Router us Switch
-
Xi ly goi tin : win S ch' tiep (store-and-forward)
Router b tans -
-
man di i a
-
Ch' tiep go" in :
many
-
Mo; nut
many
ket not was true bing dai not chi T
-
Pt
truyen
:
It -dad' (point -
to-multipoint
I
Du lien to theo & ha
I
Nut rhan :
ktra ok du lie
-
-
Terminator
-
vin ot :
-
Cac not mang I kit not truc kep is thi trung tai
d d Switch-router
Pt
trugen -
:
T
-
I'-dad' :
hub
-
it' :
tre o tot hon ,
din khien tof her
S
-Nh: It :
Chi phi caw hon .
Hink vorg
-
Cas nut
many
C
hung di trugen khep kin
&.
&' spoint
to to point
Pt -
-
d
- Di phong
-
in It'
- Nh? &' :
-> rh ot :
hay say ra loi , qua' Phente ,
Non kea ↑
- whe o :
duphong cao .
sever O
Sever
Router O
-switch2
switch t
-
-
-
↑
-
1 N
↑ -
M
1 N
oo I
·
-
⑰
> I
'
>
-
④ PC 19
> I > I · I (IP 192
00
PC 11 :
PC 10 (IP
168
2
192 168 2 2)
t
0 ⑪ ⑰ . . .
.
i0)
:
P2 1
po 3)
(IP 192 160 1 G
:
. . .
Pc 9 (IP 142 168
:
.
2 .
17
.
(TP
-
:
192 168
.
. 1 1)
. (IP 192
:
. 160 1 10)
. .
tracert
quing di di
:
f
pert :
+ Ptien truyen :
t trugen
+ Dici che
MANG-
LAN Go-VLAN
-Y thic te : +
Chia se tai
nguyen (file , may in , ... ) givia cas tram" yo wham"
-
Bat mat thing in no, be try mot phony bar .
- Gial
phap Mang LAN do :
+ Nhoin cas tram thank I
many LAN
logic
bi
+
VLAN
- Mot VLAN I mot board cast domain at? two ra tren mot hoas n'switch
the
-
switch t switch
-
-
-
- -
↑ - ↑
VLAN2
M
M
1 S
1
VLAN2 VLAN 1
VLAN1 MAN1 VLANG
> I
⑰
> I > I
> I > I > I
④ PC6
t
0 ⑪ 0
-
Pc
:
(IP :
192 168 .
. 1 .
1) (IP 192
:
. 160 . 2 .
1) (IP 142 168
:
.
. 2 .
2)
Bai tap
> I
④
pc 1
VLAN
(IP :
192 168
. .
1 11
.
> I >
> I > > I > I
④ PC 20
t
0 ⑪ 0
-
(IP :
192 168 2 1)
.
.
.
(IP 192 :
. 160 .
4 .
3) (IP 192 168 4 37
:
.
. .
Pc6(VLANC) 192 .
168 .
2 .
2
pc = ( VLANS) 192 .
168 . 3 .
2
192 168 4
pc8/ VLAN4) .
. .
2
pc 15 (VLAN31 19 2 .
.
168 .
3 .
4
p
> 16 (VLAN4) 192 . 168 .
4 .
4
/A ( VLAN1 192 168 1 5
Pc .
. .
p
C 10 ( VLAN2S 192 . 168 .
2 .
5
5
Pc 19) VLAN 3) 192 . 168 . 3 .
VLAN 1 VLAN4
switch t switch
-
dia -
PC 12
(IP 192 160 4 31
(IP
:
192 168 1 11
. .
.
. . .
VLAN S
VLAN2
'
>
t
-
PC 11
PC2 (IP 192 160 33 (
:
. .
·
VLAN 2
(IP :
192 168 2 1).
.
.
VLAN4 VLAN 1
VLAN3
VLAN4 1
'
VLAN >
VLANS VLANL
>
↳ a
- PC 10
-
- -
⑪ ⑰
P25
- Pc
18 PCO (IP
Pc 9
(IP 192 168 23 (
192 168 13
:
(
. . ·
(IP
.I!!
PC 3
P26 192 . .
4
PC
:
.
:
1222
.
4
: ·
:
. .
. .
. .
11
.
. .
4 .
-
Danh dia chi IP was Router
192 168 1 0
.
.
.
va 192 . 168 . 2 O
.
Routers
-
Their dia che IP var RIP
via router .
A
switch 2
witch
-
ca
may irh .
I I I
Ba tap on tap -
VLAN 1 VLAN4
switch t switch
-
1
, dia -
PC 12
(IP 192 160 4 31
(IP
:
192 168 1 11
. .
.
. . .
VLAN S
VLAN2
'
>
t
-
PC 11
PC2 (IP 192 160 33 (
:
. .
·
VLAN 2
(IP :
192 168 2 1)
.
.
.
VLAN4 VLAN 1
VLAN3
VLAN4 1
'
VLAN >
VLANS VLANL
>
↳ a
- Pc10
-
- > I
- % 192160 !*1
,
168.23
..
⑪ ⑰ Pc 7
4
: .
:
. .
. .
. . :
11
.
. .
4 .
+2 +
3
So sank switch a router .
*
Xi ly goi tin :
him a
chuyen tiep (store-and-forward
-Router :
thief bi
-
ting many
-Switch :
thief bi tang lif di
lien lien .
*
Chuyen tiep goi tin :
-Router :
sdung that toan' dinh tryen tinh toan bang chuyen tiep'
(Forwarding Table 1 ,
ch tiep theo dia che IP dich
-Switch sdung :
co che i hos tinh tran bang MAC Table ,
2, * Cas bron can hinh Router tim ding di giva mangf nham .
-
Buoc 1 :
Dann dia Chi IP vio Router 192 168 . .
1 O . va
192 168. .
10. O.
-
Busc 3 :
inh la
-
Bro 4 :
-
B1 : Ve so do hoan which .
3 ,
* So sant :
+
Can tao ->
-
-
185m -500m
Phan
-
loai cap gai : sm
- Bang thing +
baseband :
Mbps
Broadband :
400Mbps
-
cap xon doi
+ Cai Two :
I STP :
Shielded Twisted Pair
-
Categories
A late MBPMbps
Cat 6 :
1Gps
-kei noi-dan
I thing
dan chio
·
Cap quang
-Es
-
:
+
Can
~ /
two :
E
&
- Bang thing :
gia think
single Mode
cas din not
& Multi
phic tap
Mode -Tot do
E da
- - -
↑
so'dan no i to ,