Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2003 17:13:31 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-net@freebsd.org
Subject:   problems adding interfaces with zebra
Message-ID:  <5.2.0.9.0.20030613171118.07821488@209.112.4.2>

next in thread | raw e-mail | index | archive | help

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



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