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.60)
	(envelope-from <gentoo-user+bounces-52283-garchives=archives.gentoo.org@gentoo.org>)
	id 1GUQ0L-00074p-VN
	for garchives@archives.gentoo.org; Mon, 02 Oct 2006 15:46:54 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k92Fj8M2027994;
	Mon, 2 Oct 2006 15:45:08 GMT
Received: from alnrmhc12.comcast.net (alnrmhc12.comcast.net [206.18.177.52])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k92FbnnW003539
	for <gentoo-user@lists.gentoo.org>; Mon, 2 Oct 2006 15:37:50 GMT
Received: from fuggle.veldy.net (c-69-180-171-46.hsd1.mn.comcast.net[69.180.171.46])
          by comcast.net (alnrmhc12) with ESMTP
          id <20061002153749b1200er8ote>; Mon, 2 Oct 2006 15:37:49 +0000
Received: from [127.0.0.1] (gw.veldy.net [192.168.1.3])
	by fuggle.veldy.net (Postfix) with ESMTP id 8DF6317043
	for <gentoo-user@lists.gentoo.org>; Mon,  2 Oct 2006 10:37:48 -0500 (CDT)
Message-ID: <4521324B.6040103@veldy.net>
Date: Mon, 02 Oct 2006 10:37:47 -0500
From: "Thomas T. Veldhouse" <veldy@veldy.net>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Router 3rd and 4th net interface problem
References: <49bf44f10609272119u2cf7d235u34f682e7ff9318d0@mail.gmail.com>	 <7573e9640609281923y6dbad231qc9ee129f8c462779@mail.gmail.com>	 <49bf44f10609281943o2e802bfo853e391b5f95de9e@mail.gmail.com>	 <200609282206.22141.bss03@volumehost.net>	 <20060929093801.89212bae.hilse@web.de> <49bf44f10610020818y2f270ae0o293cfdd36f0b5871@mail.gmail.com>
In-Reply-To: <49bf44f10610020818y2f270ae0o293cfdd36f0b5871@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Archives-Salt: 1aa51392-63a2-4013-9653-335e4506060d
X-Archives-Hash: b1aab71a58d6155076f9eb036d11f455

Grant wrote:
>> > > I'm pretty confused.  I'm trying to get the system in question to
>> > > behave like a solid-state router that you can plug an ethernet jack
>> > > into and be on the network.  How should eth1 and eth2 be configured
>> > > in /etc/conf.d/net ?
>> >
>> > They should be configured as part of a bridge device (see the
>> > bridging section of /etc/conf.d/net.example) and have the address
>> > assigned (and DHCPD listing on) that bridge device.
>>
>> Except that this doesn't work on WLAN (MAC layer done by the WLAN
>> adapter). But probably "proxy_arp" can help here. And subnet
>> separation, of course. Just extending the netmask a bit and enabling
>> proxy_arp would do the job. OTOH, it's also easy to configure the
>> routes to the other subnets via DHCP. Just a matter of taste. In any
>> case, it only works on IP layer.
>
> Sounds like I'm getting in over my head.  I think it would be smarter
> for me to buy a $15 switch from NewEgg instead of trying to configure
> my Gentoo router to use its extra NICs this way.  Is there any reason
> I wouldn't want to do that?
Use a switch.  Using multiple interfaces to act as a switch is a waste 
of a good interface.  Interfaces are better used to isolate networks 
from each other.  I have one for my WAN, one for my LAN and one for my 
WIFI LAN.   The latter is a very restricted area in case somebody hacks 
the WPA encryption on my WIFI, they still won't have real access to 
anything important.

Each interface should have its own network, except in rare cases where 
bridging is desired.


Tom Veldhouse


-- 
gentoo-user@gentoo.org mailing list