Interkoneksi BGP Routing: Difference between revisions

Noc (talk | contribs)
Noc (talk | contribs)
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
Sebelum kita memulai interkoneksi BGP antar ASN dibeberapa router, kita akan membuat contoh identifikasi suatu ISP, Router, dan ASN:
Sebelum kita memulai interkoneksi BGP antar ASN dibeberapa router, kita akan membuat contoh identifikasi suatu Router dan ASN (Public):
ISP 1: AS01234
 
VLAN101
SANDYA: AS141626 - 10.212.212.9/30
IP P2P: 10.212.212.9/30
   
   
ISP 2 - AS56789
TGR: AS65106 - 10.212.212.10/30 ( SANDYA-IX + CONTENT )
VLAN101
IP P2P: 10.212.212.10/30


== Interkoneksi BGP di ISP1 FRR ==
# '''Konfigurasi Route-Map IN''' #
route-map TGR-IN permit 10
ip address prefix-list PUBLIC
large-community 141626:141626:1000 141626:212:1 141626:141626:65106
set local-preference 200
exit


1. Membuat Route Map:
# '''Konfigurasi Route-Map OUT''' #
route-map TGR-OUT permit 10
ip address prefix-list SANDYA
large-community 141626:141626:141626
exit
route-map TGR-OUT permit 500
ip address prefix-list SANDYA-IX
exit
route-map TGR-OUT permit 1000
match large-community CONTENT
exit


  # Menambahkan GPG key
  # '''Konfigurasi Large Community''' #
  route-map ISP2-IN permit 10
  bgp large-community-list standard TGR seq 5 141626:141626:65106
  match ip address prefix-list PUBLIC
  set large-community 65107:65107:65335
  set local-preference 200
exit


  route-map ISP2-OUT permit 10
  # '''Konfigurasi BGP Peer''' #
   match ip address prefix-list ISP1
router bgp 141626
   match large-community ISP1
neighbor TGR peer-group
neighbor 10.212.212.10 peer-group TGR
neighbor 10.212.212.10 description TGR
neighbor TGR remote-as 65106
address-family ipv4
  neighbor TGR remove-private-AS all
  neighbor TGR soft-reconfiguration inbound
  neighbor TGR route-map TGR-IN in
   neighbor TGR route-map TGR-OUT out
   exit
  exit
  exit