cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4917
Views
0
Helpful
10
Replies

why no BGP route in Generic Router in Packet Tracer?

Maivoko
Level 1
Level 1

I use DTE connect two Generic Router in packet tracer, but no BGP route

 

Router2#sh ip route

Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

 

Gateway of last resort is not set

 

C 192.168.0.0/24 is directly connected, Serial2/0

 

Router 2
conf t
hostname Router2
int f0/0
ip address 172.16.0.2 255.255.0.0
no shut
int s2/0
clock rate 2000000
ip address 192.168.0.2 255.255.255.0
no shut
end

Router 3
conf t
hostname Router3
int f0/0
ip address 10.10.1.2 255.0.0.0
no shut
int s2/0
clock rate 2000000
ip address 192.168.0.1 255.255.255.0
no shut
end

Router 2
conf t
router bgp 200
neighbor 192.168.0.1 remote-as 300
network 172.16.0.0
network 192.168.0.0
end

Router 3
conf t
router bgp 300
neighbor 192.168.0.2 remote-as 300
network 10.0.0.0
network 192.168.0.0
end

 

 

10 Replies 10

Vinit Jain
Cisco Employee
Cisco Employee

Two things to check:

1. Check if the BGP neighbor is up

2. Use the network statement with the subnet mask as below:

network 10.0.0.0 mask 255.0.0.0

Same for 192.168.0.0/24 network as well.

Unless the BGP neighbor is UP and advertising the prefix from router 3, Router 2 will not be able to see the route.

Thanks
--Vinit

in router 3

has error

why both are EBGP but have this message

%Packet Tracer does not support internal BGP in this version. Only external neighbors are supported.

 

Hello,

 

make sure the configs look as below:

 

Router 2

 

hostname Router2

!
interface FastEthernet0/0
ip address 172.16.0.2 255.255.0.0
!
interface Serial2/0
clock rate 2000000
ip address 192.168.0.2 255.255.255.0
!
router bgp 200
neighbor 192.168.0.1 remote-as 300
network 172.16.0.0 mask 255.255.0.0
network 192.168.0.0 mask 255.255.255.0

 

Router 3

 

hostname Router3

!
interface FastEthernet0/0
ip address 10.10.1.2 255.0.0.0
!
int Serial2/0
clock rate 2000000
ip address 192.168.0.1 255.255.255.0
!
router bgp 300
neighbor 192.168.0.2 remote-as 200
network 10.0.0.0 mask 255.0.0.0
network 192.168.0.0 mask 255.255.255.0

Your serial port and  FastEthernet port are not up u should use the No shutdown command .

I find error come from remote as using 300 in router 3 but not remote as 200

 

solved

nobgproute.png

EBGP already up, but why still no bgp route?

all are up but no BGP route

allareupbutnobgproute.png

Make sure on Router 3, the interface fa0/0 is in UP state so that the route is present in the RIB (routing table) before it is advertised via BGP.

Also, if you want to practice BGP or other routing protocols, i would recommend using GNS3 or something like VIRL or EVE. 

Thanks
--Vinit

succeed , it need to connect a PC to fa0/0

 

by the way, can packet tracer simulate internal BGP  such as

1. route reflector

2. weight, local preference,AS Path, origin MED these situation?

Review Cisco Networking for a $25 gift card