Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2007 23:04:56 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-net@freebsd.org
Cc:        Steven Stremciuc <steve@freeslacker.net>
Subject:   Re: carp not setting interfaces
Message-ID:  <200704162305.11182.max@love2party.net>
In-Reply-To: <4623C7C3.8080305@freeslacker.net>
References:  <4623C7C3.8080305@freeslacker.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart5605183.8r61neipGO
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         options=3D8<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=3D8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
>         options=3D8<VLAN_MTU>
>         ether 00:30:48:11:6f:68
>         media: Ethernet autoselect (none)
>         status: no carrier
> lo0: flags=3D8049<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=3D9<UP,LOOPBACK> mtu 1500
> carp1: flags=3D9<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=3D"10.1.0.1"
> hostname=3D"xxx.com"
> cloned_interfaces=3D"carp0 carp1"
> ifconfig_fxp0=3D"inet 10.1.0.201  netmask 255.255.255.0"
> ifconfig_carp0=3D"vhid 801 pass xxxxxxxx 10.1.0.101/24"
> ifconfig_carp1=3D"vhid 802 advskew 100 pass xxxxxxxx 10.1.0.102/24"
> inetd_enable=3D"NO"
> keyrate=3D"fast"
> moused_enable=3D"NO"
> moused_type=3D"NO"
> sshd_enable=3D"YES"
> usbd_enable=3D"YES"
> ntpd_enable=3D"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? =
=20
That would indicate a problem in the netstart/rc.d part.  Maybe=20
mergemaster again?

=2D-=20
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

--nextPart5605183.8r61neipGO
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQBGI+UHXyyEoT62BG0RAh63AJ41LQnlpddLtfrk1I3vOQUmL041+ACeKNuG
oBbSL4Ffg0d8gQfEaQaXru4=
=mqt1
-----END PGP SIGNATURE-----

--nextPart5605183.8r61neipGO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704162305.11182.max>