[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: automatically configuring carp(4)
On Thu, Jun 04, 2009 at 04:59:37PM +1000, Ray Phillips wrote:
>> 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
> Could you expand on that a bit please? Would the kernel (?) try to
> configure carp before the physical interface?
Not the kernel, the /etc/rc.d/network script.
> Do you mean you have
> separate 802.1Q VLANs defined on your NetBSD machine's NIC and one (or
> more) of the NIC's IPs are in a carp(4) group?
Yes (so it's not the NIC's IPs but the IPs on the different vlan
> If so, could you post the
> contents of the /etc/ifconfig.* files you're using for reference?
Quite easy, something like:
vlan 574 vlanif wm0
inet 10.0.0.1 netmask 255.255.255.0
vhid 1 advskew 100 pass password 126.96.36.199 255.255.255.0
(188.8.131.52 being the public IP shared by the 2 boxes, and 10.0.0.1
the IP used for internal communication with the second member of the
Manuel Bouyer, LIP6, Universite Paris VI.
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |