From: Oliver M A Wilson <o.m.a.wilson@sms.ed.ac.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Router 3rd and 4th net interface problem
Date: Thu, 28 Sep 2006 15:03:39 +0000 [thread overview]
Message-ID: <20060928150339.GA3498@durandal.marathon> (raw)
In-Reply-To: <49bf44f10609280712q20ba5764pd9b9af943063e90a@mail.gmail.com>
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
> >> --
> >> gentoo-user@gentoo.org 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
> --
> gentoo-user@gentoo.org 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
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-09-28 14:44 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-28 4:19 [gentoo-user] Router 3rd and 4th net interface problem Grant
2006-09-28 9:42 ` Oliver M A Wilson
2006-09-28 14:12 ` Grant
2006-09-28 14:32 ` Neil Bothwick
2006-09-28 15:03 ` Oliver M A Wilson [this message]
2006-09-29 2:18 ` Grant
2006-09-29 3:01 ` Boyd Stephen Smith Jr.
2006-09-28 14:06 ` [gentoo-user] " James
2006-09-28 14:47 ` [gentoo-user] " Mike Williams
2006-09-29 2:12 ` Grant
2006-09-29 2:23 ` Richard Fish
2006-09-29 2:43 ` Grant
2006-09-29 3:06 ` Boyd Stephen Smith Jr.
2006-09-29 7:38 ` Hans-Werner Hilse
2006-10-02 15:18 ` Grant
2006-10-02 15:31 ` Neil Bothwick
2006-10-02 15:42 ` Thomas T. Veldhouse
2006-10-02 15:50 ` darren kirby
2006-10-02 15:37 ` Thomas T. Veldhouse
2006-10-02 15:49 ` Boyd Stephen Smith Jr.
2006-10-02 16:16 ` Hans-Werner Hilse
2006-10-06 16:21 ` Grant
[not found] ` <4526DFB4.5060900@tarpman.homelinux.com>
2006-10-07 1:01 ` Grant
2006-10-06 20:54 ` [gentoo-user] " David Talkington
2006-09-28 18:12 ` [gentoo-user] " Richard Fish
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060928150339.GA3498@durandal.marathon \
--to=o.m.a.wilson@sms.ed.ac.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox