Csináltam egy gyors tesztet a BGP működésével kapcsolatban. Két router össze van kötve serial link-n. A BGP Load-balancing működik?

(a konfig itt , de kiváncsi voltam Dynamips-el működik-e)
R0:
R0(config)#int s1/0
R0(config-if)# ip address 10.0.1.9 255.255.255.252
R0(config-if)# encapsulation ppp
R0(config-if)#exi
R0(config)#int s1/1
R0(config-if)# ip address 10.0.1.9 255.255.255.252
R0(config-if)# encapsulation ppp
R0(config-if)#exi
R0(config)#router bgp 11
R0(config-router)# bgp log-neighbor-changes
R0(config-router)# neighbor 10.0.1.10 remote-as 12
R0(config-router)#exi
R0(config)#exi
R1:
R1(config)#int s1/0
R1(config-if)# ip address 10.0.1.10 255.255.255.252
R1(config-if)# encapsulation ppp
R1(config-if)#exi
R1(config)#int s1/1
R1(config-if)# ip address 10.0.1.10 255.255.255.252
R1(config-if)# encapsulation ppp
R1(config-if)#exi
R1(config)#router bgp 12
R1(config-router)# bgp log-neighbor-changes
R1(config-router)# network 172.16.0.0
R1(config-router)# neighbor 10.0.1.9 remote-as 11
R1(config-router)#exi
R1(config)#ip route 172.16.0.0 255.255.0.0 Null0
R0-n: A BGP OPEN Message..
R0#debug ip bgp all
BGP debugging is on for all address families
R0#
*Dec 13 20:08:57.791: BGP: 10.0.1.10 open active, local address 10.0.1.9
*Dec 13 20:08:57.835: BGP: 10.0.1.10 went from Active to OpenSent
*Dec 13 20:08:57.839: BGP: 10.0.1.10 sending OPEN, version 4, my as: 11, holdtim
e 180 seconds
*Dec 13 20:08:57.843: BGP: 10.0.1.10 send message type 1, length (incl. header)
45
*Dec 13 20:08:57.883: BGP: 10.0.1.10 rcv message type 1, length (excl. header) 2
6
*Dec 13 20:08:57.883: BGP: 10.0.1.10 rcv OPEN, version 4, holdtime 180 seconds
*Dec 13 20:08:57.887: BGP: 10.0.1.10 rcv OPEN w/ OPTION parameter len: 16
*Dec 13 20:08:57.887: BGP: 10.0.1.10 rcvd OPEN w/ optional parameter type 2 (Cap
ability) len 6
*Dec 13 20:08:57.887: BGP: 10.0.1.10 OPEN has CAPABILITY code: 1, length 4
*Dec 13 20:08:57.887: BGP: 10.0.1.10 OPEN has MP_EXT CAP for afi/safi: 1/1
*Dec 13 20:08:57.887: BGP: 10.0.1.10 rcvd OPEN w/ optional parameter type 2 (Cap
ability) len 2
*Dec 13 20:08:57.891: BGP: 10.0.1.10 OPEN has CAPABILITY code: 128, length 0
*Dec 13 20:08:57.891: BGP: 10.0.1.10 OPEN has ROUTE-REFRESH capability(old) for
all address-families
*Dec 13 20:08:57.891: BGP: 10.0.1.10 rcvd OPEN w/ optional parameter type 2 (Cap
ability) len 2
*Dec 13 20:08:57.891: BGP: 10.0.1.10 OPEN has CAPABILITY code: 2, length 0
*Dec 13 20:08:57.891: BGP: 10.0.1.10 OPEN has ROUTE-REFRESH capability(new) for
all address-families
BGP: 10.0.1.10 rcvd OPEN w/ remote AS 12
*Dec 13 20:08:57.891: BGP: 10.0.1.10 went from OpenSent to OpenConfirm
*Dec 13 20:08:57.891: BGP: 10.0.1.10 went from OpenConfirm to Established
*Dec 13 20:08:57.891: %BGP-5-ADJCHANGE: neighbor 10.0.1.10 Up
R0-n látszik a 172.16.0.0 hálózat:
R0#sh ip route bgp
B 172.16.0.0/16 [20/0] via 10.0.1.10, 00:08:08
R0#
És load-balancing???? Igen:)
R0#sh ip cef 172.16.0.0 internal
172.16.0.0/16, version 12, epoch 0, per-destination sharing
0 packets, 0 bytes
via 10.0.1.10, 0 dependencies, recursive
next hop 10.0.1.10, Serial1/1 via 10.0.1.10/32
valid adjacencyRecursive load sharing using 10.0.1.10/32
Load distribution: 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 (refcount 2)Hash OK Interface Address Packets
1 Y Serial1/0 point2point 0
2 Y Serial1/1 point2point 0
3 Y Serial1/0 point2point 0
4 Y Serial1/1 point2point 0
5 Y Serial1/0 point2point 0
6 Y Serial1/1 point2point 0
7 Y Serial1/0 point2point 0
8 Y Serial1/1 point2point 0
9 Y Serial1/0 point2point 0
10 Y Serial1/1 point2point 0
11 Y Serial1/0 point2point 0
12 Y Serial1/1 point2point 0
13 Y Serial1/0 point2point 0
14 Y Serial1/1 point2point 0
15 Y Serial1/0 point2point 0
16 Y Serial1/1 point2point 0
refcount 5
Na megyek tanulni zh-ra…
Popularity: 24% [?]
Related posts:

























None
Leave a reply