Interkoneksi BGP Routing: Difference between revisions

Noc (talk | contribs)
No edit summary
Noc (talk | contribs)
No edit summary
 
(3 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
SANDYA: AS141626 - 10.212.212.9/30
VLAN101
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


  # '''Konfigurasi 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 ISP2-IN permit 10
  route-map TGR-OUT permit 500
  match ip address prefix-list PUBLIC
ip address prefix-list SANDYA-IX
  set large-community 65107:65107:65335
  set local-preference 200
  exit
  exit
   
   
  route-map ISP2-OUT permit 10
  route-map TGR-OUT permit 1000
  match ip address prefix-list ISP1
match large-community CONTENT
  match large-community ISP1
  exit
  exit


  # '''Konfigurasi Large Community List''' #
  # '''Konfigurasi Large Community''' #  
  bgp large-community-list standard TGR seq 5 141626:141626:65106
  bgp large-community-list seq 5 permit 56789:56789:01234


  # '''Konfigurasi BGP Peer''' #
  # '''Konfigurasi BGP Peer''' #  
  router bgp 141626
  router bgp 56789
  neighbor TGR peer-group
  neighbor ISP2 peer-group
  neighbor 10.212.212.10 peer-group TGR
  neighbor 10.212.212.10 peer-group ISP2
  neighbor 10.212.212.10 description TGR
  neighbor 10.212.212.10 description ISP2
  neighbor TGR remote-as 65106
  neighbor ISP2 remote-as 20940
  address-family ipv4
  address-family ipv4
  neighbor ISP2 soft-reconfiguration inbound
  neighbor TGR remove-private-AS all
  neighbor ISP2 route-map ISP2-IN in
  neighbor TGR soft-reconfiguration inbound
  neighbor ISP2 route-map ISP2-OUT out
  neighbor TGR route-map TGR-IN in
  neighbor TGR route-map TGR-OUT out
   exit
   exit
  exit
  exit