carp and alias

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tobias Weisserth
Date: Friday, June 8, 2007 - 5:25 am

Hi everybody,

I read the carp(4) manpage, the carp FAQ entry and http:// 
www.countersiege.com/doc/pfsync-carp/ yet I still have some questions.

Let's say I have an OpenBSD host like this:

#/etc/hostname.xl0
inet 10.0.0.1 255.255.255.0 NONE
inet alias 10.0.0.2  255.255.255.0
inet alias 10.0.0.3  255.255.255.0
inet alias 10.0.0.4  255.255.255.0

This might be the external interface.

Now I want to have one carp interface with the address 10.0.0.250:

#/etc/hostname.carp0
inet 10.0.0.250 255.255.255.0 10.0.0.255 vhid 1 pass foo

Is it possible to let carp0 have the alias definitions like this?

#/etc/hostname.carp0
inet 10.0.0.250 255.255.255.0 10.0.0.255 vhid 1 pass foo
inet alias 10.0.0.2  255.255.255.0
inet alias 10.0.0.3  255.255.255.0
inet alias 10.0.0.4  255.255.255.0

and remove those from /etc/hostname.xl0?

regards,
Tobias W.


*****
"God is real, unless declared integer."
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
carp and alias, Tobias Weisserth, (Fri Jun 8, 5:25 am)
Re: carp and alias, Steven Surdock, (Fri Jun 8, 6:02 am)