Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Router 3rd and 4th net interface problem
Date: Thu, 28 Sep 2006 18:19:30
Message-Id: 7573e9640609281112n60abf368u98b9282e62ee8658@mail.gmail.com
In Reply to: [gentoo-user] Router 3rd and 4th net interface problem by Grant
1 On 9/27/06, Grant <emailgrant@×××××.com> wrote:
2 > I have a Gentoo router with eth0 connected to the WAN (DSL modem/router) and
3 > ath0 connected to the LAN. It works perfectly.
4 >
5 > I've added two ethernet cards and I'm trying to connect from another machine
6 > to one of the new cards (eth1 and eth2). ifconfig shows the cards are
7 > detected just fine, but dhcp always fails when trying to obtain an IP address.
8 > I have the following /etc/conf.d/net:
9 >
10 > config_eth0="192.168.1.2 netmask 255.255.255.0"
11 > routes_eth0="default via 192.168.1.1"
12
13 Take another look at net.example. These should be:
14
15 config_eth0=( "192.168.1.2 netmask 255.255.255.0" )
16 routes_eth0=( "default via 192.168.1.1" )
17
18 ditto for the other config_ lines.
19
20 -Richard
21 --
22 gentoo-user@g.o mailing list