Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to setup multiple carp vip's without creating a separate hostname.if file for each address?

Our colo has provided us with a /25 external network. Three addresses from this range are required for the colo gateway and my redundant firewalls. I would like the rest of the addresses to be vip's shared by the firewalls.

I can easily create a script to help write the 123 hostname.if files... It just seems like there should be a better way to summarize this info.

Would it be better to ask the colo to route all my traffic to one vip? I am not sure if they will do this.

share|improve this question
So you want 123 IP address on a carp interface, right? – cstamas Feb 23 '12 at 9:34
If possible yes. Either that or it seems that I need 123 carp interfaces. I have read that I can use aliases for this. I am not sure if there is a downside to this. – user111499 Feb 23 '12 at 23:15
up vote 0 down vote accepted

Yes, aliases seems the proper way to go.

Like this:

 (the first line as it used to be, then)
 inet alias
 inet alias
 inet alias
 inet alias
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.