Re: Networking 2 XP Pro machines

From: Malke (malke_at_nospoonnotreally.com)
Date: 10/09/04


Date: Sat, 09 Oct 2004 06:34:56 -0700

Pheasant PluckerŪ wrote:

> Thanks for the reply Malke,
>
> It's quite simple really.
>
> The only reason I want to use an (unmanaged) switch is I have one
> kicking around and it gives the option to plug in other items such as
> another computer, print server etc. at a later date.
>
> I could just as easily use a crossover cable...I don't want to use a
> router as the original machine only has a modem for a dialup account
> (no DSL access:-(
>
> All I want to do is add a second computer to an existing one in a
> small office, install a laser printer on one and an inkjet on the
> other and share them for both machines, allow file access and lastly
> allow the second machine internet access.
>
> I have done all this before with full-blown client/server setups but
> nothing as simple(!) as setting up a peer-to-peer network using XP on
> both machines...a complete guide to setting up XP as a peer-to-peer
> network would be ideal.
>

Here's the problem I see with this (and I could be wrong, of course).
Forgetting about the need for dialup modem Internet access for an
instant, normally all you would do is plug both computers into the
switch, assigning internal static IP's to each. You would need to
assign static IP's because one of the functions of a router is to
assign those local IP's. So, you assign 192.168.1.10 to Computer 1 and
192.168.1.11 to Computer 2 (depends on what the switch settings are, of
course). You set up sharing, share out your resources, and fine.

But what about your dialup Internet connection on Computer 1? Normally,
in a lan using a router, you've set the boxen to automatically get an
IP. The router is the Internet Gateway, getting the public IP on one
side and passing out the private IP's to all lan computers on the
other. Getting an IP address automatically is also the usual setting
for a single computer connecting to the Internet, because in most cases
you are getting your dynamic IP address from your ISP. Even if you've
got a static IP address from the ISP, it's going to be a public one and
not usable on a lan.

Now, maybe you can set your dialup connection separately to
automatically get an IP address from your ISP and still leave the lan
with assigned IP's. I've never tried this and don't have any dialup
here so I can't test this for you. You can try it yourself, of course.

I think I gave you the networking links before, but in case I didn't
here are some good ones:

http://www.smallnetbuilder.com/
http://www.wown.info/
http://www.practicallynetworked.com/

Malke

-- 
MS MVP - Windows Shell/User
Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"


Relevant Pages

  • Re: Making linux firewall/gateway
    ... Your best to just dual home the Linux box and connect your LAN machines with ... linux box as opposed to just the switch. ... > internet connection), and it has one pci slot. ...
    (comp.os.linux.networking)
  • Re: error pinging LAN
    ... switch to gain internet access via the router. ... The connection to the internet ... but it seem that there are some errors in the LAN. ...
    (Fedora)
  • Re: Please,Help Me
    ... Core 2 Due 2.40GHz, 1 GB of RAM., and I have a problem connecting to the LAN and Internet. ... I am wondering if out of the box I need to do something for Fedora to be able to get on the Internet and LAN. ... Generally you would use a router rather than a switch to get to the net, so hopefully this is just using the wrong term and not the whole wrong hardware. ...
    (Fedora)
  • Re: Vista Not Allow 2 active Connection
    ... machine, after the dialup connection has make, all my internet connectivity ... include which the LAN which work prefectly before make dialup... ...
    (microsoft.public.windows.vista.networking_sharing)
  • How to disable LAN port when the users uses Dialup connection
    ... As per my companies internal policy, ... companies LAN. ... dialup to the internet and access internet. ...
    (microsoft.public.win2000.security)