Trên route R1 và R2, cấu hình tránh trôi theo con trỏ chuột khi hiện các thông báo: R1#configure terminal.. R1(config)#line console 0.[r]
Trang 1A Cấu hình cơ bản:
1 Cấu hình PC-Linux:
IP: 192.168.1.1/24
GW: 192.168.1.254
2 Cấu hình PC-Linux_2:
IP: 192.168.3.1/24
GW: 192.168.3.254
3 Cấu hình router R1: fa0/0: 192.168.1.254/24, fa0/1: 192.168.2.1/24
R1#configure terminal
R1(config)#interface fastEthernet 0/0
R1(config-if)#ip address 192.168.1.254 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface fastEthernet 0/1
R1(config-if)#ip address 192.168.2.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
4 Cấu hình router R2: fa0/0: 192.168.3.254/24, fa0/1: 192.168.2.2/24
R2#configure terminal
R2(config)#interface fastEthernet 0/0
R2(config-if)#ip address 192.168.3.254 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interface fastEthernet 0/1
R2(config-if)#ip address 192.168.2.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
5 Từ PC-Linux: dùng lệnh ping để kiểm tra các kết nối:
ping 192.168.1.1
ping 192.168.1.254
ping 192.168.2.1
Các lệnh ping sau sẽ bị fail:
ping 192.168.2.2
ping 192.168.3.254
ping 192.168.3.1
6 Trên router R1, cấu hình RIP:
R1#configure terminal
R1(config)#router igrp 100
R1(config-router)#network 192.168.1.0
fa0/0
fa0/0
Trang 2R1(config-router)#network 192.168.2.0
R1(config)#exit
7 Trên router R2, cấu hình RIP:
R2#configure terminal
R2(config)#router igrp 100
R2(config-router)#network 192.168.2.0
R2(config-router)#network 192.168.3.0
R2(config)#exit
8 Từ PC-Linux: dùng lệnh ping để kiểm tra các kết nối:
ping 192.168.1.1
ping 192.168.1.254
ping 192.168.2.1
ping 192.168.2.2
ping 192.168.3.254
ping 192.168.3.1
9 Trên route R1 và R2, cấu hình tránh trôi theo con trỏ chuột khi hiện các thông báo: R1#configure terminal
R1(config)#line console 0
R1(config-line)#logging synchronous
10 Trên route R1 và R2, tắt chế độ phân giải tên miền (domain-lookup):
R1#configure terminal
R1(config)#no ip domain-lookup
11 Lưu lại cấu hình trên router R1 và R2:
R1#copy running-config startup-config
B Thực hành trên thiết bị thực (làm trên lớp)
*** THE END ***