[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [ping/telnet not working]



Ilocto Noel-C1395z wrote:
> 
> i am trying to connect just two PC. pc is a dual boot (w/ win2000)
> i tried other IP address (this has the same result as your recommendation),

Closer, but not quite.

> 192.168.42.1    pc2     ewoo
> 192.168.52.1    pc1     nilocto
>
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> pc1             *               255.255.255.255 UH    0      0        0 eth0
> 192.168.52.0    *               255.255.255.0   U     0      0        0 eth0

This route here is the network route for the 192.168.52.0 subnet (class C).
A host in the 192.168.42.0 network (like pc2) will not be reachable because
of the netmask of 255.255.255.0.  Either alter the netmask to 255.255.0.0
or put pc2 in pc1's network by setting its IP to something like
192.168.52.2.

These are just basic IP networking principles.  Unfortunately, I cannot
think of any good books on this issue, and the best I found in the HOWTOs
was this coverage in the Net-3 HOWTO:
http://www.linuxdoc.org/HOWTO/NET3-4-HOWTO-5.html#ss5.1

	- Kevin Colby
	  kevinc grainsystems com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]