izmenjeno 2 puta, poslednji put dragansar 03.11.2012. u 13:03
Izmene poruke
- dragansar03.11.2012. u 13:03zapis iz teksta poruke
- dragansar03.11.2012. u 12:56zapis iz teksta poruke
U svrhu prirema za "CCIP BGP 642-661" radim jedan lab u GNS3, odakle i naziv teme...i naisao sam na jedan problem...evo topologije:

Par rutera u nekoliko razlicitih BGP AS-tema, na svakom ruteru objavljene mreze na interfejsima Lo1 i Lo2
Trenutno R2 nije peers sa R7, svi ostali izmedju sebe jesu + u AS 807 R6 je peers sa R7 R8 i R9 (kao sto crvene strelice pokazuju)
Sve je podeseno i radi kako treba sem jednog problema na ruteru R9...naime:
Kada pingam ruter R2 sa R9 ne moze! Ne samo ruter R2 nego bilo koji drugi...(ali sad cu se u primjeru vezati samo sa R2)
R9#ping 26.50.40.1 source 96.50.40.1
Na R9 rute prema R2 su best i validne
R9#show ip bgp
Nex hop adresa je dostupna i rute prema R2 se naravno nalaze u ruting tabeli
R9#ping 6.6.6.6
Na ruterima R7 i R8 radi sve bez problema, pa predpostavljam da je problem na relaciji izmedju R6 i R9...jer nisu direktno povezani
Neighbors izmedju njih je ok
R9#show ip bgp summary
Sinhronizacija je iskljucena
R9#show run | s bgp
Stanje i na R6
R6#show run | s bgp
Ruter R2 vidi ispravno rute na R9
R2#show ip bgp
Uradim traceroute sa R9
R9#traceroute 26.50.40.1 source 96.50.40.1
Pinga sa R2 prema R9
R2#traceroute 96.50.40.1 source 26.50.40.1
Vidim da ruter R6 pravi problem! i na njemu:
R6#ping 96.50.40.1 source 66.50.40.1
R6#traceroute 96.50.40.1 source 66.50.40.1
Pitanje? Sta je pogresno u setup-u ili samom dizajnu?

Par rutera u nekoliko razlicitih BGP AS-tema, na svakom ruteru objavljene mreze na interfejsima Lo1 i Lo2
Trenutno R2 nije peers sa R7, svi ostali izmedju sebe jesu + u AS 807 R6 je peers sa R7 R8 i R9 (kao sto crvene strelice pokazuju)
Sve je podeseno i radi kako treba sem jednog problema na ruteru R9...naime:
Kada pingam ruter R2 sa R9 ne moze! Ne samo ruter R2 nego bilo koji drugi...(ali sad cu se u primjeru vezati samo sa R2)
R9#ping 26.50.40.1 source 96.50.40.1
Citat:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 26.50.40.1, timeout is 2 seconds:
Packet sent with a source address of 96.50.40.1
.....
Success rate is 0 percent (0/5)
Sending 5, 100-byte ICMP Echos to 26.50.40.1, timeout is 2 seconds:
Packet sent with a source address of 96.50.40.1
.....
Success rate is 0 percent (0/5)
Na R9 rute prema R2 su best i validne
R9#show ip bgp
Citat:
BGP table version is 13, local router ID is 96.50.50.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i26.50.40.0/24 6.6.6.6 0 100 0 654 133 205 500 i
*>i26.50.50.0/24 6.6.6.6 0 100 0 654 133 205 500 i
*>i46.50.40.0/24 6.6.6.6 0 100 0 654 133 i
*>i46.50.50.0/24 6.6.6.6 0 100 0 654 133 i
*>i56.50.40.0/24 6.6.6.6 0 100 0 654 i
*>i56.50.50.0/24 6.6.6.6 0 100 0 654 i
*>i66.50.40.0/24 6.6.6.6 0 100 0 i
*>i66.50.50.0/24 6.6.6.6 0 100 0 i
*>i91.191.57.0/24 6.6.6.6 0 100 0 654 133 205 i
*>i91.192.57.0/24 6.6.6.6 0 100 0 654 133 205 i
*> 96.50.40.0/24 0.0.0.0 0 32768 i
*> 96.50.50.0/24 0.0.0.0 0 32768 i
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*>i26.50.40.0/24 6.6.6.6 0 100 0 654 133 205 500 i
*>i26.50.50.0/24 6.6.6.6 0 100 0 654 133 205 500 i
*>i46.50.40.0/24 6.6.6.6 0 100 0 654 133 i
*>i46.50.50.0/24 6.6.6.6 0 100 0 654 133 i
*>i56.50.40.0/24 6.6.6.6 0 100 0 654 i
*>i56.50.50.0/24 6.6.6.6 0 100 0 654 i
*>i66.50.40.0/24 6.6.6.6 0 100 0 i
*>i66.50.50.0/24 6.6.6.6 0 100 0 i
*>i91.191.57.0/24 6.6.6.6 0 100 0 654 133 205 i
*>i91.192.57.0/24 6.6.6.6 0 100 0 654 133 205 i
*> 96.50.40.0/24 0.0.0.0 0 32768 i
*> 96.50.50.0/24 0.0.0.0 0 32768 i
Nex hop adresa je dostupna i rute prema R2 se naravno nalaze u ruting tabeli
R9#ping 6.6.6.6
Citat:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 6.6.6.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/92/132 ms
Sending 5, 100-byte ICMP Echos to 6.6.6.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/92/132 ms
Na ruterima R7 i R8 radi sve bez problema, pa predpostavljam da je problem na relaciji izmedju R6 i R9...jer nisu direktno povezani
Neighbors izmedju njih je ok
R9#show ip bgp summary
Citat:
BGP router identifier 96.50.50.1, local AS number 807
BGP table version is 13, main routing table version 13
12 network entries using 1404 bytes of memory
12 path entries using 624 bytes of memory
7/6 BGP path/bestpath attribute entries using 868 bytes of memory
4 BGP AS-PATH entries using 96 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 2992 total bytes of memory
BGP activity 12/0 prefixes, 12/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
6.6.6.6 4 807 39 35 13 0 0 00:31:56 10
BGP table version is 13, main routing table version 13
12 network entries using 1404 bytes of memory
12 path entries using 624 bytes of memory
7/6 BGP path/bestpath attribute entries using 868 bytes of memory
4 BGP AS-PATH entries using 96 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 2992 total bytes of memory
BGP activity 12/0 prefixes, 12/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
6.6.6.6 4 807 39 35 13 0 0 00:31:56 10
Sinhronizacija je iskljucena
R9#show run | s bgp
Citat:
router bgp 807
no synchronization
bgp log-neighbor-changes
network 96.50.40.0 mask 255.255.255.0
network 96.50.50.0 mask 255.255.255.0
neighbor 6.6.6.6 remote-as 807
neighbor 6.6.6.6 description peers_R6
neighbor 6.6.6.6 update-source Loopback0
no auto-summary
no synchronization
bgp log-neighbor-changes
network 96.50.40.0 mask 255.255.255.0
network 96.50.50.0 mask 255.255.255.0
neighbor 6.6.6.6 remote-as 807
neighbor 6.6.6.6 description peers_R6
neighbor 6.6.6.6 update-source Loopback0
no auto-summary
Stanje i na R6
R6#show run | s bgp
Citat:
router bgp 807
no synchronization
bgp log-neighbor-changes
network 66.50.40.0 mask 255.255.255.0
network 66.50.50.0 mask 255.255.255.0
neighbor 5.5.5.5 remote-as 654
neighbor 5.5.5.5 description peeers_R5
neighbor 5.5.5.5 ebgp-multihop 2
neighbor 5.5.5.5 update-source Loopback0
neighbor 7.7.7.7 remote-as 807
neighbor 7.7.7.7 description peers_R7
neighbor 7.7.7.7 ebgp-multihop 5
neighbor 7.7.7.7 update-source Loopback0
neighbor 7.7.7.7 next-hop-self
neighbor 8.8.8.8 remote-as 807
neighbor 8.8.8.8 description peers_R8
neighbor 8.8.8.8 ebgp-multihop 5
neighbor 8.8.8.8 update-source Loopback0
neighbor 8.8.8.8 next-hop-self
neighbor 9.9.9.9 remote-as 807
neighbor 9.9.9.9 description peers_R9
neighbor 9.9.9.9 ebgp-multihop 5
neighbor 9.9.9.9 update-source Loopback0
neighbor 9.9.9.9 next-hop-self
no auto-summary
no synchronization
bgp log-neighbor-changes
network 66.50.40.0 mask 255.255.255.0
network 66.50.50.0 mask 255.255.255.0
neighbor 5.5.5.5 remote-as 654
neighbor 5.5.5.5 description peeers_R5
neighbor 5.5.5.5 ebgp-multihop 2
neighbor 5.5.5.5 update-source Loopback0
neighbor 7.7.7.7 remote-as 807
neighbor 7.7.7.7 description peers_R7
neighbor 7.7.7.7 ebgp-multihop 5
neighbor 7.7.7.7 update-source Loopback0
neighbor 7.7.7.7 next-hop-self
neighbor 8.8.8.8 remote-as 807
neighbor 8.8.8.8 description peers_R8
neighbor 8.8.8.8 ebgp-multihop 5
neighbor 8.8.8.8 update-source Loopback0
neighbor 8.8.8.8 next-hop-self
neighbor 9.9.9.9 remote-as 807
neighbor 9.9.9.9 description peers_R9
neighbor 9.9.9.9 ebgp-multihop 5
neighbor 9.9.9.9 update-source Loopback0
neighbor 9.9.9.9 next-hop-self
no auto-summary
Ruter R2 vidi ispravno rute na R9
R2#show ip bgp
Citat:
BGP table version is 17, local router ID is 26.50.50.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 26.50.40.0/24 0.0.0.0 0 32768 i
*> 26.50.50.0/24 0.0.0.0 0 32768 i
*> 46.50.40.0/24 10.0.0.13 0 205 133 i
*> 46.50.50.0/24 10.0.0.13 0 205 133 i
*> 56.50.40.0/24 10.0.0.13 0 205 133 654 i
*> 56.50.50.0/24 10.0.0.13 0 205 133 654 i
*> 66.50.40.0/24 10.0.0.13 0 205 133 654 807 i
*> 66.50.50.0/24 10.0.0.13 0 205 133 654 807 i
*> 76.50.40.0/24 10.0.0.13 0 205 133 654 807 i
*> 76.50.50.0/24 10.0.0.13 0 205 133 654 807 i
*> 86.50.40.0/24 10.0.0.13 0 205 133 654 807 i
*> 86.50.50.0/24 10.0.0.13 0 205 133 654 807 i
*> 91.191.57.0/24 10.0.0.13 0 0 205 i
*> 91.192.57.0/24 10.0.0.13 0 0 205 i
*> 96.50.40.0/24 10.0.0.13 0 205 133 654 807 i
*> 96.50.50.0/24 10.0.0.13 0 205 133 654 807 i
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 26.50.40.0/24 0.0.0.0 0 32768 i
*> 26.50.50.0/24 0.0.0.0 0 32768 i
*> 46.50.40.0/24 10.0.0.13 0 205 133 i
*> 46.50.50.0/24 10.0.0.13 0 205 133 i
*> 56.50.40.0/24 10.0.0.13 0 205 133 654 i
*> 56.50.50.0/24 10.0.0.13 0 205 133 654 i
*> 66.50.40.0/24 10.0.0.13 0 205 133 654 807 i
*> 66.50.50.0/24 10.0.0.13 0 205 133 654 807 i
*> 76.50.40.0/24 10.0.0.13 0 205 133 654 807 i
*> 76.50.50.0/24 10.0.0.13 0 205 133 654 807 i
*> 86.50.40.0/24 10.0.0.13 0 205 133 654 807 i
*> 86.50.50.0/24 10.0.0.13 0 205 133 654 807 i
*> 91.191.57.0/24 10.0.0.13 0 0 205 i
*> 91.192.57.0/24 10.0.0.13 0 0 205 i
*> 96.50.40.0/24 10.0.0.13 0 205 133 654 807 i
*> 96.50.50.0/24 10.0.0.13 0 205 133 654 807 i
Uradim traceroute sa R9
R9#traceroute 26.50.40.1 source 96.50.40.1
Citat:
Type escape sequence to abort.
Tracing the route to 26.50.40.1
1 * * *
2 * * *
Tracing the route to 26.50.40.1
1 * * *
2 * * *
Pinga sa R2 prema R9
R2#traceroute 96.50.40.1 source 26.50.40.1
Citat:
Type escape sequence to abort.
Tracing the route to 96.50.40.1
1 10.0.0.13 48 msec 148 msec 32 msec
2 10.0.0.9 192 msec 68 msec 76 msec
3 10.0.0.5 172 msec 100 msec 120 msec
4 10.0.0.1 180 msec 196 msec 116 msec
5 192.168.0.2 292 msec 212 msec 284 msec
6 192.168.0.2 !H * !H
Tracing the route to 96.50.40.1
1 10.0.0.13 48 msec 148 msec 32 msec
2 10.0.0.9 192 msec 68 msec 76 msec
3 10.0.0.5 172 msec 100 msec 120 msec
4 10.0.0.1 180 msec 196 msec 116 msec
5 192.168.0.2 292 msec 212 msec 284 msec
6 192.168.0.2 !H * !H
Vidim da ruter R6 pravi problem! i na njemu:
R6#ping 96.50.40.1 source 66.50.40.1
Citat:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 96.50.40.1, timeout is 2 seconds:
Packet sent with a source address of 66.50.40.1
U.U.U
Success rate is 0 percent (0/5)
Sending 5, 100-byte ICMP Echos to 96.50.40.1, timeout is 2 seconds:
Packet sent with a source address of 66.50.40.1
U.U.U
Success rate is 0 percent (0/5)
R6#traceroute 96.50.40.1 source 66.50.40.1
Citat:
Type escape sequence to abort.
Tracing the route to 96.50.40.1
1 192.168.0.13 68 msec
192.168.0.2 100 msec
192.168.0.13 16 msec
2 192.168.0.2 !H
192.168.0.13 !H *
Tracing the route to 96.50.40.1
1 192.168.0.13 68 msec
192.168.0.2 100 msec
192.168.0.13 16 msec
2 192.168.0.2 !H
192.168.0.13 !H *
Pitanje? Sta je pogresno u setup-u ili samom dizajnu?
Potpis
Šaka