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 |