Kamis, 15 Desember 2011

Day 2 - EIGRP - Redistribute OSPF

Lab kali ini kita akan membahas bagaimana cara melakukan redistribution OSPF route ke dalam routing EIGRP.

Lab 5 - EIGRP - Redistribute OSPF

Topologi yang digunakan sbb :

 

Skenarionya adalah R1 akan melakukan advertise IP Loopback3 kedalam routing OSPF, kemudian melakukan redistribution RIP route ke dalam routing EIGRP.

Konfigurasi R1:

interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface Loopback3
 ip address 30.30.30.1 255.255.255.255

!
interface Serial0/0
 ip address 12.12.12.1 255.255.255.0
!
router eigrp 10
 network 1.1.1.1 0.0.0.0
 network 12.12.12.1 0.0.0.0
 no auto-summary


Konfigurasi 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
!
interface Serial0/0
 ip address 12.12.12.2 255.255.255.0
!
router eigrp 10
 network 2.2.2.2 0.0.0.0
 network 12.12.12.2 0.0.0.0
 network 23.23.23.2 0.0.0.0
 no auto-summary


Konfigurasi R3 :
interface Loopback0
 ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
 ip address 23.23.23.3 255.255.255.0
!
router eigrp 10
 network 3.3.3.3 0.0.0.0
 network 23.23.23.3 0.0.0.0
 no auto-summary

Pertama kita advertise IP Loopback3 di router R1 kedalam routing OSPF.

R1(config)#router ospf 1
R1(config-router)#network 30.30.30.1 0.0.0.0 area 0

Kemudian kita redistribute OSPF ke dalam routing EIGRP.
 
R1(config)#router eigrp 10
R1(config-router)#redistribute ospf 1 metric 1 1 1 1 1 

Kita cek di R1 untuk memastikan redistribution sudah berjalan :
 
R1(config-router)#do sh ip protocol
Routing Protocol is "eigrp 10"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Default networks flagged in outgoing updates
  Default networks accepted from incoming updates
  EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0
  EIGRP maximum hopcount 100
  EIGRP maximum metric variance 1
  Redistributing: eigrp 10, ospf 1
  EIGRP NSF-aware route hold timer is 240s
  Automatic network summarization is not in effect
  Maximum path: 4
  Routing for Networks:
    1.1.1.1/32
    12.12.12.1/32
  Routing Information Sources:
    Gateway         Distance      Last Update
    12.12.12.2            90      00:14:31
  Distance: internal 90 external 170
 
Terlihat bahwa untuk eigrp 10 sudah melakukan proses redistribution dari OSPF 1.

Juga kita cek di R3 untuk mengetahui apakah redistribution dari R1 sudah berjalan dengan baik. 
 
R3#sh ip route
Gateway of last resort is not set

     1.0.0.0/32 is subnetted, 1 subnets
D       1.1.1.1 [90/2323456] via 23.23.23.2, 00:21:52, FastEthernet0/0
     2.0.0.0/32 is subnetted, 1 subnets
D       2.2.2.2 [90/409600] via 23.23.23.2, 00:21:52, FastEthernet0/0
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback0
     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
D       12.12.12.0 [90/2195456] via 23.23.23.2, 00:21:52, FastEthernet0/0
     30.0.0.0/32 is subnetted, 1 subnets
D EX    30.30.30.1 [170/2560537856] via 23.23.23.2, 00:01:32, FastEthernet0/0

R3#ping 30.30.30.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 30.30.30.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/29/56 ms

Terlihat bahwa untuk routing ke IP 30.30.30.1/32 dengan tanda 'D EX' sudah OK dan hasil ping sudah berhasil :)

Tidak ada komentar:

Posting Komentar