From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1H7enb-0005CD-S9 for garchives@archives.gentoo.org; Thu, 18 Jan 2007 21:27:56 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l0ILPjE7032589; Thu, 18 Jan 2007 21:25:45 GMT Received: from davey.spore.ath.cx (c-66-41-120-249.hsd1.mn.comcast.net [66.41.120.249]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l0ILJrMR014840 for ; Thu, 18 Jan 2007 21:19:54 GMT Received: from pascal.spore.ath.cx (pascal.spore.ath.cx [192.168.1.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by davey.spore.ath.cx (Postfix) with ESMTP id 575C8ED44D for ; Thu, 18 Jan 2007 15:19:53 -0600 (CST) Date: Thu, 18 Jan 2007 15:19:53 -0600 From: Dan Farrell To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Bridge interface doesn't set default gateway. Message-ID: <20070118151953.723cf2a4@pascal.spore.ath.cx> In-Reply-To: References: Organization: Spore, Ltd. X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.10.6; x86_64-pc-linux-gnu) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 72fc31c0-bcce-41ec-9c73-64f394bae572 X-Archives-Hash: 2478e18035a1d1c440b9ea134124a1c9 On Wed, 17 Jan 2007 18:57:54 +0100 "Huib van Wees" wrote: > Hi List, > > I don't know when this happend, I don't reboot my system very often. > Here is the issue. > > This Gentoo box has 5 ethernet interfaces. All together in bridge br0 > > But somehow the default gateway isn't set at boot time which is quiete > anoying, this worked before but I think the net startup script has > been updated and this is changed. > > Anyone any clues? > > This is how mijn /etc/conf.d/net looks like: > bridge_br0="eth0 eth1 eth2 eth3 eth4" > config_br0=( "172.30.0.4 broadcast 172.30.255.255 netmask > 255.255.0.0" ) gateway="br0/172.30.0.1" > from /etc/conf.d/net.example: #----------------------------------------------------------------------------- # Bridging (802.1d) # For bridging support emerge net-misc/bridge-utils # To add ports to bridge br0 #bridge_br0="eth0 eth1" # or dynamically add them when the interface comes up #bridge_add_eth0="br0" #bridge_add_eth1="br0" # You need to configure the ports to null values so dhcp does not get started #config_eth0=( "null" ) #config_eth1=( "null" ) # Finally give the bridge an address - dhcp or a static IP #config_br0=( "dhcp" ) # may not work when adding ports dynamically #config_br0=( "192.168.0.1/24" ) # If any of the ports require extra configuration - for example wireless or # ppp devices - we need to depend on them like so. #RC_NEED_br0="net.eth0 net.eth1" # Below is an example of configuring the bridge # Consult "man brctl" for more details #brctl_br0=( "setfd 0" "sethello 0" "stp off" ) #----------------------------------------------------------------------------- -- gentoo-user@gentoo.org mailing list