Re: Connecting two PCs in a mini-LAN

From: Spyro Polymiadis (spolymiadis_at_ratbaggames.com)
Date: 10/12/04


Date: Tue, 12 Oct 2004 09:24:04 +0930

patrick carosso wrote:
> Hello,
> I'm trying to build a mini-lan with the two PCs I have at home.
>
> -I connected the two ethernet cards with a cable
> -I assigned to the PC_1 the address 192.30.30.1 (chosen at random)
> -I assigned to the PC_2 the address 192.30.30.2 (chosen at random)
>

Heres your problem, the 192.30.x.x network is a routable network, what
you are after is a non routable, private ip space. So change the IP's to
read 192.168.30.1 and .2 or even something like 10.0.0.1 and .2
reconfigure your nic's to these ip's and try again,
Also you are correct in saying that you dont need a gateway. If these
pc's are in a completely isolated lan with no other network access.

Also once you have changed the IP's to somethign private and
non-routable then on either box run # mii-tool and make sure the link is
up and the cards have negotiated a link speed. If not, then either one
or both of the nic's are faulty or the cable may have a krimp in it or
an internal broken wire, see if you can get a hold of a cable tester to
make sure the cable is infact correctly wired xover and is not broken
anywhere internally :)

Spyro



Relevant Pages

  • Re: Need Help!!!: Simple Networking
    ... >> I've been trying to connect 2 WinXP PCs through Ethernet cards, ... I get no errors from the hardware, but I can't get the LAN ... it's possible to network two computers without a hub/router: ...
    (microsoft.public.windowsxp.network_web)
  • Re: Multiple network segment monitor with Snort
    ... >Can I use the same physical machine (with as many ethernet cards as ... >sensors I want to deploy) and use various and independent snort ... Intrusion Prevention and Traffic Shaping Technology to: ... Precisely Define and Implement Network Security & Performance Policies ...
    (Focus-IDS)
  • Re: Joining wireless and wired networks
    ... I've a computer at home I'm using for a network gateway, ... ethernet cards and a wireless card. ...
    (Fedora)
  • Re: SPT=137 DPT=137 ?????
    ... > If you mean the non-public IP Adresses - yes, ... Search for some ethernet cards which aren't in use and disable ... The queries are directed to public IPs. ... > this network interface. ...
    (comp.security.unix)