Trang 82 CSMA/CD half-duplex CSMA/CD CSMA/CA half-duplexQuá trình tránh t CSMA/CA 6.3 DATA LINK FRAME header và trailer khung frame.. Trang 87 Hình 7.3 Ethernet Frame Fields Ethernet fr
Trang 1Biên
ThS Hàn Minh Châu
www.hutech.edu.vn
Trang 2*1.2021.CMP172*
tailieuhoctap@hutech.edu.vn
Trang 3I
NG D N V
1
1
1
1.2.1 Các host 1
1.2.2 Peer-to-peer 2
2
3
4
1.3 CÁC TOPOLOGY 4
4
5
6
6
1.4.2 LANs và WANs 6
1.4.3 Internet 8
1.4.4 Intranet và Extranet 9
10
10
10
11
12
13
14
15
1.6.3 16
17
18
18
18
19
19
20
20
20
21
21
Trang 421
23
2.1 CISCO IOS 23
23
2.1.2 GUI 23
23
24
24
2.2 IOS NAVIGATION 24
24
25
25
27
27
27
28
28
28
29
30
32
32
2.6.2 Interface và Port 33
34
36
36
37
38
39
39
40
40
42
3 44
46
49
56
56
57
59
4.4 CÁP UTP 61
Trang 54.5 CÁP QUANG 62
63
BÀI 5: 64
64
66
68
68
6.2 CÁC TOPOLOGY 69
6.3 DATA LINK FRAME 72
BÀI 7: ETHERNET SWITCHING 75
7.1 ETHERNET FRAME 75
7.2 ETHERNET MAC 78
7.3 MAC ADDRESS TABLE 81
83
86
86
8.2 GÓI IPV4 89
8.3 GÓI IPV6 90
92
95
99
9.1 MAC VÀ IP 99
9.2 ARP 100
9.3 IPV6 NEIGHBOR 102
104
104
1.1 105
110
111
111
11.2 IPV4 UNICAST, BROADCAST, MULTICAST 114
115
11.4 NETWORK SEGMENT 117
119
120
123
11.8 VLSM 124
126
128
128
Trang 6128
129
133
135
138
12.7 IPV6 MULTICAST 139
140
BÀI 13: ICMP 143
143
13.2 PING VÀ TRACEROUTE 147
151
151
14.2 TCP 154
14.3 UDP 156
14.4 PORT NUMBER 158
159
14.6 162
166
169
ION, SESSION 169
15.2 PEER-TO-PEER 170
172
176
180
182
Trang 7Bài 4:
lý, và các Bài 5:
Trang 8Tham
Trang 9-
-
Trang 11BÀI 1: QUAN
1.1 NG C A M I S NG
a vào không k
Trang 13Hình 1.3
1.2.4 Thi t b m ng trung gian
switchkhông
-
- Duy trì thông tin thông
-
Hình 1.4
Trang 141.2.5 Truy n thông trên m ng
1.3
Trang 15Hình 1.6
1.3.2 m ng
và cách
Hình 1.7
Trang 18IETF
ICANN
IAB
Trang 19Hình 1.12
1.4.4 Intranet và Extranet
Hình 1.13
Trang 211.5
Trang 251.6.2 Kh r ng
Hình 1.19
Trang 261.6.3 Ch ng d ch v (QoS)
Hình 1.20
- hình
Trang 32-
-
- H
Trang 35- #
2.2.2 Ch c u hình và c u hình ch con
Hình 2.1
p vào console
Trang 36Hình 2.8
Trang 42thành viên
Hình 2.24
Trang 44Hình 2.26
2.7 C A CH IP
C
Hình 2.27
Trang 45Hình 2.28
Hình 2.29
Trang 48Hình 3.4
3.1.2 nh d n
Hình 3.5
Trang 49-
M
Trang 50Các giao
Trang 51Hình 3.8
Trang 52- hóa
AppleTalk-
Novell NetWare-
Hình 3.9
Trang 543.4 MÔ HÌNH THAM CHI U
Hình 3.12
ng:
ng khác bên trên và bên d
Trang 553.4 trong
Trang 57- i
Hình 3.15 gói
Hình 3.16
Trang 591 Received as Bits (Bit Stream)
Hình 3.19 G
-
-
Hình 3.18
Trang 60Hình 3.20
Hình 3.21
Trang 63Default gateway
Hình 3.26
Hop sang Hop, n
Hình 3.27
Trang 64- (Second Router- exit interface)
- (Web Server NIC)
Trang 65Hình 3.30 gói tin
Web Server
Hình 3.31
Trang 68Hình 4.3
Xung ánh sáng trên cáp quang
Trang 69Microwave trên truy
Trang 71-ông dây - Internet
Trang 73backbone -
4.6 TRUY N KHÔNG DÂY
Trang 76Hình 5.6
5.2 H HEXA
n
Trang 77Hình 5.7
phân
hextet
Hình 5.8
Trang 80Logical topology - interface
WAN có ba topologyPoint-to-point topology
Mesh -
i -
Hình 6.3 Cá
Bus -
terminal
Ring -
Trang 81Hình 6.4 Half-duplex:
Trang 82logical topology
Trang 83Hình 6.5
6.1 Field
Trang 85BÀI 7: ETHERNET SWITCHING
Trang 86Full-duplex trên switch
Trang 87Hình 7.3 Ethernet Frame Fields
preamble không tín
Các frame Fast Ethernet và Gigabit Ethernet và NIC
Hình 7.4
Trang 887.2 ETHERNET MAC
byte
à 0A
hex theo sau là
trong mô hình OSI
phân byte
byte
byte)
Hình 7.5
Trang 89hernet, Ethernet header
Ethernet frame
frmae
Ethernet frame
Hình 7.6 Unicast MAC address
Trang 90Hình 7.7 Broadcast MAC address
Trang 91Multicast MAC address
multicast multicast
Trang 92Switch learning và Forward
switch
table kèmswitch
Trang 93frame Store-and-forward switching
byte frame
Trang 94switch
cho phép
hànkhác
Half-duplex -
full-duplex
half-duplex full-duplex
Trang 95c reset duplex
thành full-duplex
Hình 7.11 Auto-MDIX
Trang 96BÀI 8:
8.1 C TÍNH C A T NG NETWORK
thao tác
Hình 8.1
Trang 97transport)
Hình 8.3
Trang 98các gói
:
là khi Layer 3 chia gói
Trang 100Source IPv4 Address
Destination IPV4 Address
8.3 GÓI IPV6
:
Trang 102Hop Limit
Source IPv4 Address
Destination IPV4 Address
Trang 103default-gateway:
default-gateway
Trang 104router
Hình 8.9 host
Hình 8.10
Trang 106Remote - router
router chia Default route
Hình 8.12 Static route
:
default route
Hình 8.13
Trang 107Hình 8.14 Dynamic route
Duy trì
Hình 8.15
Hình 8.16
Trang 108- Directly Connected C and L
- Remote Routes O, D, etc
- Default Routes S*
Hình 8.17
Trang 109Hình 9.1
a default gateway
NIC
NIC
Trang 110Hình 9.2
9.2 ARP
sang MAC
Hình 9.3
Trang 112ARP reply ng ARP poisoning
Hình 9.6
9.3 IPV6 NEIGHBOR
IPv6 Neighbor Discovery (ND) cung
device-to-device ICMTPv6 Router Solicitation (RS) và Router Advertisement
device và router
next-multicast IPv6
Trang 113Hình 9.7
Trang 114Router(config)# line console 0
Router(config-line)# password password
Router(config-line)# login
Router(config)# line vty 0 4 Router(config-line)# password password Router(config-line)# login
Router(config-line)# transport input {ssh | telnet}
Router(config)# service password encryption
Router(config)# banner motd # message # Router(config)# end
Trang 115Router(config-if)# ipv6 address ipv6-address/prefix-length Router(config-if)# no shutdown
interface
Hình 10.1 R1(config)# interface gigabitEthernet 0/0/0 R1(config-if)# description Link to LAN R1(config-if)# ip address 192.168.10.1 255.255.255.0 R1(config-if)# ipv6 address 2001:db8:acad:10::1/64 R1(config-if)# no shutdown
R1(config-if)# exitR1(config)#
*Aug 1 01:43:53.435: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/0, changed state to down
*Aug 1 01:43:56.447: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/0, changed state to up
*Aug 1 01:43:57.447: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/0, changed state to up
interface G0/0/
R1(config)# interface gigabitEthernet 0/0/1 R1(config-if)# description Link to R2
R1(config-if)# ip address 209.165.200.225 255.255.255.252
Trang 116Router(config-if)# ipv6 address ipv6-address/prefix-length Router(config-if)# no shutdown
interface
Hình 10.1 R1(config)# interface gigabitEthernet 0/0/0 R1(config-if)# description Link to LAN R1(config-if)# ip address 192.168.10.1 255.255.255.0 R1(config-if)# ipv6 address 2001:db8:acad:10::1/64 R1(config-if)# no shutdown
R1(config-if)# exitR1(config)#
*Aug 1 01:43:53.435: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/0, changed state to down
*Aug 1 01:43:56.447: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/0, changed state to up
*Aug 1 01:43:57.447: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/0, changed state to up
interface G0/0/
R1(config)# interface gigabitEthernet 0/0/1 R1(config-if)# description Link to R2
R1(config-if)# ip address 209.165.200.225 255.255.255.252
Trang 117R1(config-if)# ipv6 address 2001:db8:feed:224::1/64 R1(config-if)# no shutdown
R1(config-if)# exit R1(config)#
*Aug 1 01:46:29.170: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/1, changed state to down
*Aug 1 01:46:32.171: %LINK-3-UPDOWN: Interface GigabitEthernet0/0/1, changed state to up
*Aug 1 01:46:33.171: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0/1, changed state to up
show ip interface brief và show ipv6 interface brief
router
Hình 10.2
10.1
Show ip interface brief
Show ipv6 interface brief
Show ip interfaces
Trang 118show ip route và show ipv6 route router:
Hình 10.3
Hình 10.4
Trang 119show ip interface interface router:
Hình 10.5
router:
Hình 10.6
Trang 120default-gateway ip-address
Trang 121Hình 11.2
Trang 122(prefix)
Trang 123Hình 11.3
Hình 11.4
11.2
Trang 12411.2 IPV4 UNICAST, BROADCAST, MULTICAST
Trang 125Network Address Translation (NAT)
router biên private s
Trang 126Hình 11.9
host link-local
- 191.255.0.0/16)
- 223.255.255.0/24)
Trang 127.0.0)
- 255.0.0.0) ãng (A, B, C)
trong broadcast domain
Hình 11.11
Trang 128broadcast domain là các host có broadcast
Trang 129Hình 11.14
11.5 CHIA M NG CON V I IPV4
prefix /8, /16 và /24
host t
11.3
prefix /16 và trong
là /24:
11.4
Trang 13111.7
Hãy xét
octet octet
Trang 135host và phù topology này
point-to-point
Hình 11.20 tr
con)
Hình 11.21
/30
Trang 136Hình 11.22
host host
sau:
Hình 11.23
11.9 THI T K C U TRÚC M NG
IPv4 sau này, ta
public
Trang 140Global Unicast Address (GUA) -
Link-local Address (LLA) -
Trang 142IPv6 GUA Global Routing Prefix:
Trang 143R1(config-if)# ipv6 address 2001:db8:acad:1::1/64
R1(config-if)# no shutdown
R1(config-if)# exit
Trang 144manual host IPv4
router default gateway
Hình 12.7 LLA manual
ipv6-link-local-address link-local
ên interface R1(config)# interface gigabitethernet 0/0/0
R1(config-if)# ipv6 address fe80::1:1 link-local
R1(config-if)# no shutdown
R1(config-if)# exit
Trang 145
12.5 C A CH IPV6 GUA
ua Internet Control Message Protocol version 6 (ICMPv6)
Trang 146RA
default gateway Stateless DHCPv6 server
Hình 12.9 Statefull DHCPv6
n stateful DHCPv6 server
default gateway
Hình 12.10
Trang 147Stateless DHCPv6, máy
ID riêng
nhiên
EUI-Hình 12.11
-Ethernet 48 bit c
12.1
interface -64
Trang 148interface -64
Hình 12.14
Trang 149Random 64-bit Generated Interface ID:
Hình 12.15 Các router
các LLA interface IPv6
Trang 150ff02::2 All-routers multicast group - nhóm multicast
router IPv6 tham gia
ipv6 unicast-routing
Solicited node multicast
Solicited-node multicast
Hình 12.17
12.8 CHIA M NG CON V I IPV6
Global Routing Prefix và interface ID
Hình 12.18
Trang 151Cho global routing prefix là 2001:db8:acad subnet ID 16 bit
prefix /64 Global routing prefix
Trang 152Hình 12.21 interface
Hình 12.22
Trang 154Hình 13.1 Destination or Service Unreachable
ICMP Destination Unreachable
Trang 155TTL, ICMPv6 Hop Limit
Neighbor Solicitation (NS) message
Neighbor Advertisement (NA) message
Trang 156RS
Hình 13.4 Trong hình,
Trang 157node
db8:acad
Hình 13.6
13.2 PING VÀ TRACEROUTE
ICMP echo request và
Hình 13.7
Trang 158local host này, hãy ping loopback
127.0.0.1 cho IPv4 (::1 cho IPv6)
trên host hay không
host
Hình 13.8
default gateway
host và interface router
default gateway (interface router), host có
Trang 160Traceroute (tracert host
router router
Hình 13.11 traceroute
Time Exceeded
Traceroute
Hình 13.12
Trang 163connectionless)
best-effort
Hình 14.5
Trang 164Hình 14.6
14.2 TCP
: Phiên -
-
-
Trang 165Checksum
Urgent
Trang 16714.2 TCP header
Hình 14.10
Trang 16814.4 PORT NUMBER
Hình 14.11 Socket pairs
socket
Các socket
Hình 14.12
Trang 16914.3
Trang 170Hình 14.13
Hình 14.14
Trang 171ACK
Fkhách
B
Hình 14.15
Nó xác m
Trang 172Sau khi hoàn t
Trang 173Hình 14.17
Hình 14.18 Các host
Trang 174Hình 14.19
Hình 14.20
Trang 175- Maximum Segment Size
Trang 177Hình 14.25
well-known datagram
Hình 14.26
Trang 181Mô hình peer-to- ngang hàng)
Trang 182eDonkey, Freenet
Hình 15.6
15.3 CÁC GIAO TH C TRÊN WEB VÀ EMAIL
Uniform Resource Locator
tra
cisco.com index
Hình 15.7
cisco.com
index.html
Trang 185Hình 15.13
mail server
Máy ch
Hình 15.14
Trang 187Hình 15.16 tài nguyên kh
Trang 188bao question, answer, authority, and additional
Trang 189Hình 15.18
pool và gán nó cho máy con
Hình 15.19 Quy trình DHCP
Trang 190lên
- Máy
-
Trang 191Hình 15.21 SMB-Server Message Block
Hình 15.22
nó cho
file và máy in
hác
Trang 192
1 Netacad.com- Cisco version 7
2 James F Kurose and Keith W Ross Computer Networking A Top-Down Approach 7th Pearson Education, 2017 ISBN-13: 978-0-13-359414-0, ISBN-10: 0-13-359414-9