BGP__Multihop
1)configure IP add:
R1
router ospf 1
net 10.1.12.0 0.0.0.255 a 0
net 10.1.21.0 0.0.0.255 a 0
int lo 0
ip ospf 1 a 0
router bgp 100
net 11.11.11.0 mask 255.255.255.0
nei 2.2.2.2 remote-as 200
nei 2.2.2.2 ebgp-multihop 2 (cause need to jump 2 hop)
nei 2.2.2.2 update-source lo 0
R2
router ospf 1
net 10.1.12.0 0.0.0.255 a 0
net 10.1.21.0 0.0.0.255 a 0
int lo 0
ip ospf 1 a 0
router bgp 200
net 22.22.22.0 mask 255.255.255.0
nei 1.1.1.1 remote-as 100
nei 1.1.1.1 ebgp-multihop 2
nei 1.1.1.1 update-source lo 0
Verify
*Ping each loopback add:
*ping 22.22.22.22 repeat 1000 from R1
and shutdown int f0/0 in R1 the connection will disconnect only one time
No comments:
Post a Comment