Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 12:47:40 +0200
From:      Vincent Jardin <vjardin@wanadoo.fr>
To:        Mike Tancsa <mike@sentex.net>, freebsd-net@freebsd.org
Subject:   Re: problems adding interfaces with zebra
Message-ID:  <200306141247.40278.vjardin@wanadoo.fr>
In-Reply-To: <5.2.0.9.0.20030613171118.07821488@209.112.4.2>
References:  <5.2.0.9.0.20030613171118.07821488@209.112.4.2>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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: <UP,GATEWAY,DONE,STATIC,PRCLONING>
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: <UP,DONE,CLONING>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306141247.40278.vjardin>