On Thu, Feb 4, 2010 at 10:38 PM, Justin Alonzo <
justin.alonzo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> I have 3 ISP connections and I am running quagga bgp with them. 2 of them
> are ethernet connections and are working great.
>
> The third is a T3 connected to a Sangoma a301.
>
> Linux xo 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:39:04 EST 2010 i686 athlon
> i386 GNU/Linux
> quagga-devel-0.98.6-5.el5
> quagga-0.98.6-5.el5
> quagga-contrib-0.98.6-5.el5
> [root <at> xo quagga]# cat zebra.conf
> hostname ???
> password ???
> enable password ???
> !
> ip route
0.0.0.0/0 65.46.252.165
> ip route
209.31.22.8/29 10.10.10.2
> ip route
209.31.22.24/29 10.10.10.1
> ip route
209.31.22.32/27 209.31.22.3
> ip route
66.240.53.0/24 10.10.10.2
> !
> log file /var/log/quagga/zebra.log
> [root <at> xo quagga]# cat bgpd.conf
> ! -*- bgp -*-
> ! $Id: bgpd.conf.sample,v 1.1.1.1 2002/12/13 20:15:29 paul Exp $
> !
> !
> hostname???
> password ???
> enable password ????
> !
> !
> router bgp ????
> bgp router-id ????
> no synchronization
> bgp log-neighbor-changes
> bgp dampening
> network 66.240.53.0 mask 255.255.255.0
> network 209.31.22.0 mask 255.255.254.0
> neighbor XO peer-group
> neighbor XO remote-as 2828
> neighbor XO description ** XO **
> neighbor XO send-community
> neighbor XO soft-reconfiguration inbound
> neighbor XO prefix-list frys-cidr out
> neighbor XO route-map XO-out out
> neighbor 65.46.252.165 peer-group XO
> neighbor 10.10.10.1 remote-as 27291
> neighbor 10.10.10.1 next-hop-self
> neighbor 10.10.10.1 description CRUZ-IO ROUTER
> neighbor 10.10.10.2 remote-as 27291
> neighbor 10.10.10.2 next-hop-self
> neighbor 10.10.10.2 description COMCAST ROUTER
> !
> !
> ip as-path access-list 10 permit ^$
> ip as-path access-list 11 permit _6451[2-9]_
> ip as-path access-list 11 permit _645[2-9][0-9]_
> ip as-path access-list 11 permit _64[6-9][0-9][0-9]_
> ip as-path access-list 11 permit _65[0-9][0-9][0-9]_
> !
> !
> ip prefix-list default-only seq 5 permit
0.0.0.0/0
> !
> ip prefix-list frys-cidr seq 15 permit
66.240.53.0/24
> ip prefix-list frys-cidr seq 20 permit
209.31.22.0/23
> ip prefix-list frys-cidr seq 25 permit
209.172.99.96/27
> !
> ip prefix-list martians seq 5 permit
0.0.0.0/0 ge 25
> ip prefix-list martians seq 10 permit
10.0.0.0/8 le 32
> ip prefix-list martians seq 15 permit
127.0.0.0/8 le 32
> ip prefix-list martians seq 20 permit
128.0.0.0/16 le 32
> ip prefix-list martians seq 25 permit
169.254.0.0/16 le 32
> ip prefix-list martians seq 30 permit
172.16.0.0/12 le 32
> ip prefix-list martians seq 35 permit
191.255.0.0/16 le 32
> ip prefix-list martians seq 40 permit
192.0.0.0/24 le 32
> ip prefix-list martians seq 45 permit
192.0.2.0/24 le 32
> ip prefix-list martians seq 50 permit
192.168.0.0/16 le 32
> ip prefix-list martians seq 55 permit
224.0.0.0/4 le 32
> !
> route-map XO-out permit 10
> set community 1079181352
> !
> route-map transit-in deny 100
> match as-path 11
> !
> route-map transit-in deny 200
> match ip address prefix-list martians
> !
> route-map transit-in permit 300
> !
> route-map XO-in permit 10
> set local-preference 90
> !
> !
> log file /var/log/quagga/bgpd.log
> !
> log stdout
> [root <at> xo quagga]# cat zebra.conf
> hostname xo
> password zebra
> enable password zebra
> !
> ip route
0.0.0.0/0 65.46.252.165
> ip route
209.31.22.8/29 10.10.10.2
> ip route
209.31.22.24/29 10.10.10.1
> ip route
209.31.22.32/27 209.31.22.3
> ip route
66.240.53.0/24 10.10.10.2
> !
> log file /var/log/quagga/zebra.log
> xo# show ip bgp summary
> BGP router identifier 65.46.252.166, local AS number 27291
> 3 BGP AS-PATH entries
> 0 BGP community entries
> Dampening enabled.
> Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down
> State/PfxRcd
> 10.10.10.1 4 27291 30 48 0 0 0 00:26:43 4
> 10.10.10.2 4 27291 32 32 0 0 0 00:28:21 4
> 65.46.252.165 4 2828 0 0 0 0 0 never Connect
> Total number of neighbors 3
> It never connects, the provider never sees the any requests but the
> communication and pinging between the 2 routers is fine.
>
> Anyone have an Idea why it wont connect, why quagga bgp will not use the
> sangoma connection?
>
> --
> Thank You
>
> Justin Alonzo
>