I have a Gentoo router with eth0 connected to the WAN (DSL modem/router) and
ath0 connected to the LAN.  It works perfectly.

I've added two ethernet cards and I'm trying to connect from another machine
to one of the new cards (eth1 and eth2).  ifconfig shows the cards are
detected just fine, but dhcp always fails when trying to obtain an IP address.
I have the following /etc/conf.d/net:

config_eth0="192.168.1.2 netmask 255.255.255.0"
routes_eth0="default via 192.168.1.1"

config_ath0="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0"
mode_ath0="master"
essid_ath0="mynetwork"

config_eth1="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0"

config_eth2="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0"

and the following in /etc/dnsmasq.conf:

interface=ath0
interface=eth1
interface=eth2

I've started net.eth1 and net.eth2 (both are links to net.lo) and restarted
dnsmasq.  I thought it might be a problem with my iptables settings which
don't take the new interfaces into account, but stopping iptables doesn't seem
to help.

Can anyone help me out?

- Grant
--
gentoo-user@gentoo.org mailing list

Reply via email to