11-27-2017 12:04 AM - edited 03-05-2019 09:32 AM
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
11-27-2017 12:23 AM
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.
11-27-2017 12:29 AM
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.
11-27-2017 12:37 AM
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
03-05-2022 06:15 AM
Your serial port and FastEthernet port are not up u should use the No shutdown command .
11-27-2017 12:31 AM
I find error come from remote as using 300 in router 3 but not remote as 200
solved
11-27-2017 12:35 AM
11-27-2017 12:36 AM
EBGP already up, but why still no bgp route?
11-27-2017 12:37 AM
all are up but no BGP route
11-27-2017 12:39 AM
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.
11-27-2017 01:16 AM
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?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide