From owner-freebsd-net@FreeBSD.ORG Sat Jun 14 03:46:56 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 0BAAD37B401 for ; Sat, 14 Jun 2003 03:46:56 -0700 (PDT) Received: from mwinf0303.wanadoo.fr (smtp6.wanadoo.fr [193.252.22.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A6F043F93 for ; Sat, 14 Jun 2003 03:46:55 -0700 (PDT) (envelope-from vjardin@wanadoo.fr) Received: from venus.vincentjardin.net (AVelizy-102-1-3-63.w217-128.abo.wanadoo.fr [217.128.244.63]) by mwinf0303.wanadoo.fr (SMTP Server) with ESMTP id A7D7E5000840; Sat, 14 Jun 2003 12:46:53 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Vincent Jardin To: Mike Tancsa , freebsd-net@freebsd.org Date: Sat, 14 Jun 2003 12:47:40 +0200 User-Agent: KMail/1.4.3 References: <5.2.0.9.0.20030613171118.07821488@209.112.4.2> In-Reply-To: <5.2.0.9.0.20030613171118.07821488@209.112.4.2> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200306141247.40278.vjardin@wanadoo.fr> Subject: Re: 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: Sat, 14 Jun 2003 10:46:56 -0000 > 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 ? It is a FreeBSD's issue. It can be repeated without Zebra: route -n add 12.0.0.0 192.168.0.1 ifconfig fxp0 12.0.0.1 alias ifconfig: ioctl (SIOCAIFADDR): File exists Regards, Vincent PS: su-2.05b# route -n get 12.0.0.0 route to: 12.0.0.0 destination: 12.0.0.0 mask: 255.0.0.0 gateway: 192.168.0.1 interface: fxp0 flags: su-2.05b# route -n delete 12.0.0.0 delete net 12.0.0.0 su-2.05b# ifconfig fxp0 12.0.0.1 alias=20 su-2.05b# route -n get 12.0.0.0 route to: 12.0.0.0 destination: 12.0.0.0 mask: 255.0.0.0 interface: fxp0 flags: