From owner-freebsd-net@FreeBSD.ORG Fri Jun 13 14:12:54 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E38137B404 for ; Fri, 13 Jun 2003 14:12:54 -0700 (PDT) Received: from pyroxene.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08F3343F75 for ; Fri, 13 Jun 2003 14:12:54 -0700 (PDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by pyroxene.sentex.ca (8.12.9/8.12.8) with ESMTP id h5DLCq8D092393 for ; Fri, 13 Jun 2003 17:12:52 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.2.0.9.0.20030613171118.07821488@209.112.4.2> X-Sender: mdtpop@209.112.4.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Fri, 13 Jun 2003 17:13:31 -0400 To: freebsd-net@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: By Sentex Communications (lava/20020517) Subject: problems adding interfaces with zebra X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 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, 13 Jun 2003 21:12:54 -0000 Lets say I have the following network of 4 machines A,B,C,D A1--------B1 (speaking OSPF) On 10.0.0.0/28 And I have C1--------D1 On 11.0.0.0/28 I want to setup it up so that all 4 now have a common physical interface on the new hub. I will then setup the 4 interfaces to be on the 12.0.0.0/8 network A1---------B1 | | +++++Hub++++ | | C1---------D1 So I ifconfig A2 (i.e. the second interface on A) to 12.0.0.1/8, no problem. The route, 12.0.0.0/8 gets installed into the local routing table, and gets redistributed via OSPF to the machine B1. Now, on B I do ifconfig B2 12.0.0.2 netmask 255.0.0.0 I get the error ifconfig: ioctl (SIOCAIFADDR): File exists Because the route is already installed locally as pointing to machine A via interface B1. (.i.e. I have redistribute connected enabled) Short of killing ospfd and zebra how do I get around this ? I tried the same in zebra (ip address 12.0.0.2/8, but I get the error, "File Exists" which means that the route exists I guess. ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike