Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] WAN->laptop1->router->laptop2 : no laptop1<->router communication
Date: Fri, 13 Mar 2009 21:30:46
Message-Id: 49bf44f10903131430v79f71175k90c8d0cd3d48cbb8@mail.gmail.com
My laptop is connected to a distant wireless signal with a strong
antenna and I'd like to create a local wireless LAN using the distant
wireless signal as the WAN.  The layout would look something like
this:

WAN->(wireless)->laptop1->(ethernet)->router->(wireless)->laptop2

My travel router is wireless, has a LAN port, and can operate in
Router, Client, or AP mode.  I think AP mode is what I want.  laptop2
can ping the router, but it can't ping laptop1.  laptop1 can't ping
the router.  I don't know what my communication problem is between the
router and laptop1.  Here is my eth0 config for laptop1:

config_eth0=( "192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255" )

The travel router is in AP mode and configured like this:

IP: 192.168.0.30
Subnet Mask: 255.255.255.0
Gateway: 192.168.0.1

I have dnsmasq and shorewall on laptop1 for DNS and NAT, but I can't
use those until I get laptop1 talking to the router.  Does anyone see
what I'm doing wrong?

- Grant

Replies

Subject Author
[gentoo-user] Re: WAN->laptop1->router->laptop2 : no laptop1<->router communication Grant <emailgrant@×××××.com>
Re: [gentoo-user] WAN->laptop1->router->laptop2 : no laptop1<->router communication Florian Philipp <lists@××××××××××××××××××.net>