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 1RkIpB-0003uG-HS for garchives@archives.gentoo.org; Mon, 09 Jan 2012 17:15:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBFD021C15F; Mon, 9 Jan 2012 17:15:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7340B21C06E for ; Mon, 9 Jan 2012 17:14:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 064C91B4023 for ; Mon, 9 Jan 2012 17:14:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -3.835 X-Spam-Level: X-Spam-Status: No, score=-3.835 tagged_above=-999 required=5.5 tests=[AWL=0.377, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham 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 F1EQzJpkyOtW for ; Mon, 9 Jan 2012 17:14:15 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id A86DA1B4021 for ; Mon, 9 Jan 2012 17:14:14 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RkInU-00060A-RZ for gentoo-user@gentoo.org; Mon, 09 Jan 2012 18:14:12 +0100 Received: from rrcs-71-40-157-251.se.biz.rr.com ([71.40.157.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jan 2012 18:14:12 +0100 Received: from wireless by rrcs-71-40-157-251.se.biz.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jan 2012 18:14:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: James Subject: [gentoo-user] Re: Network configuration - Two ips one from dhcp & other static Date: Mon, 9 Jan 2012 17:14:02 +0000 (UTC) Message-ID: References: <4F07FAF9.4030607@nileshgr.com> <4F07FDE5.4050309@nileshgr.com> 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: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 71.40.157.251 (Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20111229 Firefox/9.0.1 SeaMonkey/2.6.1) X-Archives-Salt: f6ccfeed-d309-4089-b2c5-a6da9f7bed47 X-Archives-Hash: 442dfd84f657df264a4d2e958e170d9c Nilesh Govindarajan nileshgr.com> writes: > > Well, the title tells the question clearly; how do I configure network > > such that the first ip is obtained via dhcpcd and other is static? > > config_eth0="dhcp " doesn't work. Did you look at /etc/conf.d/net.example for hints? > > As a solution I wrote a dhcpcd hook containing /sbin/ifconfig eth0:0 > > netmask Maybe not launch your script for a few minutes (timing?) via crontab if nothing else works? James