problems adding interfaces with zebra

Vincent Jardin vjardin at wanadoo.fr
Sat Jun 14 03:46:56 PDT 2003


> 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 
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>



More information about the freebsd-net mailing list