Nah kita akan mencoba untuk yang iBGP Peerboing yang lain sob, jika tadi kita neighbornya menggunakan IP Interface maka sekarang kita akan mencoba untuk menggunakan IP Loopback
Sebelum itu menggunakan topologi yang sebelumnya saa
Untuk itu kita mulai konfigurasinya dari awal saja
IDN-R1(config)#int f0/0
IDN-R1(config-if)#ip add 12.12.12.1 255.255.255.0
IDN-R1(config)#int lo0
IDN-R1(config-if)#ip add 1.1.1.1 255.255.255.255
IDN-R2(config)#int f0/0
IDN-R2(config-if)#ip add 12.12.12.2 255.255.255.0
IDN-R2(config)#int lo0
IDN-R2(config-if)#ip add 2.2.2.2 255.255.255.255
Agar loopbacknya bisa di ping gunakan saja protocol RIP ( bisa juga yang lainnya )
IDN-R1(config)#router rip
IDN-R1(config-router)#network 1.0.0.0
IDN-R1(config-router)#network 12.0.0.0
IDN-R2(config)#router rip
IDN-R2(config-router)#net 2.0.0.0
IDN-R2(config-router)#net 12.0.0.0
Setelah itu kita akan menkonfigurasi BGP nya
IDN-R1(config)#router bgp 12
IDN-R1(config-router)#neighbor 2.2.2.2 remote-as 12
IDN-R1(config-router)#neighbor 2.2.2.2 update-source Loopback0
IDN-R2(config)#router bgp 12
IDN-R2(config-router)#neighbor 1.1.1.1 remote-as 12
IDN-R2(config-router)#neighbor 1.1.1.1 update-source Lo0
Advertise network ke BGp
IDN-R1(config)#int lo1
IDN-R1(config-if)#ip add 11.11.11.11 255.255.255.255
IDN-R1(config)#router bgp 12
IDN-R1(config-router)#net 11.11.11.11 mask 255.255.255.255
IDN-R2(config)#int lo1
IDN-R2(config-if)#ip add 22.22.22.22 255.255.255.255
IDN-R2(config)#router bgp 12
IDN-R2(config-router)#net 22.22.22.22 mask 255.255.255.255
Setelah itu kita cek apakah semua terdapat pada routing tabel?
IDN-R1#sh ip ro
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
R 2.0.0.0/8 [120/1] via 12.12.12.2, 00:00:01, FastEthernet0/0
22.0.0.0/32 is subnetted, 1 subnets
B 22.22.22.22 [200/0] via 2.2.2.2, 00:17:20
11.0.0.0/32 is subnetted, 1 subnets
C 11.11.11.11 is directly connected, Loopback1
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
Bisa juga coba ping dari router 1 ke router 2 dan sebaliknya
:D
Sebelum itu menggunakan topologi yang sebelumnya saa
Untuk itu kita mulai konfigurasinya dari awal saja
IDN-R1(config)#int f0/0
IDN-R1(config-if)#ip add 12.12.12.1 255.255.255.0
IDN-R1(config)#int lo0
IDN-R1(config-if)#ip add 1.1.1.1 255.255.255.255
IDN-R2(config)#int f0/0
IDN-R2(config-if)#ip add 12.12.12.2 255.255.255.0
IDN-R2(config)#int lo0
IDN-R2(config-if)#ip add 2.2.2.2 255.255.255.255
Agar loopbacknya bisa di ping gunakan saja protocol RIP ( bisa juga yang lainnya )
IDN-R1(config)#router rip
IDN-R1(config-router)#network 1.0.0.0
IDN-R1(config-router)#network 12.0.0.0
IDN-R2(config)#router rip
IDN-R2(config-router)#net 2.0.0.0
IDN-R2(config-router)#net 12.0.0.0
Setelah itu kita akan menkonfigurasi BGP nya
IDN-R1(config)#router bgp 12
IDN-R1(config-router)#neighbor 2.2.2.2 remote-as 12
IDN-R1(config-router)#neighbor 2.2.2.2 update-source Loopback0
IDN-R2(config)#router bgp 12
IDN-R2(config-router)#neighbor 1.1.1.1 remote-as 12
IDN-R2(config-router)#neighbor 1.1.1.1 update-source Lo0
Advertise network ke BGp
IDN-R1(config)#int lo1
IDN-R1(config-if)#ip add 11.11.11.11 255.255.255.255
IDN-R1(config)#router bgp 12
IDN-R1(config-router)#net 11.11.11.11 mask 255.255.255.255
IDN-R2(config)#int lo1
IDN-R2(config-if)#ip add 22.22.22.22 255.255.255.255
IDN-R2(config)#router bgp 12
IDN-R2(config-router)#net 22.22.22.22 mask 255.255.255.255
Setelah itu kita cek apakah semua terdapat pada routing tabel?
IDN-R1#sh ip ro
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
1.0.0.0/32 is subnetted, 1 subnets
C 1.1.1.1 is directly connected, Loopback0
R 2.0.0.0/8 [120/1] via 12.12.12.2, 00:00:01, FastEthernet0/0
22.0.0.0/32 is subnetted, 1 subnets
B 22.22.22.22 [200/0] via 2.2.2.2, 00:17:20
11.0.0.0/32 is subnetted, 1 subnets
C 11.11.11.11 is directly connected, Loopback1
12.0.0.0/24 is subnetted, 1 subnets
C 12.12.12.0 is directly connected, FastEthernet0/0
Bisa juga coba ping dari router 1 ke router 2 dan sebaliknya
:D
0 komentar:
Posting Komentar