From owner-freebsd-net@FreeBSD.ORG Fri May 30 09:43:32 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 423261065672 for ; Fri, 30 May 2008 09:43:32 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from ape.monkeybrains.net (ape.monkeybrains.net [208.69.40.11]) by mx1.freebsd.org (Postfix) with ESMTP id 22A028FC1A for ; Fri, 30 May 2008 09:43:32 +0000 (UTC) (envelope-from crapsh@monkeybrains.net) Received: from monchichi.monkeybrains.net (adsl-75-63-18-111.dsl.pltn13.sbcglobal.net [75.63.18.111]) (authenticated bits=0) by ape.monkeybrains.net (8.14.1/8.14.1) with ESMTP id m4U9hVg3002359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 30 May 2008 02:43:31 -0700 (PDT) (envelope-from crapsh@monkeybrains.net) Message-ID: <483FCC95.5060401@monkeybrains.net> Date: Fri, 30 May 2008 02:44:53 -0700 From: Rudy User-Agent: Thunderbird 2.0.0.12 (X11/20080310) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on pita.monkeybrains.net X-Virus-Status: Clean Subject: carp and vlan at the same time? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2008 09:43:32 -0000 Dear NET, I have some questions! [1] vlan & carp I have 10.3.1.1/24 10.3.2.1/25 and a 10.3.3.129/25 as gateway IPs each in their own vlan. How do I get CARP working, or are people using another method to get failover working? [2] carp Is there a way to get around the requirement to already have an IP in the same network as the IP you want to put on a carp device? I don't think freevrrp required another IP... For example, this command fails: # ifconfig carp1 vhid 31 advbase 1 pass TEST 10.3.3.1/24 ifconfig: ioctl (SIOCAIFADDR): Can't assign requested address Unless I put a 10.3.3.2/24 IP on my em0, and then make the carp IP 10.3.3.1/32. [3] vlan Final questions: is there any documentation on the "ifconfig em0.99 create" syntax? Didn't find the dot notation in the man page. Also, how do you set that up in your rc.conf? cloned_interfaces="em0.99" # works.. clone is created ifconfig_em0.99="10.99.0.1/24" # doesn't work... /etc/rc.d/netif start em0.99 doesn't work... Thanks in advance, Rudy