Multiple Interfaces with the same IP
Michael Bretterklieber
mbretter at inode.at
Sun May 8 10:22:45 PDT 2005
Hi,
Max Laier wrote:
> On Sunday 08 May 2005 18:54, Michael Bretterklieber wrote:
>
>>it looks like that under 5-stable it's allowed to have different
>>interfaces with the same IP, bug or feature?
>
>
> Feature and required for CARP to function. You need to change your routeing
ok, this make sense.
> table to make sure the right one is used for outgoing traffic (or you just
> don't set the same IP on more than one interface).
>
sure, but in my case the Iface is configured with Mpd. I'm trying to
catch that case, where a user with a static-IP (provided by the RADIUS
server) was logged in twice. I tried to catch the return value from
ifconfig, but since it's allowed to have multiple ifaces with the same
ip, ifconfig succeeds.
... so, it looks like I have to find another way :-(
thanx,
bye,
Michael
More information about the freebsd-net
mailing list