From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RFuvY-00013Y-Ip for garchives@archives.gentoo.org; Mon, 17 Oct 2011 21:40:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5052921C16D; Mon, 17 Oct 2011 21:40:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id F0BAC21C17B for ; Mon, 17 Oct 2011 21:38:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 76F921B4017 for ; Mon, 17 Oct 2011 21:38:20 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -4.019 X-Spam-Level: X-Spam-Status: No, score=-4.019 required=5.5 tests=[AWL=-0.227, BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.504, T_TO_NO_BRKTS_FREEMAIL=0.01] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id efrTyfSt2Xzc for ; Mon, 17 Oct 2011 21:38:14 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 8BB901B403C for ; Mon, 17 Oct 2011 21:38:13 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RFuss-0006SC-QB for gentoo-user@gentoo.org; Mon, 17 Oct 2011 23:38:10 +0200 Received: from dsl.comtrol.com ([64.122.56.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Oct 2011 23:38:10 +0200 Received: from grant.b.edwards by dsl.comtrol.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Oct 2011 23:38:10 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: How to configure eth1:1 ? Date: Mon, 17 Oct 2011 21:37:57 +0000 (UTC) Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dsl.comtrol.com User-Agent: slrn/pre0.9.9-102 (Linux) X-Archives-Salt: X-Archives-Hash: 5c7e2bdded6829b5a19378d6da6a2a79 On 2011-10-17, Grant Edwards wrote: > I'm trying to configure a second IP address for eth1 using the syntax > I found at > > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=2#doc_chap1 > > But, it doesn't work. > > Here's my /etc/init.d/net file: > > config_eth0="192.168.8.4/16" > routes_eth0="default via 192.168.0.254" > config_eth1=10.0.0.1/8" > 192.168.250.1/24" > > But, starting eth1 says: > > # /etc/init.d/net.eth1 start > * Bringing up interface eth1 > * Starting netplug on eth1 ... [ ok ] > * Backgrounding ... > * ERROR: net.eth1 failed to start > > Only eth1 is configured. eth1:1 isn't configured. I disabled netplug for both interfaces, and that got rid of the error message: # /etc/init.d/net.eth1 start * Bringing up interface eth1 * 10.0.0.1/8 ... [ ok ] * 192.168.250.1/24 ... [ ok ] Now I can ping addresses in the 192.168.250/24 subnet. However, I still don't see eth1:1 in netstat output the way that I do when I manually configure it. According TFM, eth1:1 should have been created for the second address. What gives? How do you see the second IP address that's configured for an interface if ifconfig won't show it to you? -- Grant Edwards grant.b.edwards Yow! I own seven-eighths of at all the artists in downtown gmail.com Burbank!