OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Problem with carp interface

From: Marco Pfatschbacher (mpfmailq.de)
Date: Tue Nov 02 2004 - 05:10:49 CST


On Tue, Nov 02, 2004 at 11:25:42AM +0100, Sergej Pioch wrote:
>
> ifconfig carp1 create
> ifconfig carp1 vhid 2 pass <anypwd> XXX.XXX.1.134 255.255.255.0
> XXX.XXX.1.255

Hi,

use the 'netmask' keyword:

# ifconfig carp1 vhid 2 pass <anypwd> XXX.XXX.1.134 netmask 255.255.255.0

If there's no route for a network you configure, ifconfig adds it for you.
Therefore you had an entry XXX.XXX/16 routed over carp1, which does not work.

P.S.: Greetings to Willibald, in case you know him ;)