Sử dụng giao thức định tuyến RIPv2 để cấu hình cho sơ đồ trên.
Tham khảo Lab trang 82, file Public_CS252\Lab\Lab CCNA TTG v1.pdf
1) Cấu hình IP
Router TTG1:
int f0/0
no shut
ip add 10.0.0.1 255.255.255.0
ex
int s0/0/0
no shut
ip add 192.168.1.1 255.255.255.0
ex
Router TTG2:
int Loop0
ip add 11.0.0.1 255.255.255.0
ex
int s0/0/0
no shut
ip add 192.168.1.2 255.255.255.0
ex
2) Định tuyến RIP
TTG1:
router rip
version 2
network 10.0.0.0
network 192.168.1.0 //Cho phép Interface có IP khớp với mạng này tham gia định tuyến RIP
no auto-summary
ex
TTG2:
router rip
version 2
network 11.0.0.0
network 192.168.1.0
no auto-summary
ex
3) Test
TTG1# show ip route
//Quan sát thấy cả 3 subnet có xuất hiện trong bảng định tuyến là OK
TTG1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.0.0.0 is directly connected, FastEthernet0/0
11.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
R 11.0.0.0/8 [120/1] via 192.168.1.2, 00:01:14, Serial0/0/0
R 11.0.0.0/24 [120/1] via 192.168.1.2, 00:00:04, Serial0/0/0
C 192.168.1.0/24 is directly connected, Serial0/0/0
TTG1#
TTG2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
R 10.0.0.0 [120/1] via 192.168.1.1, 00:00:13, Serial0/0/0
11.0.0.0/24 is subnetted, 1 subnets
C 11.0.0.0 is directly connected, Loopback0
C 192.168.1.0/24 is directly connected, Serial0/0/0
TTG2#
//Kiểm tra: Ping thông mạng
TTG1#ping 11.0.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 11.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/4/10 ms
TTG1#
» Tin mới nhất:
» Các tin khác: