problems adding interfaces with zebra
Mike Tancsa
mike at sentex.net
Fri Jun 13 14:12:54 PDT 2003
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 at sentex.net
Providing Internet since 1994 www.sentex.net
Cambridge, Ontario Canada www.sentex.net/mike
More information about the freebsd-net
mailing list