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 1RGiop-0000es-2N for garchives@archives.gentoo.org; Thu, 20 Oct 2011 02:57:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D024B21C0F5; Thu, 20 Oct 2011 02:57:10 +0000 (UTC) Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 02E2F21C0C6 for ; Thu, 20 Oct 2011 02:56:17 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsGAOaMn07O+KWq/2dsb2JhbABEmhWOboEGgW4BAQQBOhwoCws0EhQlN4gAtieDMIQKYQSZNod2hEU X-IronPort-AV: E=Sophos;i="4.69,376,1315195200"; d="scan'208";a="143204881" Received: from 206-248-165-170.dsl.teksavvy.com (HELO waltdnes.org) ([206.248.165.170]) by ironport2-out.pppoe.ca with SMTP; 19 Oct 2011 22:56:16 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Wed, 19 Oct 2011 22:56:23 -0400 From: "Walter Dnes" Date: Wed, 19 Oct 2011 22:56:23 -0400 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: How to configure eth1:1 ? Message-ID: <20111020025623.GC22953@waltdnes.org> References: <4E9CA12C.5070801@binarywings.net> <4E9CA283.1060000@binarywings.net> 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: X-Archives-Hash: 73ecbcffc8c8ea309238dc699f2463d3 On Mon, Oct 17, 2011 at 10:19:32PM +0000, Grant Edwards wrote > My current configuration works: > > modules_eth0=( !plug ) > config_eth0=( "192.168.8.4/16" ) > routes_eth0=( "default via 192.168.0.254" ) > > modules_eth1=( !plug ) > config_eth1=( "10.0.0.1/8" "192.168.250.1/24" ) Reaching for straws here... did you update /etc/conf.d/net when switching over to openrc? Your config looks like the previous style, that has been deprecated. Mine, which has 2 addresses for eth0, is... config_eth0=" 192.168.123.249/29 broadcast 192.168.123.255 mtu 1454 169.254.1.3/16 broadcast 169.254.255.255" routes_eth0=" default via 192.168.123.254 metric 2 192.168.123.248/29 via 192.168.123.254 metric 0 169.254.0.0/16 via 169.254.1.3 metric 0" Note the opening quote in 'config_eth0="' and 'routes_eth0="', and the closing quote at the end of each stanza. There is one address per line. This is the new way of doing it. See /usr/share/doc/openrc-0.8.3-r1/net.example.bz2 for more details. Replace "0.8.3" with whatever version of openrc you're running. The overlapping routes are for handling dialup, on those rare occasions my broadband ISP is down. It allows me to connect to the net via dialup, while my TV tuner (169.254.1.3/16) and the local lan (192.168.123.248/29) stay connected. -- Walter Dnes