Hi Hillary and Alexis,

Thanks for the reply. Conceptually it makes totally sense, although I
couldn't get the static routes stuff working.

# BGP router in AS 100
router bgp 100
 neighbor 2.2.2.2 remote-as 200
 neighbor 2.2.2.2 ebgp-multihop 3
 neighbor 2.2.2.2 update-source 1.1.1.1

ip route 1.1.1.0 255.255.255.0 10.0.1.1      # this is the line for static
route I added, should it be outside or inside the "router block"? Tried
both but neither working

# BGP router in AS 200
router bgp 200
 neighbor 1.1.1.1 remote-as 100
 neighbor 1.1.1.1 ebgp-multihop 3
 neighbor 1.1.1.1 update-source 2.2.2.2

ip route 2.2.2.0 255.255.255.0 10.0.2.2     # same here


And here is the outputs for "show ip route"
>>> IP Route for node a1 is:
Codes: K - kernel route, C - connected, S - static, R - RIP,
       O - OSPF, I - IS-IS, B - BGP, A - Babel,
       > - selected route, * - FIB route

C>* 1.1.1.0/24 is directly connected, lo
C>* 10.0.0.0/16 is directly connected, a1-eth0
C>* 127.0.0.0/8 is directly connected, lo

Here is the outputs for "route -n"
mininext> a1 route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
10.0.0.0        0.0.0.0         255.255.0.0     U     0      0        0
a1-eth0

I tried couple ways to add the static routes, but I still not be able to
get it right. Could you please take a look of my config file and point out
where is wrong? It could really save some potential hours for me, I really
appreciate the help!

Thanks again,

Qing











On Sun, Aug 21, 2016 at 8:46 AM, Hillary Cheserek <[email protected]>
wrote:

> Hi,
> Confirm loopback interface reachability first. Ping the other router
> loopback with the source of your current loopback. If succesful then bgp
> should esterblish without a problem. If not you will have to do some
> routing to ensure the loopbacks are reachable.
>
> Regards
> Hillary K. Cheserek Senior Network Engineer KENET
>
> ----- Original Message -----
> From: Qing Wang <[email protected]>
> To: quagga-users <[email protected]>, Qing Wang <
> [email protected]>
> Sent: Sun, 21 Aug 2016 08:48:09 +0300 (EAT)
> Subject: [quagga-users 14402] eBGP neighbor using loopback question
>
> Hi Group,
>
> I am a newbee that just using quagga for bgp research. Please forgive me if
> I am asking some dump question.
>
> I already did iBGP and eBGP neighbor connection, everything alright. I now
> try to extend to use loopback address to configure bgp neighbors. I can not
> get it success, the BGP status is "Active" but not "Established" for some
> reason.
>
> The topology is really simple as below, but I currently have no clue what I
> should modify to make it work.
>
> # BGP router in AS 100
> router bgp 100
>  neighbor 2.2.2.2 remote-as 200
>  neighbor 2.2.2.2 ebgp-multihop 3
>  neighbor 2.2.2.2 update-source 1.1.1.1
>
> # BGP router in AS 200
> router bgp 200
>  neighbor 1.1.1.1 remote-as 100
>  neighbor 1.1.1.1 ebgp-multihop 3
>  neighbor 1.1.1.1 update-source 2.2.2.2
>
> Any thoughts? I will really appreciate any help!!
>
> Qing
>
>
_______________________________________________
Quagga-users mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-users

Reply via email to