* [gentoo-user] WAN->laptop1->router->laptop2 : no laptop1<->router communication
@ 2009-03-13 21:30 Grant
2009-03-14 19:50 ` [gentoo-user] " Grant
2009-03-14 22:13 ` [gentoo-user] " Florian Philipp
0 siblings, 2 replies; 4+ messages in thread
From: Grant @ 2009-03-13 21:30 UTC (permalink / raw
To: Gentoo mailing list
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-user] Re: WAN->laptop1->router->laptop2 : no laptop1<->router communication
2009-03-13 21:30 [gentoo-user] WAN->laptop1->router->laptop2 : no laptop1<->router communication Grant
@ 2009-03-14 19:50 ` Grant
2009-03-14 22:13 ` [gentoo-user] " Florian Philipp
1 sibling, 0 replies; 4+ messages in thread
From: Grant @ 2009-03-14 19:50 UTC (permalink / raw
To: Gentoo mailing list
> 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
Can anyone tell me if this config looks OK or if I'm making an obvious mistake?
- Grant
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] WAN->laptop1->router->laptop2 : no laptop1<->router communication
2009-03-13 21:30 [gentoo-user] WAN->laptop1->router->laptop2 : no laptop1<->router communication Grant
2009-03-14 19:50 ` [gentoo-user] " Grant
@ 2009-03-14 22:13 ` Florian Philipp
2009-03-15 5:19 ` Grant
1 sibling, 1 reply; 4+ messages in thread
From: Florian Philipp @ 2009-03-14 22:13 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]
Grant schrieb:
> 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
>
Is it possible that you need different subnets for your AP's wired and
wireless connection?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] WAN->laptop1->router->laptop2 : no laptop1<->router communication
2009-03-14 22:13 ` [gentoo-user] " Florian Philipp
@ 2009-03-15 5:19 ` Grant
0 siblings, 0 replies; 4+ messages in thread
From: Grant @ 2009-03-15 5:19 UTC (permalink / raw
To: gentoo-user
>> 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
>>
>
> Is it possible that you need different subnets for your AP's wired and
> wireless connection?
I tried with the WAN on ppp0 instead of wlan0 and it worked!
The only iffy thing is I manually specify the eth0 gateway IP to match
the gateway IP for ppp0 which was DHCPed by wvdial. Is there a way to
make that more dynamic so I don't have to match the eth0 gateway IP
and the DHCPed ppp0 gateway IP?
Here are my configs:
laptop1 eth0 (managed by wicd)
IP: 192.168.0.1
Netmask: 255.255.255.0
Gateway: the.ppp0.gateway.ip
DNS: the.ppp0.gateway.ip
router/AP device
IP: 192.168.0.30
Netmask: 255.255.255.0
Gateway: 192.168.0.1
laptop2 wlan0 (managed by wicd)
IP: 192.168.0.31
Netmask: 255.255.255.0
Gateway: 192.168.0.1
DNS: 192.168.0.1
As Dan mentioned in the previous thread, should I be able to use a
wireless network interface instead of the router/AP device?
- Grant
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-03-15 5:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-13 21:30 [gentoo-user] WAN->laptop1->router->laptop2 : no laptop1<->router communication Grant
2009-03-14 19:50 ` [gentoo-user] " Grant
2009-03-14 22:13 ` [gentoo-user] " Florian Philipp
2009-03-15 5:19 ` Grant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox