From owner-freebsd-stable@FreeBSD.ORG Tue May 25 12:56:23 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D4A31065677 for ; Tue, 25 May 2010 12:56:23 +0000 (UTC) (envelope-from nickolasbug@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0DD3F8FC25 for ; Tue, 25 May 2010 12:56:22 +0000 (UTC) Received: by wyj26 with SMTP id 26so197228wyj.13 for ; Tue, 25 May 2010 05:56:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=KOhq7DjOUPJEgGCaiqBxB7GKtbgOyi0ZBmjcDjiqFM0=; b=m2v7u6C5e7wt5noiY3Yi3/WRJKcoPaT+IwGLDKq4iVCeHZ+6PtD4c9Pb5BwSDlN220 QY0UgNX7RV52YnJfOvNX5W1jmnGV4/sosH16PUSXQ5oSO57P6Un71Il3XiIYcO3obxee yFVXci3CcHCV5ajuO53NSpUrz3zIekKvs6iEE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Z5R5ytOAcunfM/+1fJs2dxr9bCic2dfkJ2Cnautdq9LWwo5u6BOz6FwK6mQhlSsdQB Eb9NzqQ6ag8BfKZXDzqIFx7DVnVHVwyo81kC983qVOjLmjx4u23HCq1BDZ5lrC4cMxMV 9IRIbwpcXnGu/XbipTZ1xCqbIhxw5yjlwu/fw= MIME-Version: 1.0 Received: by 10.216.91.15 with SMTP id g15mr4629207wef.15.1274792181653; Tue, 25 May 2010 05:56:21 -0700 (PDT) Received: by 10.216.48.11 with HTTP; Tue, 25 May 2010 05:56:21 -0700 (PDT) In-Reply-To: References: Date: Tue, 25 May 2010 15:56:21 +0300 Message-ID: From: nickolasbug@gmail.com To: =?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: openbgpd / openospf / carp / vlan (on 7.2) trouble X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2010 12:56:23 -0000 Hi Bj=F8rn! I also have had troubles with openbdpd few years ago. All troubles vanished after installing quagga instead of openbgpd. Well, maybe it's not great solution, but it's workaround. wbr. 2010/5/25 Ask Bj=F8rn Hansen : > Hi, > > Since upgrading from openbgpd 4.5 to 4.7 (tried 4.6, too with bad results= ) openbgpd doesn't work on my vlan interface. =A0I have two routers (10.0.1= 00.2 and .3). =A0That network is on vlan2; with carp2 running .1. > > Running .3 on 4.6 or 4.7 makes it immediately lose it's route to the 100.= 0/24 network when bgpd starts. =A0bgpd is announcing 10.0.100.0/24 (and und= erstands that it's a locally routed network, according to bgpctl show ip bg= p, see below). > > ... but somehow the routing able gets changed to have that network routed= to 10.0.100.2 (the other router, running 4.5) instead of 0.0.0.0/vlan2. = =A0I can't even ping 10.0.100.3 (the vlan2 IP) from the box itself. =A0If I= ping that IP from a box on a different network it works. > > Also, I can restore the route with > > route del -net 10.0.100.0/24 10.0.100.2 > route add -net 10.0.100.0/24 -interface vlan2 > > ... but as soon as bgpd reconnects it will mess it up again. > > Any ideas? =A0Am I doing it wrong? =A0I understand that bgpd is exchangin= g the routes; but until v4.5 it'd keep the local interface as a preference.= =A0What's the proper forum to for the FreeBSD openbgpd port? =A0 I can't e= ven find a changelog for the different versions... > > For what it's worth - on a non-vlan, non-carp interface in another otherw= ise similar setup it's working ok with 4.6 and 4.7. > > > =A0- ask > > gw-b.dev# bgpctl show ip bgp > flags: * =3D Valid, > =3D Selected, I =3D via IBGP, A =3D Announced > origin: i =3D IGP, e =3D EGP, ? =3D Incomplete > > flags destination =A0 =A0 =A0 =A0 =A0gateway =A0 =A0 =A0 =A0 =A0lpref =A0= med aspath origin > AI*> =A010.0.100.0/24 =A0 =A0 =A0 =A00.0.0.0 =A0 =A0 =A0 =A0 =A0 =A0100 = =A0 =A0 0 i > *> =A0 =A010.0.201.0/24 =A0 =A0 =A0 =A010.77.80.6 =A0 =A0 =A0 =A0 100 =A0= =A030 64701 i > > > gw-b.dev# netstat -rn | grep 10.0.100 > 10.0.100.0/24 =A0 =A0 =A010.0.100.2 =A0 =A0 =A0 =A0 UGC =A0 =A0 =A0 =A0 5= =A0 =A0 =A0186 =A0vlan2 > 10.0.100.1 =A0 =A0 =A0 =A0 10.0.100.2 =A0 =A0 =A0 =A0 UGHW3 =A0 =A0 =A0 0= =A0 =A0 =A0 =A03 =A0vlan2 =A0 3053 > 10.0.100.3 =A0 =A0 =A0 =A0 10.0.100.2 =A0 =A0 =A0 =A0 UGHW3 =A0 =A0 =A0 0= =A0 =A0 =A0 =A01 =A0vlan2 =A0 3522 > 10.0.100.13 =A0 =A0 =A0 =A010.0.100.2 =A0 =A0 =A0 =A0 UGHW3 =A0 =A0 =A0 0= =A0 =A0 =A0 34 =A0vlan2 =A0 3599 > 10.0.100.103 =A0 =A0 =A0 10.0.100.2 =A0 =A0 =A0 =A0 UGHW3 =A0 =A0 =A0 0 = =A0 =A0 =A0 32 =A0vlan2 =A0 3583 > 10.0.100.104 =A0 =A0 =A0 10.0.100.2 =A0 =A0 =A0 =A0 UGHW3 =A0 =A0 =A0 0 = =A0 =A0 =A0 =A04 =A0vlan2 =A0 3565 > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >