From owner-freebsd-net@FreeBSD.ORG Wed Jul 16 10:59:37 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06C59B79 for ; Wed, 16 Jul 2014 10:59:37 +0000 (UTC) Received: from man.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id BEAB82A1C for ; Wed, 16 Jul 2014 10:59:36 +0000 (UTC) Received: from man.dat.pl (localhost [127.0.0.1]) by man.dat.pl (Postfix) with ESMTP id 133E0CEF678; Wed, 16 Jul 2014 12:52:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from man.dat.pl ([127.0.0.1]) by man.dat.pl (man.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id mSkidYV6v61o; Wed, 16 Jul 2014 12:52:01 +0200 (CEST) Message-ID: <53C65951.3070000@dat.pl> Date: Wed, 16 Jul 2014 12:52:01 +0200 From: Maciej Milewski MIME-Version: 1.0 To: Jean Paul Galea , freebsd-net@freebsd.org Subject: Re: problems with ifconfig alias via rc.conf References: <954bff7d9b34af15cff55470670ac70c@smtp.hushmail.com> In-Reply-To: <954bff7d9b34af15cff55470670ac70c@smtp.hushmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2014 10:59:37 -0000 On 16.07.2014 11:22, Jean Paul Galea wrote: > ifconfig_lagg0="laggproto failover laggport igb0 laggport igb1 > 94.247.171.197/32 netmask 255.255.255.240 broadcast 94.247.171.207" > #ifconfig_lagg0_alias0="inet 94.247.171.195 netmask 255.255.255.255" Double mask definition? You are trying to define 94.247.171.197 with mask 32 and then with mask 28. Remove the /32 from this line and use simple 94.247.171.197 netmask 255.255.255.240 broadcast 94.247.171.207 Alias is defined correctly. > ifconfig_lagg1="laggproto failover laggport igb2 laggport igb3 > 10.0.0.53/32 netmask 255.255.255.0" The same as above. Better use 10.0.0.53/24 or 10.0.0.53 netmask 255.255.255.0 -- Pozdrawiam, Maciej Milewski