Download link for Practical of BGP_Configuration via Static:
IP Configuration on R-1:
---------------------------
Router>enable
Router#conf terminal
Router(config)#hostname R-1
R-1(config)#interface serial 1/0
R-1(config-if)#ip address 172.16.0.1 255.0.0.0
R-1(config-if)#clock rate 72000
R-1(config-if)#no shu
R-1(config-if)#exit
R-1(config)#interface fastEthernet 0/0
R-1(config-if)#ip address 10.0.0.1 255.0.0.0
R-1(config-if)#no shu
R-1(config-if)#exit
IP Configuration on R-2:
-------------------------
Router>enable
Router#conf terminal
Router(config)#hostname R-2
R-2(config)#interface serial 1/0
R-2(config-if)#ip address 172.0.0.2 255.0.0.0
R-2(config-if)#no shu
R-2(config-if)#exit
R-2(config)#interface serial 1/1
R-2(config-if)#ip address 172.14.0.1 255.0.0.0
R-2(config-if)#no shu
R-2(config-if)#exit
IP Configuration on R-3:
-------------------------
Router>enable
Router#conf terminal
Router(config)#hostname R-3
R-3(config)#interface serial 1/0
R-3(config-if)#ip address 172.14.0.2 255.0.0.0
R-3(config-if)#no shu
R-3(config-if)#exit
R-3(config)#interface fastEthernet 0/0
R-3(config-if)#ip address 40.0.0.1 255.0.0.0
R-3(config-if)#no shu
R-3(config-if)#exit
BGP Configuration on R-1:
-------------------------
R-1(config)#router bgp 1
R-1(config-router)#neighbor 172.16.0.2 remote-as 71
R-1(config-router)#network 10.0.0.0 mask 255.0.0.0
R-1(config-router)#exit
R-1(config)#do write
Building configuration...
[OK]
R-1(config)#
BGP Configuration on R-2:
-------------------------
R-2(config)#router bgp 71
R-2(config-router)#neighbor 172.16.0.1 remote-as 1
R-2(config-router)#neighbor 172.14.0.2 remote-as 79
R-2(config-router)#network 40.0.0.0 mask 255.0.0.0
R-2(config-router)#exit
R-2(config)#do write
Building configuration...
[OK]
R-2(config)#
BGP Configuration on R-3:
-------------------------
R-3(config)#router bgp 79
R-3(config-router)#neighbor 172.14.0.1 remote-as 71
R-3(config-router)#network 40.0.0.0 mask 255.0.0.0
R-3(config-router)#exit
R-3(config)#do write
Building configuration...
[OK]
R-3(config)#
Note:- "Ping the PC-1(10.0.0.2) from PC-2(40.0.0.2)"
Note:- "Ping the PC-2(40.0.0.2) from PC-1(10.0.0.2)"
No comments:
Post a Comment