carp not setting interfaces
Max Laier
max at love2party.net
Mon Apr 16 21:05:18 UTC 2007
On Monday 16 April 2007 21:00, Steven Stremciuc wrote:
> Hi,
>
> I have a 6.2-RELEASE-p3 machine (supermicro 6010h) on which carp is not
> working correctly. I have been using carp on other freebsd and openbsd
> machines without a problem, so I am not sure what is going wrong on
> this specific machine. The carp interfaces are created but there is no
> address assigned to them, and no information given about what went
> wrong.
>
> Is there anything I can do to get more info on where the problem lies?
> The machine is completely default except for enabling carp.
>
> > ifconfig
>
> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> options=8<VLAN_MTU>
> inet 10.1.0.201 netmask 0xffffff00 broadcast 10.1.0.255
> ether 00:30:48:11:64:85
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
> fxp1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
> options=8<VLAN_MTU>
> ether 00:30:48:11:6f:68
> media: Ethernet autoselect (none)
> status: no carrier
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
> inet6 ::1 prefixlen 128
> inet 127.0.0.1 netmask 0xff000000
> carp0: flags=9<UP,LOOPBACK> mtu 1500
> carp1: flags=9<UP,LOOPBACK> mtu 1500
>
> > cat /etc/rc.conf
>
> # -- sysinstall generated deltas -- # Sat Apr 14 13:20:02 2007
> # Created: Sat Apr 14 13:20:02 2007
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> defaultrouter="10.1.0.1"
> hostname="xxx.com"
> cloned_interfaces="carp0 carp1"
> ifconfig_fxp0="inet 10.1.0.201 netmask 255.255.255.0"
> ifconfig_carp0="vhid 801 pass xxxxxxxx 10.1.0.101/24"
> ifconfig_carp1="vhid 802 advskew 100 pass xxxxxxxx 10.1.0.102/24"
> inetd_enable="NO"
> keyrate="fast"
> moused_enable="NO"
> moused_type="NO"
> sshd_enable="YES"
> usbd_enable="YES"
> ntpd_enable="YES"
>
> > sysctl net.inet.carp
>
> net.inet.carp.allow: 1
> net.inet.carp.preempt: 1
> net.inet.carp.log: 1
> net.inet.carp.arpbalance: 0
> net.inet.carp.suppress_preempt: 0
>
> I would really appreciate any ideas.
You didn't say, can you configure the carp interfaces by manual ifconfig?
That would indicate a problem in the netstart/rc.d part. Maybe
mergemaster again?
--
/"\ Best regards, | mlaier at freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier at EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20070416/d4439bd4/attachment.pgp
More information about the freebsd-net
mailing list