1 |
I have a Gentoo router with eth0 connected to the WAN (DSL modem/router) and |
2 |
ath0 connected to the LAN. It works perfectly. |
3 |
|
4 |
I've added two ethernet cards and I'm trying to connect from another machine |
5 |
to one of the new cards (eth1 and eth2). ifconfig shows the cards are |
6 |
detected just fine, but dhcp always fails when trying to obtain an IP address. |
7 |
I have the following /etc/conf.d/net: |
8 |
|
9 |
config_eth0="192.168.1.2 netmask 255.255.255.0" |
10 |
routes_eth0="default via 192.168.1.1" |
11 |
|
12 |
config_ath0="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0" |
13 |
mode_ath0="master" |
14 |
essid_ath0="mynetwork" |
15 |
|
16 |
config_eth1="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0" |
17 |
|
18 |
config_eth2="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0" |
19 |
|
20 |
and the following in /etc/dnsmasq.conf: |
21 |
|
22 |
interface=ath0 |
23 |
interface=eth1 |
24 |
interface=eth2 |
25 |
|
26 |
I've started net.eth1 and net.eth2 (both are links to net.lo) and restarted |
27 |
dnsmasq. I thought it might be a problem with my iptables settings which |
28 |
don't take the new interfaces into account, but stopping iptables doesn't seem |
29 |
to help. |
30 |
|
31 |
Can anyone help me out? |
32 |
|
33 |
- Grant |
34 |
-- |
35 |
gentoo-user@g.o mailing list |