ā11-22-2018 02:55 PM - edited ā03-03-2019 08:56 AM
Hi , i have to connect three routers in the same bgp "as" to another router in another bgp "as" but, when i run show ip bgp summary the connection from one router appears as down to the neighbor in a different "as".
This is my config for the routers:
router 1:
en
config t
interface loopback 1
ip address 10.1.1.1 255.255.255.0
exit
interface gigabitEthernet 0/0
ip address 10.1.103.1 255.255.255.248
no shutdown
exit
interface gigabitEthernet 0/1
ip address 10.1.102.1 255.255.255.248
no shutdown
exit
interface gigabitEthernet 0/2
ip address 192.168.14.1 255.255.255.252
no shutdown
exit
router ospf 1
network 10.1.1.0 0.0.0.255 area 0
network 10.1.103.0 0.0.0.7 area 0
network 10.1.102.0 0.0.0.7 area 0
network 192.168.14.0 0.0.0.3 area 0
passive-interface Gi0/2
exit
interface loopback 1
ip ospf network point-to-point
exit
router bgp 65500
neighbor 192.168.14.2 remote-as 64600
neighbor 10.2.2.2 remote-as 65500
neighbor 10.2.2.2 update-source loopback1
neighbor 10.3.3.3 remote-as 65500
neighbor 10.3.3.3 update-source loopback1
network 10.1.1.0 mask 255.255.255.0
exit
router 4:
en
config t
interface loopback 0
ip address 172.16.0.1 255.255.252.0
exit
interface loopback 4
ip address 172.16.4.1 255.255.252.0
exit
interface loopback 8
ip address 172.16.8.1 255.255.252.0
exit
interface loopback 12
ip address 172.16.12.1 255.255.252.0
exit
interface gigabitEthernet 0/0
ip address 192.168.34.2 255.255.255.252
no shutdown
exit
interface gigabitEthernet 0/1
ip address 192.168.14.2 255.255.255.252
no shutdown
exit
router ospf 1
network 172.16.0.0 0.0.3.255 area 0
network 172.16.4.0 0.0.3.255 area 0
network 172.16.8.0 0.0.3.255 area 0
network 172.16.12.0 0.0.3.255 area 0
network 192.168.34.0 0.0.0.3 area 0
network 192.168.14.0 0.0.0.3 area 0
passive-interface Gi0/0
passive-interface Gi0/1
exit
interface loopback 0
ip ospf network point-to-point
exit
interface loopback 4
ip ospf network point-to-point
exit
interface loopback 8
ip ospf network point-to-point
exit
interface loopback 12
ip ospf network point-to-point
exit
ip route 172.16.0.0 255.255.240.0 null0
router bgp 64600
neighbor 192.16.34.1 remote-as 65500
neighbor 192.16.14.1 remote-as 65500
network 172.16.0.0 mask 255.255.252.0
network 172.16.4.0 mask 255.255.252.0
network 172.16.8.0 mask 255.255.252.0
network 172.16.12.0 mask 255.255.252.0
network 172.16.0.0 mask 255.255.240.0
exit
Can someone tell me what i'm doing wrong. Thanks
Solved! Go to Solution.
ā11-24-2018 11:22 AM
Hello,
it looks like on Router 4, you have a typo in the IP address:
--> neighbor 192.16.14.1 remote-as 65500
needs to be:
neighbor 192.168.14.1 remote-as 65500
ā11-24-2018 11:22 AM
Hello,
it looks like on Router 4, you have a typo in the IP address:
--> neighbor 192.16.14.1 remote-as 65500
needs to be:
neighbor 192.168.14.1 remote-as 65500
ā11-24-2018 05:33 PM - edited ā11-24-2018 05:33 PM
Thank you for the answer! It was a stupid mistake. Now in a different topic , do you know how can I config the router so that the prefered path from the router 4 to the AS 65500 is through the router 1? Thank you once again.
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