Minggu, 04 Desember 2011

Day 2 - RIP Default Route - Default Information Originate

Untuk materi RIP lainnya adalah mengenai cara memasukkan default-route ke routing RIP dengan menambahkan command default-information originate.

Lab 11 - RIP Default Route - Default Information Originate

Topology untuk lab 11 adalah sbb :
 
Initial konfig dari masing - masing router adalah sbb :

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
!
router rip
 version 2
 network 1.0.0.0 
 network 12.0.0.0
 no auto-summary

Router R2 :
interface Loopback0
 ip address 2.2.2.2 255.255.255.255
!
interface Serial0/0
 ip address 12.12.12.2 255.255.255.0
!
interface FastEthernet0/0
 ip address 23.23.23.2 255.255.255.0
!
router rip
 version 2
 network 2.0.0.0 
 network 12.0.0.0
 network 23.0.0.0
 no auto-summary

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 FastEthernet0/0
 ip address 23.23.23.3 255.255.255.0
!
router rip
 version 2
 network 3.0.0.0 
 network 23.0.0.0
 no auto-summary
Kita akan coba menambahkan default-route melalui router R3 menggunakan command default-information originate.
R3(config)#router rip
R3(config-router)#default-information originate
Hasil pengecekan di router R2 :
R1#show ip route
Codes: 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

Gateway of last resort is 12.12.12.2 to network 0.0.0.0

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
     2.0.0.0/32 is subnetted, 1 subnets
R       2.2.2.2 [120/1] via 12.12.12.2, 00:00:09, Serial0/0
     3.0.0.0/32 is subnetted, 1 subnets
R       3.3.3.3 [120/2] via 12.12.12.2, 00:00:09, Serial0/0
     23.0.0.0/24 is subnetted, 1 subnets
R       23.23.23.0 [120/1] via 12.12.12.2, 00:00:09, 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:10, Serial0/0

Ping ke IP Loopback 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 = 16/25/40 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 = 16/30/56 ms

Hasil show ip route menunjukkan bahwa untuk default route sudah masuk di routing RIP dengan tanda 'R*' yang menandakan bahwa default route didapatkan setelah menambahkan perintah default-information originate di router R3. 

Sehingga dari R1 sudah berhasil melakukan ping ke IP Loopback disisi router R3.


Tidak ada komentar:

Posting Komentar