phase 2 with ospf
R3
HUB(config)#router ospf 12
HUB(config-router)#network 1.1.1.1 0.0.0.0 area 0
HUB(config-router)#network 192.168.10.0 0.0.0.255 area 0
HUB(config-router)#exit
HUB(config)#int tunnel 0
HUB(config-if)#ip ospf network broadcast
R2
Spoke-1(config)#router ospf 12
Spoke-1(config-router)#network 2.2.2.2 0.0.0.0 area 0
Spoke-1(config-router)#network 192.168.10.0 0.0.0.255 area 0
Spoke-1(config-router)#exit
Spoke-1(config)#int tun0
Spoke-1(config-if)#ip ospf network broadcast
Spoke-2
Spoke-2(config)#router ospf 12
Spoke-2(config-router)#network 192.168.10.0 0.0.0.255 area 0
Spoke-2(config-router)#network 3.3.3.3 0.0.0.0 area 0
Spoke-2(config-router)#exit
Spoke-2(config)#int tun0
Spoke-2(config-if)#ip ospf network broadcast
Selanjutnya kita lakukan ping pada di setiap router
R3
HUB#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/46/56 ms
HUB#ping 3.3.3.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3.3.3.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/44/56 ms
Tidak ada komentar:
Posting Komentar