- Cấu hình địa chỉ IP vào các interface của router . Cấu hình static route trên Router 1 và Router 2
- Ping kiểm tra từng segment trong mô hình.
- Cấu hình SSH trên Router 1 và Router 2.
- Capture lại thông tin được trao đổi trên đường truyền.
1. Cấu hình địa chỉ IP và định tuyến cho mô hình bằng static route
a.Router 1
Router>enable
Router#configure terminal
Router(config)#interface serial 2/0
Router(config-if)#ip address 12.0.0.1 255.255.255.252
Router(config-if)#no shutdown
Router(config)#exit
Router(config)#interface serial fa0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
Router(config)#exit
Router(config)#interface loopback 0
Router(config)#ip address 10.0.0.1 255.255.255.0
Router(config)#exit
Router(config)#ip route 0.0.0.0 0.0.0.0 12.0.0.2
b. Router 2
Router>enable
Router#configure terminal
Router(config)#interface serial 2/0
Router(config-if)#ip address 12.0.0.2 255.255.255.252
Router(config-if)#no shutdown
Router(config-if)#clock rate 64000
Router(config)#exit
Router(config)#interface loopback 0
Router(config)#ip address 20.0.0.1 255.255.255.0
Router(config)#exit
Router(config)#ip route 192.168.1.0 255.255.255.0 12.0.0.1
Router(config)#ip route 10.0.0.0 255.255.255.0 12.0.0.1
2. Quá trình kiểm tra
- Từ Router 1 ping đến các IP của Router 2
- Ở PC ta dùng lệnh ipconfig và ping từ PC đến các interface của Router 1 và Router 2