From owner-freebsd-net@FreeBSD.ORG Fri Aug 26 12:06:05 2011 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 7AB791065688 for ; Fri, 26 Aug 2011 12:06:05 +0000 (UTC) (envelope-from zeus@relay.ibs.dn.ua) Received: from relay.ibs.dn.ua (relay.ibs.dn.ua [91.216.196.25]) by mx1.freebsd.org (Postfix) with ESMTP id E524D8FC13 for ; Fri, 26 Aug 2011 12:06:03 +0000 (UTC) Received: from relay.ibs.dn.ua (localhost [127.0.0.1]) by relay.ibs.dn.ua with ESMTP id p7QC61cU099557; Fri, 26 Aug 2011 15:06:01 +0300 (EEST) Received: (from zeus@localhost) by relay.ibs.dn.ua (8.14.4/8.14.4/Submit) id p7QC61Fm099556; Fri, 26 Aug 2011 15:06:01 +0300 (EEST) Date: Fri, 26 Aug 2011 15:06:01 +0300 From: Zeus V Panchenko To: freebsd-net@freebsd.org Message-ID: <20110826120601.GA18070@relay.ibs.dn.ua> Mail-Followup-To: freebsd-net@freebsd.org, freebsd-rc@freebsd.org References: <20101112070759.GA36248@relay.ibs.dn.ua> <20101112230000.GD22460@michelle.cdnetworks.com> <20110121125917.GA48950@relay.ibs.dn.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20110121125917.GA48950@relay.ibs.dn.ua> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.1-RELEASE X-Editor: GNU Emacs 23.2.1 X-Face: iVBORw0KGgoAAAANSUhEUgAAACoAAAAqBAMAAAA37dRoAAAAFVBMVEWjjoiZhHDWzcZuW1U wOT+RcGxziJxEN0lIAAABrklEQVQokV2STXLbMAyFQaraE3a5dzSTfR1IF7CQrM3QuECn9z9DH0 gxzgSyFvr88PBD0uJxoR6BE+e8LtRgohE5ZB50sODP/REbfUnte/z12+llCekLUSKenFIMke6Be WinE8H0RJHSN71rUQp64gFDmtDDhRk0zam3FzpNVFprhwPGaFo6oY9wDBJQ9Qz6EuKyROJjDGa+ uza4VOTa8iHlN58Yv5BF9+4BGl0LA5pUD5xKXg4aQlVZm0co3NKxCGxQpu3aC352Gv3DZONmwQd tkrlaylV3YSew7bWtwAZF/zi9jblmprPoL7ktzeFSxmarVNmWRi+Bmxg7Y7tbGtR8XZUxLTo86G thANsssetjp3POuBvMBRlw6jRa5pKN7yVlP+F2lyiZGSMf5hnSU6eAVupmtfjRcxy0momwpxDnz 06hwnOWvBnUdR8U2/KX7cq26u1Jy5xFZMPOVONRbRUrwey8Qar6cWgf12xSymQuVX0DfYd4R8kN Hg0qCtLeaYZcj8B90M2N0cEX1P0vKSxw7NLy/3X8Qeriusu66jNA37P4Mn5QRTG2hz4d9D/6E3a EX852nwAAAABJRU5ErkJggg== Cc: freebsd-rc@freebsd.org Subject: lagg(4) and alises X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: zeus@ibs.dn.ua List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2011 12:06:05 -0000 Hi, i need advice, please? while trying to set lagg(4) interface i faced some difficulty ... i need advice to optimize/correct the configuration ... mine current configuration is: igb2 igb3 | | igb0 +----------+---------+--------+ igb1 x.x.x.x ---+ FreeBSD 8.1-STABLE #4 amd64 +--- y.y.y.y/30 /29 +-------+---------+-----------+ | | em0 em1 | | switch00 -+- lagg0 -+- switch01 + + z.z.z.z/26 + + | | | | | +------ trunk 1 -----+ | +-------- trunk 2 -------+ /etc/rc.conf ... ifconfig_igb0="inet x.x.x.x/29 media autoselect" ifconfig_igb1="inet y.y.y.y/30 media autoselect" ifconfig_em0="UP" ifconfig_em1="UP" ifconfig_lagg0="laggproto lacp laggport em0 laggport em1" ipv4_addrs_lagg0="z.z.z.z/26" # only this forced it work, # ifconfig_lagg0 assigns # the address but it doesn't work ... now i need to set additional three ip addresses on lagg0 ... and everything i was trying was not working ... i was trying to add this to /etc/rc.conf: ifconfig_lagg0_alias0="inet 91.216.196.10/26" ifconfig_lagg0_alias1="inet 91.216.196.11/26" ifconfig_lagg0_alias2="inet 91.216.196.12/26" after reboot addresses are assigned but ifconfig lagg0 shows status: no carrier so, here is the question: how is it correct to set aliases on lagg(4) interface (aggregation protocol `lacp') in /etc/rc.conf file? -- Zeus V. Panchenko JID:zeus@gnu.org.ua GMT+2 (EET)