NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: automatically configuring carp(4)



On Tue, Jun 02, 2009 at 10:04:45AM +1000, Ray Phillips wrote:
> What's the recommended way of configuring carp(4) so it will be  
> configured each time a machine starts?  Is it putting the 'ifconfig  
> carp0 create' command, etc. in /etc/rc.local, or perhaps creating a  
> /etc/ifconfig.carp0 file and adding a
>
> net_interfaces="carp0"
>
> line to /etc/rc.conf ?

just adding a /etc/ifconfig.carp0 should do it.
But if you're running carp on vlan (like a do) you can't use auto_ifconfig
because it's going to do it in the wrong order. The solution is to set
auto_ifconfig=NO and list all interfaces in net_interfaces

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           
Manuel.Bouyer%lip6.fr@localhost
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index