On 07:12 Thu 28 Sep     , Grant wrote:
> >> 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
> >> --
> >> [email protected] mailing list
> >
> >Grant,
> >    Can you ping the server? Set up the interface manually and then try.
> >Also, is the dhcp client connected directly to one of the interfaces on the
> >dhcp server? If that is the case you will need a cross over cable to do it
> >as opposed to a normal patch cable.
> 
> Ah, crossovers cables.  I guess I need to whip one of those up.  Do
> you think I can get away with just a box cutter when converting a
> patch cable if I'm careful?
> 
> Do the rest of my settings above look OK?
> 
> - Grant
> -- 
> [email protected] mailing list

Grant,
    I have never made a cross over cable before, probs best to look on google,
there is bound to be a guide somewhere.
As for you settings, I can't see anything wrong with them.
    Regards,
        Oliver Wilson 


-- 
[email protected] mailing list

Reply via email to