Professional Documents
Culture Documents
CẤU HÌNH GIAO THỨC ĐỊNH TUYẾN RIPV1 VÀ RIPV2
CẤU HÌNH GIAO THỨC ĐỊNH TUYẾN RIPV1 VÀ RIPV2
I. Mô hình
R1(config)#interface loopback 0
R1(config-if)#ip address 192.168.2.1 255.255.255.0
R1(config-if)#end
R1#
R3(config)#interface loopback 0
R3(config-if)#ip address 192.168.0.1 255.255.255.0
R3(config-if)#end
R3#
R4(config)#interface loopback 0
R4(config-if)#ip address 192.168.4.1 255.255.255.0
R4(config-if)#end
R4#
R2(config)#router rip
R2(config-router)#version 2
R2(config-router)#network 192.168.1.0
R2(config-router)#no auto-summary
R2(config-router)#exit
R2(config)#
5. Kiểm tra các router có thể ping qua lại lẫn nhau.
Đứng trên R1:
R1#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/24/56 ms
R1#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/31/52 ms
R1#ping 192.168.1.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.3, timeout is 2 seconds: