Thursday, April 21, 2016

Basic BGP Lab1




Configure
R1
router bgp 100
net 1.1.1.0 mask 255.255.255.0
nei 10.1.12.2 remote-as 200

R2
router bgp 200
net 2.2.2.0 mask 255.255.255.0
nei 10.1.12.1 remote-as 100
nei 10.1.23.3 remote-as 300

R3
router bgp 300
net 3.3.3.0 mask 255.255.255.0
nei 10.1.23.2 remote-as 200

Verify
#sh ip bgp summary (on all routers / Checking BGP Nei)
#sh ip bgp (on all routers / Checking BGP Route)
#ping xx.xx.xx.xx so lo 0
+++++++++++++++++++++++++++++++++++++++++++
Configure
R4
router bgp 400
net 4.4.4.0 mask 255.255.255.0
nei 10.1.45.5 remote-as 500

R5
router bgp 500
net 5.5.5.0 mask 255.255.255.0
nei 10.1.45.4 remote-as 400
nei 10.1.56.6 remote-as 500

R6
router bgp 500
net 6.6.6.0 mask 255.255.255.0
nei 10.1.56.5 remote-as 500

Verify
#sh ip bgp summary (on all routers / Checking BGP Nei)
#sh ip bgp (on all routers / Checking BGP Route)
#ping xx.xx.xx.xx so lo 0 (Couldn’t get connection between R4 and R6)

Solved
R5
router bgp 500
nei 10.1.56.6 next-hop-self
#ping xx.xx.xx.xx so lo 0 (Get connection between R4 and R6)
+++++++++++++++++++++++++++++++++++++++++++
Configure
R7
router bgp 789
net 7.7.7.0 mask 255.255.255.0
nei 10.1.78.8 remote-as 789

R8
router bgp 789
net 8.8.8.0 mask 255.255.255.0
nei 10.1.78.7 remote-as 789
nei 10.1.89.9 remote-as 789

R9
router bgp 789
net 9.9.9.0 mask 255.255.255.0
nei 10.1.89.8 remote-as 789

Verify
#sh ip bgp summary (on all routers / Checking BGP Nei)
#sh ip bgp (on all routers / Checking BGP Route)
#ping xx.xx.xx.xx so lo 0 (Couldn’t see between R7 and R9)

Solved
R7
router bgp 789
nei 10.1.89.9 remote-as 789

ip route 10.1.89.0 255.255.255.0 10.1.78.8

R9
router bgp 789
nei 10.1.78.7 remote-as 789

ip route 10.1.78.0 255.255.255.0 10.1.89.8

*Need Underlined Protocol (RIP,OSPF,EIGRP,ISIS,Static-Route)
*Fully-Meshed
#ping xx.xx.xx.xx so lo 0 (Get connection between R7 and R9)







No comments:

Post a Comment