Networking Forums

Networking Forums > Computer Networking > Linux Networking > XP + Wireless + Linux question

Reply
Thread Tools Display Modes

XP + Wireless + Linux question

 
 
kurt miller
Guest
Posts: n/a

 
      07-21-2004, 02:26 AM
Greetings,

I need suggestions on how to configure a network with the following
requirements and hardware:

I have a Linux box, an XP box, an XP laptop, a 5 port hub, and a 4
port wireless hub.

The internet is connected to the wireless hub and currently provides
internet for the XP box and a laptop at the other end of the house.

I would opt to do internet connection sharing on the XP box with it's
connection to the internet being routed through the Linux box but the
laptop user doesn't want to have to have the Linux box running in
order to get access to the internet. I, however, would like to be
behind the Linux firewall.

I can imagine how to get the Linux box to provide firewalled internet
to the XP box. But what happens when I want the XP box to participate
in the windows network with the laptop and vice versa? How is that
traffic handled?

Any help and ideas are appreciated.

Thanks, -km
 
Reply With Quote
 
 
 
 
Andrew Kelly
Guest
Posts: n/a

 
      07-21-2004, 04:43 AM


kurt miller wrote:

> The internet is connected to the wireless hub and currently provides
> internet for the XP box and a laptop at the other end of the house.


both able to surf at the same time?
If so, do they both get IPs from your ISP, or is your wireless hub
actually a router?



> I would opt to do internet connection sharing on the XP box with it's
> connection to the internet being routed through the Linux box but the
> laptop user doesn't want to have to have the Linux box running in
> order to get access to the internet. I, however, would like to be
> behind the Linux firewall.
>
> I can imagine how to get the Linux box to provide firewalled internet
> to the XP box. But what happens when I want the XP box to participate
> in the windows network with the laptop and vice versa? How is that
> traffic handled?


If you want them all to connect to the net at the same time, and:
- that's already possible, then it's easy ...
connect your linux box to the wireless hub, add another
NIC and enable routing and a DHCP server ... then connect
your XP box to the second NIC.
- that's not currently possible, then you'll need *something* to
"demultiplex" your multi-machine access down to a single IP address.
This would be a router, and will need to be on and connected for *any*
of your machines to connect.
Either buy a router and use that (wired or wireless, you choose),
or use your Linux box (notwithstanding the laptop user's objections)

Hope that helps (kinda),
Andrew


 
Reply With Quote
 
Andrew Kelly
Guest
Posts: n/a

 
      07-21-2004, 05:29 AM
kurt miller wrote:

> The internet is connected to the wireless hub and currently provides
> internet for the XP box and a laptop at the other end of the house.


I would opt to do internet connection sharing on the XP box with it's
connection to the internet being routed through the Linux box but the
laptop user doesn't want to have to have the Linux box running in
order to get access to the internet. I, however, would like to be
behind the Linux firewall.
I can imagine how to get the Linux box to provide firewalled internet
to the XP box. But what happens when I want the XP box to participate
in the windows network with the laptop and vice versa? How is that
traffic handled?

If you want them all to connect to the net at the same time, and:
- that's already possible, then it's easy ...
connect your linux box to the wireless hub, add another
NIC and enable routing and a DHCP server ... then connect
your XP box to the second NIC.
- that's not currently possible, then you'll need *something* to
"demultiplex" your multi-machine access down to a single IP address.
This would be a router, and will need to be on and connected for *any*
of your machines to connect.
Either buy a router and use that (wired or wireless, you choose),
or use your Linux box (notwithstanding the laptop user's objections)

Hope that helps (kinda),
Andrew

 
Reply With Quote
 
Andrew Kelly
Guest
Posts: n/a

 
      07-21-2004, 06:15 AM
After several failled attempts to reply to this thread, I hope this works!

kurt miller wrote:

> The internet is connected to the wireless hub and currently provides
> internet for the XP box and a laptop at the other end of the house.


both able to surf at the same time?
If so, do they both get IPs from your ISP, or is your wireless hub
actually a router?


> I would opt to do internet connection sharing on the XP box with it's
> connection to the internet being routed through the Linux box but the
> laptop user doesn't want to have to have the Linux box running in
> order to get access to the internet. I, however, would like to be
> behind the Linux firewall.
> I can imagine how to get the Linux box to provide firewalled internet
> to the XP box. But what happens when I want the XP box to participate
> in the windows network with the laptop and vice versa? How is that
> traffic handled?


If you want them all to connect to the net at the same time, and:
- that's already possible, then it's easy ...
connect your linux box to the wireless hub, add another
NIC and enable routing and a DHCP server ... then connect
your XP box to the second NIC.
- that's not currently possible, then you'll need *something* to
"demultiplex" your multi-machine access down to a single IP address.
This would be a router, and will need to be on and connected for *any*
of your machines to connect.
Either buy a router and use that (wired or wireless, you choose),
or use your Linux box (notwithstanding the laptop user's objections)

Hope that helps (kinda),
Andrew



 
Reply With Quote
 
Juhan Leemet
Guest
Posts: n/a

 
      07-21-2004, 02:33 PM
On Wed, 21 Jul 2004 15:45:26 +0930, Andrew Kelly wrote:
> kurt miller wrote:
>
>> The internet is connected to the wireless hub and currently provides
>> internet for the XP box and a laptop at the other end of the house.

>
> both able to surf at the same time?
> If so, do they both get IPs from your ISP, or is your wireless hub
> actually a router?


I was going to ask the same, and in addition: aren't most of those WAN
(i.e. ADSL or cable-modem) devices actually "firewall routers"? In other
words, there is already a firewall built in. It is on my (non-wireless)
Linksys BEFSR41. It also provides DHCP (but I don't use it).

BTW, which computers are you (OP) connecting wireless? which are wired?

--
Juhan Leemet
Logicognosis, Inc.


 
Reply With Quote
 
kurt miller
Guest
Posts: n/a

 
      07-23-2004, 04:04 AM
Andrew Kelly <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> After several failled attempts to reply to this thread, I hope this works!
>


THanks to everyone who got back to me! I'm not sure why the replies
aren't coming through but today I finally checked the NG and saw them.

Here is the scenario...

+------------+ +--------------------+
| | | |~~~~ +--------------+
| Internet |-<<<>>>-| Netgear WGR614 | | |
| | | Wireless Router | | Laptop |
+------------+ +--------------------+ | |
| | | | +--------------+
|
+--------------------+ |
| | |
| Linux Box eth0 +-----+
| |
| eth1 +--------------+----------------+
+--------------------+ | |
| XP Box |
| |
+----------------+


My questions are:

1) In this configuration, does anything special need to happen for
the XP box to communicate with the laptop as a windows client
(NETBIOS/IPX/etc)?

2) How is traffic exiting the Linux box get routed into internet
bound and internal only? Is that something I will need to configure?

3) Will IPTABLES need adjustment to allow the internal windows client
traffic to flow unimpeeded?

As you can tell I'm still learning this stuff. Thanks for your
patience.

-km
 
Reply With Quote
 
Webmaster
Guest
Posts: n/a

 
      07-24-2004, 06:31 AM
I have a slightly different arrangement.
I altered your diagram to reflect my setup.

The laptop has a default gateway that is set to the ip address linux box.
It also obtains its dns info from the linux box.

The linux box forwards all traffic using iptables masquerading.
Essentially, I only need the wireless router for the laptop. So I keep it
behind my primary firewall, which is the linux box.

Anyway, just an alternate suggestion.

Josh Beck

On 22 Jul 2004, kurt miller wrote:

> Andrew Kelly <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> > After several failled attempts to reply to this thread, I hope this works!
> >

>
> THanks to everyone who got back to me! I'm not sure why the replies
> aren't coming through but today I finally checked the NG and saw them.
>
> Here is the scenario...
>
> +------------+ +--------------------+
> | | | |~~~~ +--------------+
> | Internet |-<<<>>>-| Linux Box | | |
> | | | | | XP |
> +------------+ +--------------------+ | |
> | | | | +--------------+
> |
> +--------------------+ |
> | | |
> | Router +-----+
> | wireless |
> | +--------------+----------------+
> +--------------------+ | |
> | laptop |
> | |
> +----------------+
>
>
> My questions are:
>
> 1) In this configuration, does anything special need to happen for
> the XP box to communicate with the laptop as a windows client
> (NETBIOS/IPX/etc)?
>
> 2) How is traffic exiting the Linux box get routed into internet
> bound and internal only? Is that something I will need to configure?
>
> 3) Will IPTABLES need adjustment to allow the internal windows client
> traffic to flow unimpeeded?
>
> As you can tell I'm still learning this stuff. Thanks for your
> patience.
>
> -km
>


 
Reply With Quote
 
kurt miller
Guest
Posts: n/a

 
      07-24-2004, 06:56 PM
Webmaster <(E-Mail Removed)> wrote in message news:<Pine.LNX.4.44.0407240125540.26203-(E-Mail Removed)>...
> I have a slightly different arrangement.
> I altered your diagram to reflect my setup.
>
> The laptop has a default gateway that is set to the ip address linux box.
> It also obtains its dns info from the linux box.
>
> The linux box forwards all traffic using iptables masquerading.
> Essentially, I only need the wireless router for the laptop. So I keep it
> behind my primary firewall, which is the linux box.
>
> Anyway, just an alternate suggestion.
>
> Josh Beck
>
> On 22 Jul 2004, kurt miller wrote:
>
> > Andrew Kelly <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> > > After several failled attempts to reply to this thread, I hope this works!
> > >

> >
> > THanks to everyone who got back to me! I'm not sure why the replies
> > aren't coming through but today I finally checked the NG and saw them.
> >
> > Here is the scenario...
> >
> > +------------+ +--------------------+
> > | | | |~~~~ +--------------+
> > | Internet |-<<<>>>-| Linux Box | | |
> > | | | | | XP |
> > +------------+ +--------------------+ | |
> > | | | | +--------------+
> > |
> > +--------------------+ |
> > | | |
> > | Router +-----+
> > | wireless |
> > | +--------------+----------------+
> > +--------------------+ | |
> > | laptop |
> > | |
> > +----------------+
> >
> >


Yes, this was my first inclination BUT the Linux box must be running
for the laptop user to have internet access. Unfortunately that's not
possible.

Thanks much, -km
 
Reply With Quote
 
Andrew Kelly
Guest
Posts: n/a

 
      07-26-2004, 03:36 AM
Kurt,


> Yes, this was my first inclination BUT the Linux box must be running
> for the laptop user to have internet access. Unfortunately that's not
> possible.


My news feed has jumped a bunch of messages without me seeing them!
Missed everybody's posts from after I posted to this reply from you ... have you sorted this out or made any progress?

cheers,
Andrew

 
Reply With Quote
 
James Knott
Guest
Posts: n/a

 
      07-26-2004, 11:55 AM
Andrew Kelly wrote:

> Kurt,
>
>
>> Yes, this was my first inclination BUT the Linux box must be running
>> for the laptop user to have internet access. Unfortunately that's not
>> possible.

>
> My news feed has jumped a bunch of messages without me seeing them!
> Missed everybody's posts from after I posted to this reply from you ...
> have you sorted this out or made any progress?


Let me know if you don't receive this message. ;-)

--

(This space intentionally left blank)
 
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
Linux cluster question tom Linux Networking 2 06-23-2006 07:39 AM
Linux routing question Dave Hammond Linux Networking 3 03-29-2006 08:49 PM
Linux Wireless: DHCPCD Question: Josh Beck Linux Networking 2 11-14-2004 06:52 AM
Linux Notebook Wireless Card Question Webmaster Linux Networking 1 06-03-2004 01:51 AM
linux dhcp question FreddyK Linux Networking 2 09-24-2003 04:40 AM



1 2 3 4 5 6 7 8 9 10 11