From owner-freebsd-net@FreeBSD.ORG Fri Feb 8 10:53:27 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5404616A418 for ; Fri, 8 Feb 2008 10:53:27 +0000 (UTC) (envelope-from jp@tns.cz) Received: from bns.tns.cz (bns.tns.cz [213.194.214.115]) by mx1.freebsd.org (Postfix) with ESMTP id 0ADB513C465 for ; Fri, 8 Feb 2008 10:53:26 +0000 (UTC) (envelope-from jp@tns.cz) Received: from bns.tns.cz (localhost [127.0.0.1]) by bns.tns.cz (Postfix) with ESMTP id 490C255E4EA; Fri, 8 Feb 2008 11:53:25 +0100 (CET) Received: from bonifac.tns.cz (bertik [192.168.144.14]) by bns.tns.cz with ESMTP id 4FB1KKK0014IPYQ5WBO; Fri, 8 Feb 2008 11:53:25 +0100 (CET) Received: by bonifac.tns.cz (Postfix, from userid 1001) id 93F1CF28C6; Fri, 8 Feb 2008 11:53:57 +0100 (CET) Date: Fri, 8 Feb 2008 11:53:57 +0100 From: Josef Pojsl To: Eygene Ryabinkin Message-ID: <20080208105357.GF1142@bonifac.tns.cz> References: <20080206144104.GL1122@bonifac.tns.cz> <20080207074944.GA56085@bonifac.tns.cz> <20080207141422.GG11393@diehard.n-r-g.com> <20080206144104.GL1122@bonifac.tns.cz> <20080207074944.GA56085@bonifac.tns.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-net@freebsd.org, farrokhi@FreeBSD.org, Claudio Jeker Subject: Re: ospf cost and route selection (openospfd) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2008 10:53:27 -0000 Hi Eygene, On Thu, Feb 07, 2008 at 07:57:47PM +0300, Eygene Ryabinkin wrote: > OK, the first patch version is ready. It compiles well and even > starts for the trivial configuration. I will try to test it for > other configurations, but you may test it as well: I will appreciate > it very much. > > One note: the provided patch if applied with the normal 'patch' > utility can fail to remove deleted patches from the 'files' directory. > The following files should not be present: > > files/patch-ospfctl_parser.c > files/patch-ospfctl_parser.h I did try the patch. Unfortunately, the deamon complains about sending packets over gre interfaces. I cannot see any OSPF traffic on them with tcpdump, and no routes get added. Look at what ospfd -dv says: startup if_del: interface gre31 if_del: interface gre30 orig_asext_lsa: 10.10.0.0/16 age 0 orig_asext_lsa: 10.20.0.0/16 age 0 orig_asext_lsa: 192.168.2.0/24 age 0 orig_rtr_lsa: area 0.0.0.0 orig_rtr_lsa: stub net, interface gre31 if_fsm: event UP resulted in action START and changing state for interface gre31 from DOWN to P2P orig_rtr_lsa: area 0.0.0.0 orig_rtr_lsa: stub net, interface gre31 orig_rtr_lsa: stub net, interface gre30 if_fsm: event UP resulted in action START and changing state for interface gre30 from DOWN to P2P send_packet: error sending packet on interface gre31: Invalid argument send_packet: error sending packet on interface gre30: Invalid argument spf_calc: area 0.0.0.0 calculated Thanks, -- Josef