Networking Forums

Networking Forums > Computer Networking > Linux Networking > Connecting a laptop via wireless

Reply
Thread Tools Display Modes

Connecting a laptop via wireless

 
 
Harold Weissman
Guest
Posts: n/a

 
      10-11-2008, 10:41 PM
My LAN consists of a collection of Linux boxes connected to a
hub.My net is 192.168.0, the gateway being at 192.168.0.1. This gateway
has two network interfaces, the second one (192.168.1.2) connected to a
router. This router also has two network interfaces, the internal one
being at 192.168.1.1 and the external one exposing my fixed IP address to
the Internet. With this setup all PCs in the 192.168.0 network have full
internet access.

I would like to add a Linux laptop L connected via a wireless
interface to my setup. What I have is a second router R with two
interfaces. The external one is connected to my hub, and with the IP
address 192.168.0.20, which is fixed. The internal one is 192.168.2.1.
When I boot my laptop, it connects to the wireless network managed by R,
getting its IP address from R by DHCP. This address can of course vary,
but for the sake of concreteness let's assume it always is 192.168.2.2.

This configuration works only partially:

1) L has full Internet access, in the sense that from Firefox it
can connect to any site.

2) L does not have access to Internet sites via other protocols
like FTP and SSH. That is, the connections can be established, but once
established they just hang.

3) Something similar happens when from L I try to access the Linux
boxes in the 192.168.0 network.

4) The Linux boxes in the 182.168.0 network do not have access to
L.

How can I configure things so that issues 2, 3 and 4 get sorted
out? As you can see my knowledge of networking is pretty basic; please
bear with me.


 
Reply With Quote
 
 
 
 
Antoine EMERIT
Guest
Posts: n/a

 
      10-13-2008, 09:44 PM
Harold Weissman <(E-Mail Removed)> écrivait
news:gcra2b$29d$(E-Mail Removed):

> My LAN consists of a collection of Linux boxes connected to a
> hub.My net is 192.168.0, the gateway being at 192.168.0.1. This
> gateway has two network interfaces, the second one (192.168.1.2)
> connected to a router. This router also has two network interfaces,
> the internal one being at 192.168.1.1 and the external one exposing my
> fixed IP address to the Internet. With this setup all PCs in the
> 192.168.0 network have full internet access.
>
> I would like to add a Linux laptop L connected via a wireless
> interface to my setup. What I have is a second router R with two
> interfaces. The external one is connected to my hub, and with the IP
> address 192.168.0.20, which is fixed. The internal one is 192.168.2.1.
> When I boot my laptop, it connects to the wireless network managed by
> R, getting its IP address from R by DHCP. This address can of course
> vary, but for the sake of concreteness let's assume it always is
> 192.168.2.2.
>
> This configuration works only partially:
>
> 1) L has full Internet access, in the sense that from Firefox
> it
> can connect to any site.
>
> 2) L does not have access to Internet sites via other
> protocols
> like FTP and SSH. That is, the connections can be established, but
> once established they just hang.


Maybe your HTTP connexion use a proxy (included in your wireless access
), and traffic is nated on this wireless access-point.

Concerning FTP protocol, did you test in active and passive mode ? The
'standard' active mode may be 'bloqued' by the wireless router.

You must carefully check the filtering and routing parameters of your
wireless access point (give more information (mark/model, ...).

> 3) Something similar happens when from L I try to access the
> Linux
> boxes in the 192.168.0 network.


Well. The wireless access point is connected to the 192.168.0, and should
be available for the 192.168.2 network. You should check :

- the netmask of the 192.168.0.20 interface on the access point. It
should be 255.255.255.0 (or /24).

> 4) The Linux boxes in the 182.168.0 network do not have access
> to
> L.


Now, to be able to communicate from 192.168.0 network to the 192.168.2
network, you need to add a route on R or on each PC in the 192.168.0
network :

- net 192.168.2.0/24 gateway 192.168.0.20

> How can I configure things so that issues 2, 3 and 4 get
> sorted
> out? As you can see my knowledge of networking is pretty basic; please
> bear with me.


Regards
 
Reply With Quote
 
Dale Dellutri
Guest
Posts: n/a

 
      10-14-2008, 11:02 AM
On Sat, 11 Oct 2008 22:41:15 +0000 (UTC), Harold Weissman <(E-Mail Removed)> wrote:
> My LAN consists of a collection of Linux boxes connected to a
> hub.My net is 192.168.0, the gateway being at 192.168.0.1. This gateway
> has two network interfaces, the second one (192.168.1.2) connected to a
> router. This router also has two network interfaces, the internal one
> being at 192.168.1.1 and the external one exposing my fixed IP address to
> the Internet. With this setup all PCs in the 192.168.0 network have full
> internet access.
> I would like to add a Linux laptop L connected via a wireless
> interface to my setup. What I have is a second router R with two
> interfaces. The external one is connected to my hub, and with the IP
> address 192.168.0.20, which is fixed. The internal one is 192.168.2.1.
> When I boot my laptop, it connects to the wireless network managed by R,
> getting its IP address from R by DHCP. This address can of course vary,
> but for the sake of concreteness let's assume it always is 192.168.2.2.
> This configuration works only partially:
>...


I'm not sure why you need such a complicated network. For example,
why do you need the gateway? Usually a gateway connects networks that
are isolated somehow, either physically by geography, or perhaps by
policy. Is that true here?

Also, did you add the second router because the first does not have
wireless capability?

In your network, laptop L will be double NATed, first by the
new router R and secondly by the original router. This may
be why FTP doesn't work, but without detailed info about routing
tables from each of the routers, the gateway, and the laptop,
I really can't tell.

If you don't need the gateway, then I'd simply replace the first
router with the second one, connect the hub and the existing PCs
directly to it (wired), and connect the laptop L via the router's
wireless. If you must have the gateway for some reason, then
I'd get a wireless access point (not a router), connect it to
the hub and connect the laptop via the wireless access point.

--
Dale Dellutri <(E-Mail Removed)> (lose the Q's)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting Wireless N Router to Laptop Von Stueben Wireless Networks 2 10-30-2008 11:19 PM
Laptop issues connecting with NIC and Wireless Vinnypie Wireless Networks 1 10-21-2008 12:18 AM
Connecting a BT Home Hub to a Vista wireless laptop. smiley Broadband 13 03-31-2008 01:00 PM
Connecting laptop to wireless network jeremy Wireless Networks 0 03-04-2006 02:23 PM
connecting wireless laptop Broadband Hardware 0 05-30-2004 09:19 PM



1 2 3 4 5 6 7 8 9 10 11