0% found this document useful (0 votes)
17 views15 pages

Dacnnnn

The document discusses configuring IP addresses and static routing on routers to set up a network. It provides steps to draw a diagram of the network topology, configure IP addresses on interfaces of routers and PCs, and configure static routes on each router.

Uploaded by

Nguyên Vũ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views15 pages

Dacnnnn

The document discusses configuring IP addresses and static routing on routers to set up a network. It provides steps to draw a diagram of the network topology, configure IP addresses on interfaces of routers and PCs, and configure static routes on each router.

Uploaded by

Nguyên Vũ
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Lap 6:

A
255.224.0.0
7
2

10.0.0.1 to 10.15.255.254
10.16.0.1 to 10.31.255.254
10.32.0.1 to 10.47.255.254
10.48.0.1 to 10.63.255.254
10.64.0.1 to 10.79.255.254

10.80.0.1 to 10.95.255.254

10.96.0.1 to 10.111.255.254

Lap 13:
1.Gắn địa chỉ ip
PC1:
PC2:

Wed Server
2. Đặt tên cấu hình định tuyến
Route HQ:
Router>en
Router#conf t
Router(config)#no ip domain-lookup
Router(config)#hostname HQ
HQ(config)#int f0/0
HQ(config-if)#no shutdown
HQ(config-if)#ip address 192.168.2.65 255.255.255.192
HQ(config-if)#exit
HQ(config)#int s0/0/0
HQ(config-if)#no shutdown
HQ(config-if)#exit
HQ(config)#interface s0/0/0
HQ(config-if)#no shutdown
HQ(config-if)#ip address 192.168.2.130 255.255.255.192
HQ(config-if)#exit
HQ(config)#int s0/0/1
HQ(config-if)#no shutdown
HQ(config-if)#ip address 209.165.201.2 255.255.255.252
HQ(config-if)#exit
HQ(config)#ip route 209.165.200.224 255.255.255.224 s0/0/1
HQ(config)#ip route 192.168.2.192 255.255.255.192 s0/0/0
HQ(config)#do write
HQ(config)#exit
HQ#write
Route Branch:
Router>en
Router#conf t
Branch (config)#no ip domain-lookup
Branch (config)#hostname Branch
Branch (config)#int f0/0
Branch (config-if)#no shutdown
Branch (config-if)#ip address 192.168.2.193 255.255.255.192
Branch (config-if)#exit
Branch (config)#int s0/0/0
Branch (config-if)#no shutdown
Branch (config-if)#ip address 192.168.2.129 255.255.255.192
Branch (config-if)#exit
Branch (config)#ip route 0.0.0.0 0.0.0.0 f0/0
Branch (config)#do write
Branch (config)#exit
Branch #write
Route ISP:
Router>enable
Router#conf t
Router(config)#no ip domain-lookup
Router(config)#hostname ISP
ISP(config)#int f0/0
ISP(config-if)#no shutdown
ISP(config-if)#ip address 209.165.200.225 255.255.255.224
ISP(config-if)#exit
ISP(config)#int s0/0/1
ISP(config-if)#no shutdown
ISP(config-if)#ip address 209.166.201.1 255.255.255.252
ISP(config-if)#exit
ISP(config)#ip route 0.0.0.0 0.0.0.0 s0/0/1
ISP(config)#do write
ISP(config)#exit
ISP#write
Lap 27:

Bước 1 Vẽ sơ đồ
Bước 2 Cấu hình ip cho route:
Trên R1:
Route>enable
Route#conf t
Route(config)hostname R1
R1(config)int f0/0
R1(config-if)no shutdown
R1(config-if)ip address 10.0.1.1 255.255.255.0
R1(config-if)exit
R1(config)int f0/1
R1(config-if)no shutdown
R1(config-if)ip address 10.0.2.1 255.255.255.0
R1(config-if)exit
R1(config)int s0/1/0
R1(config-if)no shutdown
R1(config-if)ip address 10.0.0.1 255.255.255.0
R1(config-if)exit
R1(config)int s0/1/1
R1(config-if)no shutdown
R1(config-if)ip address 10.0.3.1 255.255.255.0
R1(config-if)exit
Trên R2
Route>enable
Route#conf t
Route(config)hostname R2
R2(config)int s0/1/1
R2(config-if)no shutdown
R2(config-if)ip address 10.1.0.2 255.255.255.0
R2(config-if)exit
R2(config)int s0/1/0
R2(config-if)no shutdown
R2(config-if)ip address 10.0.0.2 255.255.255.0
R2(config-if)exit
Trên R3:
Route>enable
Route#conf t
Route(config)hostname R3
R3(config)int s0/1/1
R3(config-if)no shutdown
R3(config-if)ip address 10.1.0.1 255.255.255.0
R3(config-if)exit
R3(config)int s0/1/0
R3(config-if)no shutdown
R3(config-if)ip address 10.1.1.2 255.255.255.0
R3(config-if)exit
Trên R4:
Route>enable
Route#conf t
Route(config)hostname R4
R4(config)int s0/1/1
R4(config-if)no shutdown
R4(config-if)ip address 10.1.3.1 255.255.255.0
R4(config-if)exit
R4(config)int s0/1/0
R4(config-if)no shutdown
R4(config-if)ip address 10.1.1.1 255.255.255.0
R4(config-if)exit
R4(config)int f0/0
R4(config-if)no shutdown
R4(config-if)ip address 10.1.2.1 255.255.255.0
R4(config-if)exit
R4(config)int f0/1
R4(config-if)no shutdown
R4(config-if)ip address 203.0.113.1 255.255.255.0
R4(config-if)exit
Trên R5:
Route>enable
Route#conf t
Route(config)hostname R5
R5(config)int s0/1/1
R5(config-if)no shutdown
R5(config-if)ip address 10.1.3.2 255.255.255.0
R5(config-if)exit
R5(config)int s0/0/0
R5(config-if)no shutdown
R5(config-if)ip address 10.0.3.2 255.255.255.0
R5(config-if)exit
Bước 3:Cấu hình ip cho PC
PC1

PC2:
PC3:

Bước 4: Định tuyến tĩnh

R1
R1(config)# ip route 10.1.0.0 255.255.255.0 10.0.0.2
R1(config)# ip route 10.1.1.0 255.255.255.0 10.0.0.2
R1(config)# ip route 10.1.2.0 255.255.255.0 10.0.0.2
R1(config)# ip route 10.1.3.0 255.255.255.0 10.0.0.2

R2
R2(config)# ip route 10.0.1.0 255.255.255.0 10.0.0.1
R2(config)# ip route 10.0.2.0 255.255.255.0 10.0.0.1
R2(config)# ip route 10.0.3.0 255.255.255.0 10.0.0.1
R3
R3(config)# ip route 10.0.1.0 255.255.255.0 10.1.0.2
R3(config)# ip route 10.0.2.0 255.255.255.0 10.1.0.2
R3(config)# ip route 10.0.3.0 255.255.255.0 10.1.0.2
R4
R4(config)# ip route 10.0.0.0 255.255.255.0 10.1.1.2
R4(config)# ip route 10.0.1.0 255.255.255.0 10.1.1.2
R4(config)# ip route 10.0.2.0 255.255.255.0 10.1.2.2
R4(config)# ip route 10.0.3.0 255.255.255.0 10.1.3.2
R5
R5(config)# ip route 10.0.0.0 255.255.255.0 10.1.3.1
R5(config)# ip route 10.0.1.0 255.255.255.0 10.1.3.1
R5(config)# ip route 10.0.2.0 255.255.255.0 10.1.3.1
R5(config)# ip route 10.0.3.0 255.255.255.0 10.0.3.1
Bước 5:Kiểm tra định tuyến

Bước 6 kiểm tra kết nối giữa các thiết bị

You might also like