From owner-freebsd-net@FreeBSD.ORG Thu Jun 19 10:46:18 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 9153D1065676 for ; Thu, 19 Jun 2008 10:46:18 +0000 (UTC) (envelope-from primeroz.lists@googlemail.com) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.239]) by mx1.freebsd.org (Postfix) with ESMTP id 03B828FC18 for ; Thu, 19 Jun 2008 10:46:17 +0000 (UTC) (envelope-from primeroz.lists@googlemail.com) Received: by hu-out-0506.google.com with SMTP id 34so8793001hue.8 for ; Thu, 19 Jun 2008 03:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=dlWM6gf050neU40HEigxTpEhtwzNs+/qYZR9miepez4=; b=U5DGx1G3Uj6ylGvq98txH/MnUwA0IRoX2wXOxgE6BpiWIjE8HPeux/8ywoOrdwz5pB rcItYhXFz5JFmVmwjx2mffwj7ANemM/+D+RUBKqLJdPK6Rurg+Ty+9cIpf0s6icyMFJF k/dnPgpXwm/zFK3CN/H4lPN9C1pbPKFQKF9WM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=lBSCXabqhDUNCgU7oc33ROvwI+Y4yiZVz1P8zRNcaCpHmdNkpPn2IqDyQLoaYLWv65 i4hDNlfR1fl68UuNRAbFfGmkhYMhFjD2cRF/hg/jh3aFtV8ydf30X0ZHIxNy1q4DE/z1 dyuGvfK0AfYUty1vWvTikMmZFeM4ljRJ6VSMM= Received: by 10.210.29.11 with SMTP id c11mr1681706ebc.119.1213871403097; Thu, 19 Jun 2008 03:30:03 -0700 (PDT) Received: by 10.210.22.20 with HTTP; Thu, 19 Jun 2008 03:30:02 -0700 (PDT) Message-ID: <55b8c6fe0806190330p225ec6d1g65f8424efeab9b41@mail.gmail.com> Date: Thu, 19 Jun 2008 11:30:02 +0100 From: "Primeroz lists" To: "Giulio Ferro" In-Reply-To: <485A28ED.9020103@zirakzigil.org> MIME-Version: 1.0 References: <4859877A.3020300@zirakzigil.org> <4859A3A1.6070105@pce-net.com> <485A28ED.9020103@zirakzigil.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org, Han Hwei Woo Subject: Re: Problems with vlan + carp + alias 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: Thu, 19 Jun 2008 10:46:18 -0000 Hi , I think you should setup ALL the carp address as alias/32 , like this: ifconfig_carp10="vhid 10 pass qweq 192.168.10.10 netmask 255.255.255.255 " ifconfig_carp10_alias0="192.168.10.11 netmask 255.255.255.255 " ... ifconfig_carp10_aliasN="192.168.10.N netmask 255.255.255.255" and then please verify your routing table for everythin on 192.168.10 netstat -rn | grep 192.168.10 What you should have is 192.168.10/24 ...... vlan10 192.168.10.10 .... carp10 ... 192.168.10.N .... carp10 this is because the NETWORK range should be routed always through the parent interface (vlan10 in this case) while all the carp addresses has to be threated as alias. if you check now probably you will find that the 192.168.10/24 is routed through your carp interface ... and that's wrong. Ciao Francesco On Thu, Jun 19, 2008 at 10:37 AM, Giulio Ferro wrote: > Han Hwei Woo wrote: > >> Hi Giulio, >> >> Since the IP's are on the same subnet, you should try using a netmask of >> 255.255.255.255 on the aliases. >> >> > Hi Han, > Sorry no, changing the mask to 255.255.255.255 of the aliases doesn't > change the situation. > Anyway exactly the same configuration works with non-vlan physical > interfaces. > > Note: I can ping the aliased addresses on the local machine; I can't ping > those addresses from > other machine on the same vlan. > > > Giulio. > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >