Question:
Here is a section Cisco 3945 of my BGP lab inside
GNS3:
My issue is not being able to ping anything
on R5 from R2 even though R2 is recieving the routes from R5 and has placed
them in it's routing table.
Thanks in advance for any help or advice!
-Steve
**********************************
R2#sho ip bgp
BGP table version is 5, local router ID is
10.1.96.2
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
* i150.1.50.0/24 10.1.36 .2 0 700
0 777 711 911 ?
*> 10.1.24 .2 0 777 911 ?
* i150.2.50.0/24 10.1.36 .2 0 700
0 777 711 911 ?
*> 10.1.24 .2 0 777 911 ?
* i200.50.2.0 10.1.36 .2 0 700
0 777 711 i
*> 10.1.24 .2 0 777 911 711 i
* i200.60.2.0 10.1.36 .2 0 700
0 777 711 i
*> 10.1.24 .2 0 777 911 711 i
R2#sho ip route
Gateway of last resort is not set
B
200.50.2.0/24 [20/0] via 10.1.24 .2, 00:23:17
B
200.60.2.0/24 [20/0] via 10.1.24 .2, 00:23:17
C 10.1.12 .0
is directly connected, Serial0/0
C
10.1.24 .0 is directly connected, Serial0/2
C
10.1.96.0 is directly connected, Serial0/1
150.1.0.0/24 is subnetted, 1 subnets
B
150.1.50.0 [20/0] via 10.1.24 .2, 00:23:17
150.2.0.0/24 is subnetted, 1 subnets
B
150.2.50.0 [20/0] via 10.1.24 .2, 00:23:17
R2#ping 150.1.50.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to
150.1.50.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R2#trace 150.1.50.1
Type escape sequence to abort.
Tracing the route to 150.1.50.1
1 10.1.24 .2
52 msec 44 msec 24 msec
2 * * *
^ so the ping make it to the next AS but stops there
R2#sho run
Building configuration...
Current configuration : 1183 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
!
!
!
!
no ip domain lookup
ip domain name lab.local
!
!
!
interface Serial0/0
ip address 10.1.12 .2
255.255.255.0
clock rate 64000
!
interface Serial0/1
ip address 10.1.96.2 255.255.255.0
clock rate 64000
!
interface Serial0/2
ip address 10.1.24 .1
255.255.255.0
clock rate 64000
!
router bgp 5500
no synchronization
bgp log-neighbor-changes
neighbor 10.1.12 .1
remote-as 5500
neighbor 10.1.12 .1
next-hop-self
neighbor 10.1.24 .2
remote-as 777
neighbor 10.1.96.1 remote-as 5500
no auto-summary
!
!
!
no ip http server
no ip http secure-server
!
!
!
!
!
control-plane
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
Answer:
You will need to enable some sort of
internal routing protocol on your routers if they were in the same AS or
configure static routing between them in case they were in different Autonomous
Systems.
You can refer to the following links for
more information about the BGP configuration
http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a008009456d.shtml#directlyconnected
For futher information, please refer to http://www.3anetwork.com/cisco-cisco3925/k9-price_p284.html
没有评论:
发表评论