hello iam back, hahahaha
sesuai janji yak kita akan LAB konfigurasi ospf, untuk topologi lanjut seperti di bawah ini ya,
ospf yang standar aja, tp di gabung dengan Cisco GNS3.
gak ribet kan? iya ane bikin simple lah. biar gak repot nulisnya juga. wkwkw
untuk gabungin mereka supaya bisa ngobrol kita menggunakan host virtual box/loopback/semacemnya lah, bisa juga ethernet laptop kita di buat loopback plug kaya gini,
kaya gitu, gambar ane nyomot dari google, ane punya tapi males ngepotonya. hahaha
itu jangan di plug ke switch yak, tar bisa looping terus hang (pernah nyoba, tp di switch rumah) wkwkwk
lanjut, scenario kita udah buat, lanjut kita konfigurasinya, sebelumnya kita sudah belajar ospf kan yak..
IP Address
Konfigurasi OSPF
router id 1.1.1.1
#
ospf 10
area 0.0.0.0
network 1.1.1.1 0.0.0.0
network 12.12.12.0 0.0.0.3
network 192.168.56.0 0.0.0.255
router id 2.2.2.2
#
ospf 10
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 12.12.12.0 0.0.0.3
#
gampang kan, wkkwkwkw
nah di sesi comware ini, untuk konfigurasi ospf langsung di command, jadi ketik di previlage
"ospf berapa, area berapa, baru network" beda dengan cisco yang langsung network dan area.
OSPF Peer Adjacency
DOWN In this state, no protocol traffic will be sent or received on the interface.
Waiting Waiting to receiving Hello packets and identify designated router..
2Way Bi-directional communication had established. [receive Hello packet with own router-id]
either FULL or 2WAY. [FULL with DR/BDR,2WAY with other] OR [FULL with p2p or p2mp]
EXSTART: Negotiate with DR/BDR for master-slave relationship [Higher router-id win]
EXCHANGE start exchanging DB Descriptor and LSA Header,
LOADING Actual exchanging of LSA based on the DBD and LSA Header
FULL LSA are exchanged and DB are fully synchronized
Verifikasi,
[R1]display ospf peer
OSPF Process 10 with Router ID 1.1.1.1
Neighbor Brief Information
Area: 0.0.0.0
Router ID Address Pri Dead-Time State Interface
2.2.2.2 12.12.12.2 1 36 Full/DR GE0/0
3.3.3.3 192.168.56.3 1 35 Full/BDR GE0/1
Ping
[R2]ping 3.3.3.3
Ping 3.3.3.3 (3.3.3.3): 56 data bytes, press CTRL_C to break
56 bytes from 3.3.3.3: icmp_seq=0 ttl=254 time=21.709 ms
56 bytes from 3.3.3.3: icmp_seq=1 ttl=254 time=6.477 ms
56 bytes from 3.3.3.3: icmp_seq=2 ttl=254 time=7.347 ms
56 bytes from 3.3.3.3: icmp_seq=3 ttl=254 time=8.970 ms
56 bytes from 3.3.3.3: icmp_seq=4 ttl=254 time=7.565 ms
--- Ping statistics for 3.3.3.3 ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 6.477/10.414/21.709/5.704 ms
[R2]%Jun 12 13:17:07:931 2016 R2 PING/6/PING_STATISTICS: Ping statistics for 3.3.3.3: 5 packets transmitted, 5 packets received, 0.0% packet loss, round-trip min/avg/max/std-dev = 6.477/10.414/21.709/5.704 ms.
sekarang coba survive untuk buat topology yang kompleks dengan area yang berbeda2 :)
sesuai janji yak kita akan LAB konfigurasi ospf, untuk topologi lanjut seperti di bawah ini ya,
ospf yang standar aja, tp di gabung dengan Cisco GNS3.
gak ribet kan? iya ane bikin simple lah. biar gak repot nulisnya juga. wkwkw
untuk gabungin mereka supaya bisa ngobrol kita menggunakan host virtual box/loopback/semacemnya lah, bisa juga ethernet laptop kita di buat loopback plug kaya gini,
kaya gitu, gambar ane nyomot dari google, ane punya tapi males ngepotonya. hahaha
itu jangan di plug ke switch yak, tar bisa looping terus hang (pernah nyoba, tp di switch rumah) wkwkwk
lanjut, scenario kita udah buat, lanjut kita konfigurasinya, sebelumnya kita sudah belajar ospf kan yak..
IP Address
R1 comware
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
interface GigabitEthernet0/0
ip address 12.12.12.1 255.255.255.252
#
interface GigabitEthernet0/1
ip address 192.168.56.2 255.255.255.0
ip address 1.1.1.1 255.255.255.255
#
interface GigabitEthernet0/0
ip address 12.12.12.1 255.255.255.252
#
interface GigabitEthernet0/1
ip address 192.168.56.2 255.255.255.0
R2 Comware
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
#
interface GigabitEthernet0/1
ip address 12.12.12.2 255.255.255.252
ip address 2.2.2.2 255.255.255.255
#
interface GigabitEthernet0/1
ip address 12.12.12.2 255.255.255.252
R1 Cisco
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
!
interface FastEthernet0/0
ip address 192.168.56.3 255.255.255.0
Konfigurasi OSPF
R1 comware
#
ospf 10
area 0.0.0.0
network 1.1.1.1 0.0.0.0
network 12.12.12.0 0.0.0.3
network 192.168.56.0 0.0.0.255
R2 Comware
#
ospf 10
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 12.12.12.0 0.0.0.3
#
R1 Cisco
!
router ospf 10
!
router ospf 10
network 3.3.3.3 0.0.0.0 area 0
network 192.168.56.0 0.0.0.255 area 0
gampang kan, wkkwkwkw
nah di sesi comware ini, untuk konfigurasi ospf langsung di command, jadi ketik di previlage
"ospf berapa, area berapa, baru network" beda dengan cisco yang langsung network dan area.
OSPF Peer Adjacency
DOWN In this state, no protocol traffic will be sent or received on the interface.
Waiting Waiting to receiving Hello packets and identify designated router..
2Way Bi-directional communication had established. [receive Hello packet with own router-id]
either FULL or 2WAY. [FULL with DR/BDR,2WAY with other] OR [FULL with p2p or p2mp]
EXSTART: Negotiate with DR/BDR for master-slave relationship [Higher router-id win]
EXCHANGE start exchanging DB Descriptor and LSA Header,
LOADING Actual exchanging of LSA based on the DBD and LSA Header
FULL LSA are exchanged and DB are fully synchronized
Verifikasi,
[R1]display ospf peer
OSPF Process 10 with Router ID 1.1.1.1
Neighbor Brief Information
Area: 0.0.0.0
Router ID Address Pri Dead-Time State Interface
2.2.2.2 12.12.12.2 1 36 Full/DR GE0/0
3.3.3.3 192.168.56.3 1 35 Full/BDR GE0/1
R1#show ip route ospf
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/10] via 192.168.56.2, 00:45:33, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 192.168.56.2, 00:45:33, FastEthernet0/0
12.0.0.0/30 is subnetted, 1 subnets
O 12.12.12.0 [110/11] via 192.168.56.2, 00:45:33, FastEthernet0/0
1.0.0.0/32 is subnetted, 1 subnets
O 1.1.1.1 [110/10] via 192.168.56.2, 00:45:33, FastEthernet0/0
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/11] via 192.168.56.2, 00:45:33, FastEthernet0/0
12.0.0.0/30 is subnetted, 1 subnets
O 12.12.12.0 [110/11] via 192.168.56.2, 00:45:33, FastEthernet0/0
R1#sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 1 FULL/DR 00:00:33 192.168.56.2 FastEthernet0/0
Neighbor ID Pri State Dead Time Address Interface
1.1.1.1 1 FULL/DR 00:00:33 192.168.56.2 FastEthernet0/0
[R2]display ospf routing
OSPF Process 10 with Router ID 2.2.2.2
Routing Table
Routing for network
Destination Cost Type NextHop AdvRouter Area
3.3.3.3/32 3 Stub 12.12.12.1 3.3.3.3 0.0.0.0
12.12.12.0/30 1 Transit 0.0.0.0 2.2.2.2 0.0.0.0
192.168.56.0/24 2 Transit 12.12.12.1 1.1.1.1 0.0.0.0
2.2.2.2/32 0 Stub 0.0.0.0 2.2.2.2 0.0.0.0
1.1.1.1/32 1 Stub 12.12.12.1 1.1.1.1 0.0.0.0
Total nets: 5
Intra area: 5 Inter area: 0 ASE: 0 NSSA: 0
OSPF Process 10 with Router ID 2.2.2.2
Routing Table
Routing for network
Destination Cost Type NextHop AdvRouter Area
3.3.3.3/32 3 Stub 12.12.12.1 3.3.3.3 0.0.0.0
12.12.12.0/30 1 Transit 0.0.0.0 2.2.2.2 0.0.0.0
192.168.56.0/24 2 Transit 12.12.12.1 1.1.1.1 0.0.0.0
2.2.2.2/32 0 Stub 0.0.0.0 2.2.2.2 0.0.0.0
1.1.1.1/32 1 Stub 12.12.12.1 1.1.1.1 0.0.0.0
Total nets: 5
Intra area: 5 Inter area: 0 ASE: 0 NSSA: 0
Ping
[R2]ping 3.3.3.3
Ping 3.3.3.3 (3.3.3.3): 56 data bytes, press CTRL_C to break
56 bytes from 3.3.3.3: icmp_seq=0 ttl=254 time=21.709 ms
56 bytes from 3.3.3.3: icmp_seq=1 ttl=254 time=6.477 ms
56 bytes from 3.3.3.3: icmp_seq=2 ttl=254 time=7.347 ms
56 bytes from 3.3.3.3: icmp_seq=3 ttl=254 time=8.970 ms
56 bytes from 3.3.3.3: icmp_seq=4 ttl=254 time=7.565 ms
--- Ping statistics for 3.3.3.3 ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 6.477/10.414/21.709/5.704 ms
[R2]%Jun 12 13:17:07:931 2016 R2 PING/6/PING_STATISTICS: Ping statistics for 3.3.3.3: 5 packets transmitted, 5 packets received, 0.0% packet loss, round-trip min/avg/max/std-dev = 6.477/10.414/21.709/5.704 ms.
sekarang coba survive untuk buat topology yang kompleks dengan area yang berbeda2 :)
0 komentar:
Posting Komentar