Assalamualaikum.wr.wb
Kesempatan kali ini saya akan memposting cara konfigurasi iBGP Peering ( Loopback ). Langsung aja cara konfignya
Konfigurasi pada R1 :
# system identity set name=R1
# interface bridge add name=loopback1
# interface bridge add name=loopback2
# routing bgp instance set default as=12 router-id=1.1.1.1
# ip address add address=1.1.1.1 interface=loopback1
# ip address add address=10.10.12.1/24 interface=ether2
# ip address add address=11.11.11.11 interface=loopback2
# ip route add distance=1 dst-address=22.22.22.22/32 gateway=10.10.12.2
# routing bgp network add network=1.1.1.1/32
# routing bgp peer add name-peer1 remote-address=22.22.22.22 remote-as=12 update-source=loopback2
Verifikasi :
[admin@R1] > routing bgp peer print detail
- BGP Advertisements
[admin@R1] > routing bgp advertisements print
- Tabel Routing
[admin@R1] > ip route print
- Konektifitas antar node BGP
[admin@R1] > ping 2.2.2.2 src-address=1.1.1.1
[admin@R1] > ping 22.22.22.22 src-address=1.1.1.1
Konfigurasi pada R2 :
#system identity set name=R2
#interface bridge add name=loopback1 dan add name=loopback2
#routing bgp instance set default as=12 router-id=2.2.2.2
#ip address add address=2.2.2.2 interface=loopback1 network=2.2.2.2
#ip address add address=10.10.12.2/30 interface=ether1 network=10.10.12.0
#ip address add address=22.22.22.22 interface=loopback2 network=22.22.22.22
#ip route add distance=1 dst-address=11.11.11.11/32
#routing bgp network add network=2.2.2.2/32
Verifikasi
[admin@R2] > routing bgp peer print detail
-BGP Advertisement
[admin@R2] > routing bgp advertisements print
-Tabel routing
[admin@R2] > ip route print
Konektifitas antar node BGP
[admin@R2] > ping 1.1.1.1 src-address=2.2.2.2
[admin@R2] > ping 11.11.11.11 src-address=22.22.22.22
[admin@R2] > ping 10.10.12.1
Sekian tutorial dari saya, semoga bermanfaat.
Wassalamualaikum.wr.wb.
Tidak ada komentar:
Posting Komentar