Lab 22. RIP Default Route - Default Information Originate


Tujuan Lab :

  • Mendistribusikan default route ke semua router RIP menggunakan perintah default information originate

Topologi Lab :




Metode Lab :
  • Konfigurasikan pengalamatan IP untuk topologi di atas
  • Konfigurasikan RIP untuk topologi di atas
  • Buat beberapa IP Loopback di Router R3 namun jangan di advertise ke RIP
  • Konfigurasikan Default Information Originate di Router R3
  • Pastikan pada Router R1 dan R2 terdapat default route dalam routing tabelnya
  • Lakukan tes ping ke IP Loopback Router R3 yang tidak di advertise ke dalam RIP

Verifikasi Lab :
  • Pastikan semua router terdapat default route dalam tabel routingnya
  • Pastikan ping ke loopback Router R3 berhasil mendapat reply

Ada 3 cara untuk mendistribusikan default route ke dalam RIP
1). Default-information originate
2). Redistribute static default route
3). ip default-network



Konfigurasi Router R1:

interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface Serial0/0
 ip address 12.12.12.1 255.255.255.0
 clock rate 2000000

!
router rip
 version 2
 network 1.0.0.0
 network 12.0.0.0

!

Konfigurasi Router R2:

interface Loopback0
 ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
 ip address 23.23.23.2 255.255.255.0
 duplex auto
 speed auto
!
interface Serial0/0
 ip address 12.12.12.2 255.255.255.0
 clock rate 2000000

!
router rip
 version 2
 network 2.0.0.0
 network 12.0.0.0
 network 23.0.0.0

!

Konfigurasi Router R3:

interface Loopback0
 ip address 3.3.3.3 255.255.255.255
!
interface Loopback1
 ip address 33.33.33.1 255.255.255.255
!
interface Loopback2
 ip address 33.33.33.2 255.255.255.255
!
interface Loopback3
 ip address 33.33.33.3 255.255.255.255
!
interface FastEthernet0/0
 ip address 23.23.23.3 255.255.255.0
 duplex auto
 speed auto

!
router rip
 version 2
 network 3.0.0.0
 network 23.0.0.0
 default-information originate

!

Pada Router R3 sudah ditambahkan IP Loopback berikut
1). Loopback 1 : 33.33.33.1/32
2). Loopback 2 : 33.33.33.2/32
3). Loopback 3 : 33.33.33.3/32

Ketiganya tidak diadvertise ke dalam RIP. Network ini yang akan dijadikan pengujian default route, yaitu route yang tidak ada di dalam tabel routing setiap router.

Cek terlebih dahulu tabel routing pada Router R1 dan R2

R1#sh ip route

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
R    2.0.0.0/8 [120/1] via 12.12.12.2, 00:00:02, Serial0/0
R    3.0.0.0/8 [120/1] via 12.12.12.2, 00:00:02, Serial0/0
R    23.0.0.0/8 [120/1] via 12.12.12.2, 00:00:02, Serial0/0
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, Serial0/0

R2#sh ip route

R    1.0.0.0/8 [120/1] via 12.12.12.1, 00:00:09, Serial0/0
     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
R    3.0.0.0/8 [120/1] via 23.23.23.3, 00:00:05, FastEthernet0/0
     23.0.0.0/24 is subnetted, 1 subnets
C       23.23.23.0 is directly connected, FastEthernet0/0
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, Serial0/0

Dapat kita lihat di atas merupakan tabel routing dari Router R1 dan R2 yang belum kita konfigurasi default-information originate nya. Kemudian coba tes ping dari Router R1 dan R2 ke IP Loopback Router R3.

R1#ping 33.33.33.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

R1#ping 33.33.33.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1#ping 33.33.33.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.3, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)


R2#ping 33.33.33.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R2#ping 33.33.33.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R2#ping 33.33.33.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.3, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

Terlihat bawa Router R1 dan R2 tidak terkoneksi dengan IP Loopback Router R3, karena IP Loopback pada Router R3 tidak diadvertise ke dalam RIP sehingga tidak terdapat di dalam tabel routing setiap router

Langkah berikutnya konfigurasikan default-information originate pada Router R3 supaya IP Loopback Router R3 dapat terkoneksi dengan Router R1 dan R2.

R3(config)#router rip
R3(config-router)#default-information originate

Kemudian cek kembali tabel routing pada Router R1 dan R2

R1#sh ip route
     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
R    2.0.0.0/8 [120/1] via 12.12.12.2, 00:00:14, Serial0/0
R    3.0.0.0/8 [120/1] via 12.12.12.2, 00:00:14, Serial0/0
R    23.0.0.0/8 [120/1] via 12.12.12.2, 00:00:14, Serial0/0
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, Serial0/0
R*   0.0.0.0/0 [120/2] via 12.12.12.2, 00:00:14, Serial0/0


R2#sh ip route
R    1.0.0.0/8 [120/1] via 12.12.12.1, 00:00:09, Serial0/0
     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
R    3.0.0.0/8 [120/1] via 23.23.23.3, 00:00:11, FastEthernet0/0
     23.0.0.0/24 is subnetted, 1 subnets
C       23.23.23.0 is directly connected, FastEthernet0/0
     12.0.0.0/24 is subnetted, 1 subnets
C       12.12.12.0 is directly connected, Serial0/0
R*   0.0.0.0/0 [120/1] via 23.23.23.3, 00:00:11, FastEthernet0/0

Dapat kita lihat kembali pada tabel routing Router R1 dan R2 terdapat deafult route (default-information originate) yang diterima dari Router R3. Kemudian coba tes ping dari Router R1 dan R2 ke IP Loopback Router R3.

R1#ping 33.33.33.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/42/68 ms

R1#ping 33.33.33.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/39/72 ms

R1#ping 33.33.33.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/33/72 ms


R2#ping 33.33.33.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/30/72 ms

R2#ping 33.33.33.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/31/56 ms

R2#ping 33.33.33.3

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 33.33.33.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/36/56 ms

Terlihat bawa Router R1 dan R2 sudah terkoneksi dengan IP Loopback Router R3.


Sumber: id-networkers



Komentar

Postingan populer dari blog ini

VTP Transparent Mode

Mengenal Lebih Jauh Jeroan atau Isi PC

Komponen-komponen Motherboard