Lompat ke konten Lompat ke sidebar Lompat ke footer

Cisco | BGP Backdoor

 
















BGP backdoor pengalihan jalur dari jalur normal berdasarkan nilai AD yang lebih kecil, misal seperti topologi diatas lebih memilih jalur BGP dari R1 ke R2 harus mutar dulu via R3, sedangkan seharusnya bisa direct dari R1 ke R2, tp akrna nilai AD OSPF lebih besar sehingga jalur ini tidak dipilih dan  lebih memilih mutar lewat R3. Maka disini tugas kita adalah mencoba mengaraahkan jalur dari R1 langsung ke R2 via OSPF dengan mengaktifkan BGP backdoor.

Berikut Konfigurasi di masing-masing router.

hostname R1
interface eth0/0
ip address 12.12.12.1 255.255.255.252
no sh
ip ospf network point-to-point
ip ospf 1 area 0
exit
!
interface eth0/1
ip address 14.14.14.1 255.255.255.252
no sh
exit
!
interface Loo0
ip address 172.16.1.1 255.255.255.0
exit
!
interface Loo1
ip address 172.16.11.1 255.255.255.0
exit
!
router bgp 10
bgp router-id 172.16.1.1
network 172.16.1.0 mask 255.255.255.0
network 172.16.11.0 mask 255.255.255.0
neighbor 14.14.14.2 remote-as 30
exit

hostname R2
interface eth0/0
ip address 12.12.12.2 255.255.255.252
no sh
ip ospf network point-to-point
ip ospf 1 area 0
exit
!
interface eth0/1
ip address 13.13.13.2 255.255.255.252
no sh
exit
!
interface Loo0
ip address 172.16.2.1 255.255.255.0
exit
!
interface Loo1
ip address 172.16.22.1 255.255.255.0
exit
!
router bgp 20
bgp router-id 172.16.2.1
network 172.16.2.0 mask 255.255.255.0
network 172.16.22.0 mask 255.255.255.0
neighbor 13.13.13.1 remote-as 30
exit

hostname R3

interface eth0/0
ip address 13.13.13.1 255.255.255.252
no sh
exit
!
interface eth0/1
ip address 14.14.14.2 255.255.255.252
no sh
exit
!
interface Loo0
ip address 172.16.33.1 255.255.255.0
exit
!
interface Loo1
ip address 172.16.3.1 255.255.255.0
exit
!
router bgp 30
bgp router-id 172.16.3.1
network 172.16.3.0 mask 255.255.255.0
network 172.16.33.0 mask 255.255.255.0
neighbor 13.13.13.2 remote-as 20
neighbor 14.14.14.1 remote-as 10
exit

VERIFIKASI (before): 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 Lalu tambhakn konfigurasi berkut di R1

R1
router bgp 10

network 172.16.2.0 mask 255.255.255.0 backdoor
network 172.16.22.0 mask 255.255.255.0 backdoor
exit
 
R2
router ospf 1
 network 172.16.2.0 0.0.0.255 area 0
 network 172.16.22.0 0.0.0.255 area 0

VERIFIKASI (after)

 

 

 

 

 

 

 

 

 

 

 

 

 

Posting Komentar untuk "Cisco | BGP Backdoor"