From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ilkrd-00030T-4p for garchives@archives.gentoo.org; Sat, 27 Oct 2007 12:34:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l9RCWi5r021939; Sat, 27 Oct 2007 12:32:44 GMT Received: from mail.netspace.net.au (mail-out1.netspace.net.au [203.10.110.71]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l9RCSdV8017564 for ; Sat, 27 Oct 2007 12:28:40 GMT Received: from [172.16.0.52] (dsl-203-113-239-158.SA.netspace.net.au [203.113.239.158]) by mail.netspace.net.au (Postfix) with ESMTP id 8ABD54633A for ; Sat, 27 Oct 2007 22:28:37 +1000 (EST) Subject: Re: [gentoo-user] eth0 fallback configuration is ignored From: Iain Buchanan To: gentoo-user@lists.gentoo.org In-Reply-To: <1193485720.5963.5.camel@omc-2.omesc.com> References: <1193485720.5963.5.camel@omc-2.omesc.com> Content-Type: text/plain Date: Sat, 27 Oct 2007 21:58:11 +0930 Message-Id: <1193488091.13317.23.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: c633573c-51e0-4001-abe6-a6005952fa3a X-Archives-Hash: 43ffd086511f2d1216d17ca60e2eacba On Sat, 2007-10-27 at 13:48 +0200, Jules Colding wrote: > Hi, > > My "/etc/conf.d/net" says: > > config_eth0=( "dhcp" ) > fallback_eth0=( "192.168.3.3/24" ) > fallback_route_eth0=( "default via 192.168.3.1" ) > > > But dhcpcd is ignoring this. Instead it is using > "/var/lib/dhcpcd/dhcpcd-eth0.info" to set eth0. This looks like the '-E' > option is used, but where? How can I make my fallback configuration > effective? is it by any chance assigning you a 169... address? Did you recently upgrade dhcpcd to ... around ... 3.1.6 I think? Anyway, it now tries "zeroconf" or whatever it's called, to give you an address when there's no server around. Personally I don't like it, but you can decide :) If you read your elog messages you would have seen: "You have installed dhcpcd with zeroconf support. This means that it will always obtain an IP address even if no DHCP server can be contacted, which will break any existing failover support you may have configured in your net configuration. This behaviour can be controlled with the -L flag. See the dhcpcd man page for more details." get rid of the zeroconf use flag or use -L. HTH, -- Iain Buchanan In ancient China there is a legend that one day a child will be born from a dragon, grow to be a man, and vanquish evil from the land. That man is not Chuck Norris, because Chuck Norris killed that man. -- gentoo-user@gentoo.org mailing list