Date: Mon, 16 Apr 2007 13:14:53 -0700 From: "Michael K. Smith - Adhost" <mksmith@adhost.com> To: "Steven Stremciuc" <steve@freeslacker.net>, <freebsd-net@freebsd.org> Subject: RE: carp not setting interfaces Message-ID: <17838240D9A5544AAA5FF95F8D52031602018047@ad-exh01.adhost.lan> In-Reply-To: <4623C7C3.8080305@freeslacker.net> References: <4623C7C3.8080305@freeslacker.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Steven: Answer (not necessarily the correct one) below. > -----Original Message----- > From: owner-freebsd-net@freebsd.org [mailto:owner-freebsd- > net@freebsd.org] On Behalf Of Steven Stremciuc > Sent: Monday, April 16, 2007 12:00 PM > To: freebsd-net@freebsd.org > Subject: carp not setting interfaces >=20 > Hi, >=20 > 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. >=20 > Is there anything I can do to get more info on where the problem lies? > The machine is completely default except for enabling carp. >=20 > > 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 >=20 > > 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" Have you tried the following syntax? ifconfig_carp0=3D"inet 10.1.0.101 netmask 255.255.255.0 vhid 801 pass xxxxxx" Regards, Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17838240D9A5544AAA5FF95F8D52031602018047>