On Thu, 2002-04-25 at 00:33, gabriel wrote:
> i've got two machines using to different ips connected to one hub, which is
> in turn connected to the cable modem.  the ips are _not_ on the same subnet,
> but nonetheless, _sometimes_ i get transfer speeds between the two boxes
> around 4MB/sec, other times, only 1MB, and others, only 60K...

Are they *sometimes* on the same subnet?  That would explain the good
transfer speeds you *sometimes* get.

> the speeds seem to change at random and sometimes i get an ip conflict
> message popup in windows.
> 
> it seems that my problem is that sometimes the data goes this way:
>   linux box  >  hub  >  big, bad internet  >  hub  >  windows box
> 
> and sometimes my data goes this way:
>   linux box  >  hub  >  windows box
> 
> how do i make sure that the latter is the only thing that happens?

Use NAT.  i.e. Take control of your network.

Using one of your machines as a router for the other(s) will improve the
performance of your local networking, as well as the inter-networking of
your neighbors (and this is why I wish cable providers would recommend
or sell routers to homes with multiple PC's).  If your "local"
networking is traveling out your cable modem, you have two problems:
All your traffic may be sniffed by your neighbors or provider
Your local network traffic is slowing down your cable modem network for
everyone.

I suggest that you reorder your network so that your cable modem
connects directly to your Linux PC, and (you'll need a second NIC in the
Linux PC) the Linux machine also connects to the hub which the Windows
machine is plugged in to.  Your Linux box will provide an effective
firewall for the Windows machine.  As an added bonus, if you only have
the windows machine on the inside, you can connect it to the Linux box
with a crossover cable and get full-duplex networking (which you would
otherwise need a switch to do).

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to