Jump to content

Interkoneksi BGP Routing: Difference between revisions

From Wiki - SandyaNet
Noc (talk | contribs)
No edit summary
Noc (talk | contribs)
No edit summary
Line 15: Line 15:
  route-map ISP2-IN permit 10
  route-map ISP2-IN permit 10
   match ip address prefix-list PUBLIC
   match ip address prefix-list PUBLIC
   set large-community 65107:65107:65335
   set large-community 56789:56789:01234
   set local-preference 200
   set local-preference 200
  exit
  exit

Revision as of 22:24, 1 July 2022

Sebelum kita memulai interkoneksi BGP antar ASN dibeberapa router, kita akan membuat contoh identifikasi suatu ISP, Router, dan ASN:

ISP 1: AS01234 VLAN101 IP P2P: 10.212.212.9/30

ISP 2 - AS56789 VLAN101 IP P2P: 10.212.212.10/30

Interkoneksi BGP di ISP1 FRR

# Konfigurasi Route-Map #

route-map ISP2-IN permit 10
 match ip address prefix-list PUBLIC
 set large-community 56789:56789:01234
 set local-preference 200
exit

route-map ISP2-OUT permit 10
 match ip address prefix-list ISP1
 match large-community ISP1
exit
# Konfigurasi Large Community List #

bgp large-community-list seq 5 permit 56789:56789:01234
# Konfigurasi BGP Peer #

router bgp 56789
neighbor ISP2 peer-group
neighbor 10.212.212.10 peer-group ISP2
neighbor 10.212.212.10 description ISP2
neighbor ISP2 remote-as 20940
address-family ipv4
  neighbor ISP2 soft-reconfiguration inbound
  neighbor ISP2 route-map ISP2-IN in
  neighbor ISP2 route-map ISP2-OUT out
 exit
exit