Konfigurasi BGP pada GNS3

*konfigurasi IP di Setiap Router dulu

Router ISP1
ISP1(config)#router bgp 200
ISP1(config-router)#neighbor 10.0.0.2 remote-as 100
ISP1(config-router)#network 12.0.1.0 mask 255.255.255.0
ISP1(config-router)#exit
ISP1(config)#int loopback 0
ISP1(config-if)#ip address 12.0.0.1 255.255.255.0


Router ISP2
ISP2(config)#router bgp 300
ISP2(config-router)#neighbor 172.16.0.2 remote-as 100
ISP2(config-router)#network 172.16.1.0 mask 255.255.255.0
ISP2(config-router)#exit
ISP2(config)#int loopback 0
ISP2(config-if)#ip address 172.16.1.1 255.255.255.0


Router SanJose
SanJose(config)#router bgp 100
SanJose(config-router)#neighbor 10.0.0.1 remote-as 200
SanJose(config-router)#neighbor 172.16.0.1 remote-as 300
SanJose(config-router)#network 192.168.0.0 mask 255.255.255.0
SanJose(config-router)#network 192.168.1.0 mask 255.255.255.0
SanJose(config-router)#exit
SanJose(config)#int loopback 0
SanJose(config-if)#ip address 192.16.0.1 255.255.255.0
SanJose(config-router)#exit
SanJose(config)#int loopback 1
SanJose(config-if)#ip address 192.16.1.1 255.255.255.0


Posted in

Comments are closed.