LAB OSPF NETWORK NON BROADCAST


Bismillah….

Pada lab ini, kita akan mencoba mempelajari OSPF Network Non Broadcast, di lab yang ini kita juga akan kenalan dengan sebuah perangkat jaringan namanya Frame Relay Switch, apakah itu ? Nanti kita bahasnya yah, sekarang kita akan mempelajari metode – metode komunikasi, coba apa itu broadcast ?? Hmmm … BBM kali yah ? Bukan mas bro, BBM itu singkatan Blackbery Messanger memang sih di BBM juga terkenal dengan fitur untuk ngebroadcast message ke semua kontak, yah hampir mirip mirip lah hehhe. Kita bahas dikit yah yuk akhh..

Broadcast merupakan salah dari metode pengiriman IPv4, namun pada dasarnya metode pengiriman itu ada 3, yaitu Unicast. Multicast, dan Broadcast. Kita bahas satu satu yah.

1. Unicast, merupakan salah satu metode pengiriman IPv4 yang konsepnya “Point to Point” atau one to one, satu ke satu. Saya kasih analogi yah, ada 6 orang saling kenal sedang berkumpul, ada 2 orang yang sedang berbicara “hanya berdua saja” yaitu A dan B, tanpa 4 orang tersebut mendengarkan (C, D,E,F) ataupun ikut berbicara dengan 2 orang tersebut. Ketika si A berbicara maka yang mendengarkan hanya si B saja dan begitupun sebaliknya.

2. Multicast, merupakan salah satu metode pengiriman IPv4 yang memiliki konsep “One to Many”, atau bisa dibilang ngirim satu paket kepada banyak penerima. Saya kasih analogi yah, ada seorang pelatih sepak bola sedang melakukan pembicaraan kepada timnya, sedangkan timnya hanya mendengarkan ucapan pelatih, dan yang mendengarkan hanyalah “Timnya” bukan supporter maupun tim lawan tidak akan mendengarkan ucapan apalagi ikut dalam pembicaraan.

3. Broadcast, merupakan salah satu metode pengiriman IPv4 yang memiliki konsep “One to Every One” . Saya kasih analogi yah pada hari jumat seorang ustadz  bertugas sebagai Khotib atau pemberi ceramah, ia berceramah kepada para jamaahnya, dan jamaahpun mendengarkan ceramah tersebut.

Nah… sampai disini paham yah, lanjut ke perangkat jaringan yaitu Frame relay Switch, apakah itu ? Okey perangkat Frame Relay ini, sebetulnyamah hampir sama dengan Switch yaitu tugas utamanya untuk menghubungkan device satu dengan device lainnya,  namun  cara kerjanya sangat berbeda, kalau switchkan ada dua jenis, switch biasa dan switch managable yang bisa di konfigurasi  portnya seperti VLAN ( Virtual Lan), nah kalau Frame Relay, tugas utamnya sama dengan switch namun dengan cara kerja yang berbeda, di Frame Relay, ada beberapa teknologi yang berjalan di perangkat tersebut, contohnya DLCI (Data Link Connection), PVC (Permanent Virtual Circuit) MLI (Local Management Interface), nah teknologi DLCI ini berjalan di Layer 2,  pokonya lumayan panjang kalau di bahas yah, yah pokoknya Switch dan Frame Relay terlihat hampir sama, namun nyatanya sangat berbeda jauh, saya juga gk bisa berkata kata yah, hehhe..

Untuk mempersingkat waktu, kita langsung ngelab yah, oh iya topologinya sama dengan yang diatas yah.

Step pertama konfigurasikan IP Adddres beserta IP Loopback di tip tiap Router.

di R1
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int lo1
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config-if)#int s2/0
R1(config-if)#ip add 12.12.12.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#

di R2
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int lo1
R2(config-if)#ip add 2.2.2.2 255.255.255.255
R2(config-if)#int s2/0 
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#

di R3
R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#int lo1
R3(config-if)#ip add 3.3.3.3 255.255.255.255
R3(config-if)#int s2/0
R3(config-if)#ip add 12.12.12.3 255.255.255.0
R3(config-if)#no shut
R3(config-if)#




Step ke dua yaitu konfigurasi Frame Relaynya yah.

Di Double klik aja perangkatnya nanti dan create seperti gambar  berikut:



Step ketiga, konfigurasi frame relay di tiap port yang terhubung ke frame relay.

Di R1
R1(config)#int s2/0
R1(config-if)#encap
R1(config-if)#encapsulation fr
R1(config-if)#encapsulation frame-relay 
R1(config-if)#frame-relay map ip 12.12.12.2 102 broadcast 
R1(config-if)#frame-relay map ip 12.12.12.3 103 broadcast 
R1(config-if)#exit
R1(config)#do wr
Building configuration...
[OK]

Di R2
R2(config)#int s2/0
R2(config-if)#encapsulation frame-relay 
R2(config-if)#frame-relay map ip 12.12.12.1 201 bro
R2(config-if)#frame-relay map ip 12.12.12.3 201    
R2(config-if)#exit
R2(config)#
R2(config)#do wr
Building configuration...
[OK]

Di R3
R3(config)#int s2/0
R3(config-if)#encapsulation frame-relay 
R3(config-if)#frame-relay map ip 12.12.12.1 301 bro
R3(config-if)#frame-relay map ip 12.12.12.2 301    
R3(config-if)#exit
R3(config)#exit
R3(config)#do wr
Building configuration...
[OK]

Selanjutnya konfigurasikan Frame Relay di Router ABR, nah di lab ini Router 2 adalah ABR,



R2(config)#int s2/0
R2(config-if)#encapsulation frame-relay 
R2(config-if)#frame-relay map ip 12.12.12.1 201 bro
R2(config-if)#frame-relay map ip 12.12.12.3 201    
R2(config-if)#exit
R2(config

Kemudian step selanjutnya yaitu konfigurasikan routing OSPF di semua router dengan area 0.

R1(config)#router ospf 1
R1(config-router)#network 1.1.1.1 0.0.0.0 area 0
R1(config-router)#network 12.12.12.1 0.0.0.255 area 0
R1(config-router)#exit
R1(config)#do wr
Building configuration...
[OK]
R1(config)#router ospf 1                      
R1(config-router)#router-id 1.1.1.1
R1(config-router)#exit
R1(config)#do wr
Building configuration...
[OK]


di R2
R2(config-if)#
R2(config-if)#exit
R2(config)#router ospf 2
R2(config-router)#router-id 2.2.2.2
R2(config-router)#network 2.2.2.2 0.0.0.0 area 0
R2(config-router)#network 12.12.12.2 0.0.0.255 area 0
R2(config-router)#exit
R2(config)#do wr
Building configuration...
[OK]

di R3
R3(config)#router ospf 3
R3(config-router)#router-id 3.3.3.3 
R3(config-router)#network 3.3.3.3 0.0.0.0 area 0
R3(config-router)#network 12.12.12.3 0.0.0.255 area 0
R3(config-router)#exit
R3(config)#do wr
Building configuration...
[OK]


Kemudian cek routing tabel di R3

R3(config)#do sh ip route
Codes: L - local, C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override

Gateway of last resort is not set

      3.0.0.0/32 is subnetted, 1 subnets
C        3.3.3.3 is directly connected, Loopback1
R3(config)#

di routing tabel tersebut tidak adanya informasi router tetangga, artinya routing OSPF tidak bisa terbentuk, nah agar bisa saling terhubung, R1 R2 dan R3 harus saling memperkenalkan diri, artinya kita harus konfigurasi karena berhubung target / goalnya lab ini Non Broadcast artinya R2 dan R3 harus diperkenalkan secara manual ke R1 yang bertindak sebagai DR atau Design Router

Di R1
R1(config)#router ospf 1
R1(config-router)#neighbor 12.12.12.2
R1(config-router)#neighbor 12.12.12.3
R1(config-router)#exit

Di R2
R2(config)#int s2/0
R2(config-if)#ip ospf priority 0
R2(config-if)#exit
R2(config)#do wr
Building configuration...
[OK]


Di R3
R3(config)#int s2/0
R3(config-if)#ip ospf priority 0
R3(config-if)#exit
R3(config)#do wr
Building configuration...
[OK]

selanjutnya matikan semua interface di R1, R2 dan R3 trus nyalakan lagi 
semuanya

udah gitu tunggu sampai adjecency semua router, kemudian cek OSPF Neighbor

cek neighbor di R1
R1#sh ip ospf nei

Neighbor ID     Pri   State           Dead Time   Address         Interface
2.2.2.2           0   FULL/DROTHER    00:01:59    12.12.12.2      Serial2/0
3.3.3.3           0   FULL/DROTHER    00:01:53    12.12.12.3      Serial2/0
R1#

di R2
R2#sh ip ospf nei

Neighbor ID     Pri   State           Dead Time   Address         Interface
1.1.1.1         255   FULL/DR         00:01:41    12.12.12.1      Serial2/0
R2#

di R3
R3#sh ip ospf nei

Neighbor ID     Pri   State           Dead Time   Address         Interface
N/A               0   ATTEMPT/DROTHER    -        12.12.12.2      Serial2/0
1.1.1.1         255   FULL/DR         00:01:39    12.12.12.1      Serial2/0
R3#

Kemudian cek Network Type di tiap tiap interface yang terhubng ke frame relay.
di R1
R1#sh ip ospf int s2/0
Serial2/0 is up, line protocol is up 
  Internet Address 12.12.12.1/24, Area 0, Attached via Network Statement
  Process ID 1, Router ID 1.1.1.1, Network Type NON_BROADCAST, Cost: 64
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           64        no          no            Base
  Transmit Delay is 1 sec, State DR, Priority 255
  Designated Router (ID) 1.1.1.1, Interface address 12.12.12.1
  No backup designated router on this network
  Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
    oob-resync timeout 120
    Hello due in 00:00:03
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 3
  Last flood scan time is 0 msec, maximum is 1 msec
  Neighbor Count is 2, Adjacent neighbor count is 2 
    Adjacent with neighbor 2.2.2.2
    Adjacent with neighbor 3.3.3.3
  Suppress hello for 0 neighbor(s)
R1#

di R2

R2#sh ip ospf int s2/0
Serial2/0 is up, line protocol is up 
  Internet Address 12.12.12.2/24, Area 0, Attached via Network Statement
  Process ID 2, Router ID 2.2.2.2, Network Type NON_BROADCAST, Cost: 64
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           64        no          no            Base
  Transmit Delay is 1 sec, State DROTHER, Priority 0
  Designated Router (ID) 1.1.1.1, Interface address 12.12.12.1
  No backup designated router on this network
  Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
    oob-resync timeout 120
    Hello due in 00:00:04
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1 
    Adjacent with neighbor 1.1.1.1  (Designated Router)
  Suppress hello for 0 neighbor(s)
R2#


di R3
R3#sh ip ospf int s2/0
Serial2/0 is up, line protocol is up 
  Internet Address 12.12.12.3/24, Area 0, Attached via Network Statement
  Process ID 3, Router ID 3.3.3.3, Network Type NON_BROADCAST, Cost: 64
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           64        no          no            Base
  Transmit Delay is 1 sec, State DROTHER, Priority 0
  Designated Router (ID) 1.1.1.1, Interface address 12.12.12.1
  No backup designated router on this network
  Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
    oob-resync timeout 120
    Hello due in 00:00:09
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1 
    Adjacent with neighbor 1.1.1.1  (Designated Router)
  Suppress hello for 0 neighbor(s)
R3#

Mantab berhasil semuanya yah, sampai sini lab OSPF Network Non Broadcast

Salam Ngoprek


LAB OSPF NETWORK BROADCAST


Bismillah..
Pada lab kali ini, kita akan mencoba untuk merubah network type pada lab sebelumnya yaitu OSPF Network Type Non Broadcast, di rubah menjadi OSPF Network Type Broadcast, untuk topologinya sama komplit dengan ip address serta ip loopbacknya, biar lebih paham kita langsung konfigurasi yah, yuk akh…

Matikan neighbor R2 dan R3 di routingan ospf R1 / ABR

Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#router ospf 1
R1(config-router)#no neighbor 12.12.12.3
R1(config-router)#no neighbor 12.12.12.3

kemudian rubah network type di interface R1, R2 , dan R3  yng terhbung ke frame relay
DI R1
R1(config)#int s2/0
R1(config-if)#ip ospf network broadcast

DI R2
R2(config)#int s2/0
R2(config-if)#ip ospf network broadcast

Di R3
R3(config)#int s2/0
R3(config-if)#ip ospf network broadcast

cek interface ospf di R1
di R1 

R1#sh ip ospf int
Loopback1 is up, line protocol is up 
  Internet Address 1.1.1.1/32, Area 0, Attached via Network Statement
  Process ID 1, Router ID 1.1.1.1, Network Type LOOPBACK, Cost: 1
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           1         no          no            Base
  Loopback interface is treated as a stub Host
Serial2/0 is up, line protocol is up 
  Internet Address 12.12.12.1/24, Area 0, Attached via Network Statement
  Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 64
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           64        no          no            Base
  Transmit Delay is 1 sec, State DR, Priority 255
  Designated Router (ID) 1.1.1.1, Interface address 12.12.12.1
  No backup designated router on this network
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:05
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 3
  Last flood scan time is 0 msec, maximum is 1 msec
  Neighbor Count is 0, Adjacent neighbor count is 0 
  Suppress hello for 0 neighbor(s)
R1#

di R2 

R2#sh ip ospf int
Loopback1 is up, line protocol is up 
  Internet Address 2.2.2.2/32, Area 0, Attached via Network Statement
  Process ID 2, Router ID 2.2.2.2, Network Type LOOPBACK, Cost: 1
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           1         no          no            Base
  Loopback interface is treated as a stub Host
Serial2/0 is up, line protocol is up 
  Internet Address 12.12.12.2/24, Area 0, Attached via Network Statement
  Process ID 2, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 64
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           64        no          no            Base
  Transmit Delay is 1 sec, State DROTHER, Priority 0
  Designated Router (ID) 1.1.1.1, Interface address 12.12.12.1
  No backup designated router on this network
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:07
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1 
    Adjacent with neighbor 1.1.1.1  (Designated Router)
  Suppress hello for 0 neighbor(s)
R2#

di R3

R3#sh ip ospf int
Loopback1 is up, line protocol is up 
  Internet Address 3.3.3.3/32, Area 0, Attached via Network Statement
  Process ID 3, Router ID 3.3.3.3, Network Type LOOPBACK, Cost: 1
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           1         no          no            Base
  Loopback interface is treated as a stub Host
Serial2/0 is up, line protocol is up 
  Internet Address 12.12.12.3/24, Area 0, Attached via Network Statement
  Process ID 3, Router ID 3.3.3.3, Network Type BROADCAST, Cost: 64
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           64        no          no            Base
  Transmit Delay is 1 sec, State DROTHER, Priority 0
  Designated Router (ID) 1.1.1.1, Interface address 12.12.12.1
  No backup designated router on this network
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:04
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1 
    Adjacent with neighbor 1.1.1.1  (Designated Router)
  Suppress hello for 0 neighbor(s)
R3#

Cek routing table di R1

R1#sh ip route     
Codes: L - local, C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override

Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
C        1.1.1.1 is directly connected, Loopback1
      2.0.0.0/32 is subnetted, 1 subnets
O        2.2.2.2 [110/65] via 12.12.12.2, 00:05:16, Serial2/0
      3.0.0.0/32 is subnetted, 1 subnets
O        3.3.3.3 [110/65] via 12.12.12.3, 00:04:29, Serial2/0
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.12.12.0/24 is directly connected, Serial2/0
L        12.12.12.1/32 is directly connected, Serial2/0
R1#

di databse OSPF
R1#sh ip ospf databas

            OSPF Router with ID (1.1.1.1) (Process ID 1)

Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
1.1.1.1         1.1.1.1         370         0x80000009 0x000381 2
2.2.2.2         2.2.2.2         371         0x80000007 0x00F682 2
3.3.3.3         3.3.3.3         324         0x80000007 0x00E685 2

Net Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum
12.12.12.1      1.1.1.1         323         0x80000006 0x0011DE
R1#e

Mantab semua router sudah terdeteksi di tabel routing serta di database OSPF sudah 
terbentuk LSAnya , sampai sini selesei yah.

Salam Ngoprek


LAB OSPF NETWORK POINT TO POINT


Bismillah..

Pada kesempatan ini, kita akan mencoba mempelajari OSPF Network Point to Point, sebelum kita konfiurasi ada baiknya kita tengok gambar topologi di atas, pada topologi tersebut ada yang namnya 
Sub Interface, apa itu ? Okey saya jelasin yah, Sub Interface adalah sebuah metode untuk pengalamatan beberapa  IP Address dalam 1 Interface saja, jadi 1 Interface Ethernet bisa di berikan beberapa IP address, nah gunanya yaitu untuk komunikasi point to point dengan router DR (Design Router) di Network OSPF.

Sekarang kita coba konfigurasi yah, yuk akh…

Step pertama konfigurasi IP Address di Sub Interface dan IP Loopback di semua router, kemudian konfigurasi point to point di masing masing interface yang terhubng ke frame relay.

di R1
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int lo1
R1(config-if)#ip add 1.1.1.1 255.255.255.255

R1(config-subif)#int s2/0    
R1(config-if)#encapsulation frame-relay 

R1(config)#int s2/0.12 point-to-point
R1(config-subif)#ip add 12.12.12.1 255.255.255.0
R1(config-subif)#frame-relay interface-dlci 101
R1(config-fr-dlci)#exit





R1(config)#int s2/0.13 point-to-point
R1(config-subif)#ip add 13.13.13.1 255.255.255.0 
R1(config-subif)#frame-relay interface-dlci 102
R1(config-fr-dlci)#exit

Nyalakan interface s2/0 dan s2/0.13 dan s2/0.12

R1(config)#int s2/0
R1(config-if)#no shut
R1(config-if)#int s2/0.12 point-to-point
R1(config-subif)#no shut
R1(config-if)#int s2/0.13 point-to-point
R1(config-subif)#no shut

kemudian di R2

R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int lo1
R2(config-if)#ip add 2.2.2.2 255.255.255.255

R2(config-subif)#int s2/0
R2(config-if)#encapsulation frame-relay

R2(config)#int s2/0.12 point-to-point
R2(config-subif)#ip add 12.12.12.2 255.255.255.0
R2(config-subif)#frame-relay interface-dlci 201


Nyalakan interface s2/0 dan s2/0.12

R2(config)#int s2/0
R2(config-if)#no shut
R2(config-if)#int s2/0.12 point-to-point
R2(config-subif)#no shut


di R3

R3(config)#int lo1
R3(config-if)#ip add 3.3.3.3 255.255.255.255
R3(config-if)#int s2/0
R3(config-if)#encapsulation frame-relay 

R3(config)#int s2/0.13 point-to-point
R3(config-subif)#ip add 13.13.13.2 255.255.255.0
R3(config-subif)#frame-relay interface-dlci 301
R3(config-fr-dlci)#exit

Nyalakan interface s2/0 dan s2/0.13

R3(config)#
R3(config)#int s2/0
R3(config-if)#no shut
R3(config-if)#int s2/0.13 point-to-point
R3(config-subif)#no shut

Kemudian kita cek di masing masing interface apakah interface network type nya sudah berubah menjadi point to point.

Cek OSPF Interface di setiap router

di Router 1

R1#sh ip ospf int
Loopback1 is up, line protocol is up 
  Internet Address 1.1.1.1/32, Area 0, Attached via Network Statement
  Process ID 1, Router ID 1.1.1.1, Network Type LOOPBACK, Cost: 1
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           1         no          no            Base
  Loopback interface is treated as a stub Host
Serial2/0.13 is up, line protocol is up 
  Internet Address 13.13.13.1/24, Area 0, Attached via Network Statement
  Process ID 1, Router ID 1.1.1.1, Network Type POINT_TO_POINT, Cost: 64
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           64        no          no            Base
  Transmit Delay is 1 sec, State POINT_TO_POINT
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:03
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 1/3/3, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1 
    Adjacent with neighbor 3.3.3.3
  Suppress hello for 0 neighbor(s)
Serial2/0.12 is up, line protocol is up 
  Internet Address 12.12.12.1/24, Area 0, Attached via Network Statement
  Process ID 1, Router ID 1.1.1.1, Network Type POINT_TO_POINT, Cost: 64
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           64        no          no            Base
  Transmit Delay is 1 sec, State POINT_TO_POINT
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:03
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1 
    Adjacent with neighbor 2.2.2.2
  Suppress hello for 0 neighbor(s)
R1#



di Router 2

R2#sh ip ospf int
Loopback1 is up, line protocol is up 
  Internet Address 2.2.2.2/32, Area 0, Attached via Network Statement
  Process ID 2, Router ID 2.2.2.2, Network Type LOOPBACK, Cost: 1
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           1         no          no            Base
  Loopback interface is treated as a stub Host
Serial2/0.12 is up, line protocol is up 
  Internet Address 12.12.12.2/24, Area 0, Attached via Network Statement
  Process ID 2, Router ID 2.2.2.2, Network Type POINT_TO_POINT, Cost: 64
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           64        no          no            Base
  Transmit Delay is 1 sec, State POINT_TO_POINT
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:01
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1 
    Adjacent with neighbor 1.1.1.1
  Suppress hello for 0 neighbor(s)
R2#


di Router 3

R3#sh ip ospf int       
Loopback1 is up, line protocol is up 
  Internet Address 3.3.3.3/32, Area 0, Attached via Network Statement
  Process ID 3, Router ID 3.3.3.3, Network Type LOOPBACK, Cost: 1
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           1         no          no            Base
  Loopback interface is treated as a stub Host
Serial2/0.13 is up, line protocol is up 
  Internet Address 13.13.13.2/24, Area 0, Attached via Network Statement
  Process ID 3, Router ID 3.3.3.3, Network Type POINT_TO_POINT, Cost: 64
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           64        no          no            Base
  Transmit Delay is 1 sec, State POINT_TO_POINT
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
    oob-resync timeout 40
    Hello due in 00:00:03
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1 
    Adjacent with neighbor 1.1.1.1
  Suppress hello for 0 neighbor(s)
R3#

Kemudian cek routing tablenya yah.

R3#sh ip route
Codes: L - local, C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override

Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
O        1.1.1.1 [110/65] via 13.13.13.1, 00:03:52, Serial2/0.13
      2.0.0.0/32 is subnetted, 1 subnets
O        2.2.2.2 [110/129] via 13.13.13.1, 00:03:52, Serial2/0.13
      3.0.0.0/32 is subnetted, 1 subnets
C        3.3.3.3 is directly connected, Loopback1
      12.0.0.0/24 is subnetted, 1 subnets
O        12.12.12.0 [110/128] via 13.13.13.1, 00:03:52, Serial2/0.13
      13.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        13.13.13.0/24 is directly connected, Serial2/0.13
L        13.13.13.2/32 is directly connected, Serial2/0.13

Mantabb mas broo, semua network sudah terhubung, selanjutnya kita test dengan ping dari router 3 ke router 2.

R3#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 = 18/21/30 ms
R3#

Alhamdulillah Berhasl, mantabb.. sampai sini selsei yah.

Salam Ngoprek


LAB OSPF NETWORK POINT TO MULTI POINT



Bismillah…..

Pada lab ini, kita akan mencoba belajar OSPF Point to Multi Point, maksudnya pengiriman dari satu titik ke berbagai titik., biar mudah dimengerti kita konfigurasi saja yah.

Step pertama konfigurasikan IP Address, IP Loopback dan Routingan OSPFnya di masing masing router sesuai gambar toplogi diatas.

Di R1
R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int lo1
R1(config-if)#ip add 1.1.1.1 255.255.255.255
R1(config-if)#int s2/0
R1(config-if)#ip add 12.12.12.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#

Di R2
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int lo1
R2(config-if)#ip add 2.2.2.2 255.255.255.255
R2(config-if)#int s2/0
R2(config-if)#ip add 12.12.12.2 255.255.255.0
R2(config-if)#exit

Di R3
R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#int lo1
R3(config-if)#ip add 
R3(config-if)#ip add 3.3.3.3 255.255.255.255

R3(config-if)#int s2/0
R3(config-if)#ip add 12.12.12.3 255.255.255.0
R3(config-if)#no shut
R3(config-if)#exit

Setting perangkat Frame Relaynya yah sesuaikan seperti di gambar topologi diatas, kemudian konfigurasi frame relay di setiap interface router yang terhubung ke Frame relay.

Di Router 1
R1(config)#int s2/0
R1(config-if)#encapsulation frame-relay 
R1(config-if)#frame-relay map ip 12.12.12.2 101 broad
R1(config-if)#frame-relay map ip 12.12.12.3 102 broad
R1(config-if)#exit


Di Router 2
R2(config)#int s2/0
R2(config-if)#encapsulation frame-relay 
R2(config-if)#frame-relay map ip 12.12.12.1 201 bro
R2(config-if)#frame-relay map ip 12.12.12.3 201    
R2(config-if)#exit
R2(config)#exit

Di Router 3
R3(config)#int s2/0
R3(config-if)#encapsulation frame-relay 
R3(config-if)#frame-relay map ip 12.12.12.1 301 bro
R3(config-if)# frame-relay map ip 12.12.12.2 301      
R3(config-if)#exit

Setelah dimappingkan, langsung masukin networknya ke OSPF dan deklarasikan
interface yang mengarah ke framerelay menjadi network type : point-to-multipoint

R1(config)#router ospf 1
R1(config-router)#router-id 1.1.1.1
R1(config-router)#network 1.1.1.1 0.0.0.0 area 0
R1(config-router)#network 12.12.12.1 0.0.0.255 area 0
R1(config-router)#exit                               
R1(config)#int s2/0                           
R1(config-if)#ip ospf network point-to-multipoint
R1(config-if)#exit
R1(config)#exit



R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#router ospf 1
R2(config-router)#router-id 2.2.2.2
R2(config-router)#network 2.2.2.2 0.0.0.0 area 0
R2(config-router)#network 12.12.12.2 0.0.0.255 area 0
R2(config-router)#exit
R2(config)#int s2/0
R2(config-if)#ip ospf network point-to-multipoint
R2(config-if)#

R3(config)#router ospf 1
R3(config-router)#router-id 3.3.3.3 
R3(config-router)#network 3.3.3.3 0.0.0.0 area 0
R3(config-router)#network 12.12.12.3 0.0.0.255 area 0
R3(config-router)#exit
R3(config)#int s2/0
R3(config-if)#ip ospf network point-to-multipoint
R3(config-if)#

cek keseluruhan R1 inteface yang mengarah ke frame relay

Di Router 1
R1#sh ip ospf int
Loopback1 is up, line protocol is up 
  Internet Address 1.1.1.1/32, Area 0, Attached via Network Statement
  Process ID 1, Router ID 1.1.1.1, Network Type LOOPBACK, Cost: 1
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           1         no          no            Base
  Loopback interface is treated as a stub Host
Serial2/0 is up, line protocol is up 
  Internet Address 12.12.12.1/24, Area 0, Attached via Network Statement
  Process ID 1, Router ID 1.1.1.1, Network Type POINT_TO_MULTIPOINT, Cost: 64
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           64        no          no            Base
  Transmit Delay is 1 sec, State POINT_TO_MULTIPOINT
  Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
    oob-resync timeout 120
    Hello due in 00:00:04
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 2, Adjacent neighbor count is 2 
    Adjacent with neighbor 3.3.3.3
    Adjacent with neighbor 2.2.2.2
  Suppress hello for 0 neighbor(s)
R1#

DI Router 2
R2#sh ip ospf int
Loopback1 is up, line protocol is up 
  Internet Address 2.2.2.2/32, Area 0, Attached via Network Statement
  Process ID 1, Router ID 2.2.2.2, Network Type LOOPBACK, Cost: 1
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           1         no          no            Base
  Loopback interface is treated as a stub Host
Serial2/0 is up, line protocol is up 
  Internet Address 12.12.12.2/24, Area 0, Attached via Network Statement
  Process ID 1, Router ID 2.2.2.2, Network Type POINT_TO_MULTIPOINT, Cost: 64
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           64        no          no            Base
  Transmit Delay is 1 sec, State POINT_TO_MULTIPOINT
  Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
    oob-resync timeout 120
    Hello due in 00:00:29
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1 
    Adjacent with neighbor 1.1.1.1
  Suppress hello for 0 neighbor(s)
R2#

Di Router 3
R3#sh ip ospf int
Loopback1 is up, line protocol is up 
  Internet Address 3.3.3.3/32, Area 0, Attached via Network Statement
  Process ID 1, Router ID 3.3.3.3, Network Type LOOPBACK, Cost: 1
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           1         no          no            Base
  Loopback interface is treated as a stub Host
Serial2/0 is up, line protocol is up 
  Internet Address 12.12.12.3/24, Area 0, Attached via Network Statement
  Process ID 1, Router ID 3.3.3.3, Network Type POINT_TO_MULTIPOINT, Cost: 64
  Topology-MTID    Cost    Disabled    Shutdown      Topology Name
        0           64        no          no            Base
  Transmit Delay is 1 sec, State POINT_TO_MULTIPOINT
  Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5
    oob-resync timeout 120
    Hello due in 00:00:22
  Supports Link-local Signaling (LLS)
  Cisco NSF helper support enabled
  IETF NSF helper support enabled
  Index 1/2/2, flood queue length 0
  Next 0x0(0)/0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1 
    Adjacent with neighbor 1.1.1.1
  Suppress hello for 0 neighbor(s)
R3#

cek ping 

R3#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 = 16/19/21 ms
R3#ping 12.12.12.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.12.12.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 19/20/21 ms
R3#ping 12.12.12.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.12.12.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 9/9/11 ms
R3#


Mantabb habiss mass brooo, sampai sini sudah selesei.

Salam Ngoprek



LAB OSPF NETWORK POINT TO MULTI POINT NON BROADCAST



Bismillah…

Pada lab kali ini, kita akan mengkonfigurasi OSPF Point to Multi Point Non Broadcast, untuk topologinya masih sama dengan lab yang sebelunya yah, plus konfigurasinya juga sama, hanya perubahan type network saja kok, kita mulai yah labnya oke oke..

Non aktifkan network type point to multipoint di ganti dengan point to multi point broadcast di setiap interface R1 R2 dan R3 yang terhubung ke frame relay.

di R1

R1(config)#int s2/0
R1(config-if)#ip ospf network point-to-multipoint non-broadcast

di R2

R2(config)#int s2/0
R2(config-if)#ip ospf network point-to-multipoint non-broadcast
R2(config-if)#

di R3

R3#conf t
R3(config)#int s2/0
R3(config-if)#ip ospf network point-to-multipoint non-broadcast

Kemudian tambahkan neigbor R2 dan R3 di Router 1 yang bertindak sebagai ABR

R1(config)#router ospf 1
R1(config-router)#neighbor 12.12.12.2
R1(config-router)#neighbor 12.12.12.3
R1(config-router)#exit

Tunggu sampai adjencency antar router

setelah selesei coba cek routing tabel

R1#sh ip route
Codes: L - local, C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override

Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
C        1.1.1.1 is directly connected, Loopback1
      2.0.0.0/32 is subnetted, 1 subnets
O        2.2.2.2 [110/65] via 12.12.12.2, 00:00:15, Serial2/0
      3.0.0.0/32 is subnetted, 1 subnets
O        3.3.3.3 [110/65] via 12.12.12.3, 00:00:15, Serial2/0
      12.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
C        12.12.12.0/24 is directly connected, Serial2/0
L        12.12.12.1/32 is directly connected, Serial2/0
O        12.12.12.2/32 [110/64] via 12.12.12.2, 00:00:15, Serial2/0
O        12.12.12.3/32 [110/64] via 12.12.12.3, 00:00:15, Serial2/0
R1#

Cek Database OSPF

R1#sh ip ospf dat

            OSPF Router with ID (1.1.1.1) (Process ID 1)

Router Link States (Area 0)

Link ID         ADV Router      Age         Seq#       Checksum Link count
1.1.1.1         1.1.1.1         425         0x8000000A 0x0020CC 4
2.2.2.2         2.2.2.2         426         0x80000007 0x00A1C3 3
3.3.3.3         3.3.3.3         426         0x80000007 0x00B3A3 3
R1#

Mantabbb mas broo, sampai disini berhasil yahhh 

Sampai lab ini OSPF Network Type Interface Sudah semuanya dilabkan yah, and selanjutnya BGP Woooww Ngeriii hehehe

Salam Ngoprek