Two linux boxes don't see each others ...

Two linux boxes don't see each others ...

Post by Patrick La » Sun, 24 Oct 1999 04:00:00



Hi:

I have to linux boxes.  One has a 3COM 3c905 card while another one has a
NE2000 (actually it is an AOpen ALN-201).  Those two boxes just don't see
each others!!

One of them is setup with 192.168.0.0, and the other one is setup with
192.168.1.2 (default).  I tried to ping them with these IP addresses,
nothing returns.

I also tried to add both IPs to /etc/hosts, but still can't get them pinged.

However, they DO work separately when connected to a Win98 SE machine (the
3rd one) which is used as a proxy server!

Did I do anything wrong?  Or did I miss anything?

Thanks very much in advance.

Patrick.

 
 
 

Two linux boxes don't see each others ...

Post by Vilmos Sot » Mon, 25 Oct 1999 04:00:00



> One of them is setup with 192.168.0.0, and the other one is setup with
> 192.168.1.2 (default).  I tried to ping them with these IP addresses,
> nothing returns.

Hello,

Could you post the output of ifconfig?
BTW 192.168.0.0 is a network address.

Vilmos

 
 
 

Two linux boxes don't see each others ...

Post by Malwar » Mon, 25 Oct 1999 04:00:00


Hi Patrick.


> One of them is setup with 192.168.0.0, and the other one is setup with
> 192.168.1.2 (default).  I tried to ping them with these IP addresses,
> nothing returns.

You have most probably two problems:
- 192.168.0.0 is interpreted as an broadcast. You might better choose an
address not ending in 0 to be sure to catch a usable address.
- You should read the NET3-HOWTO. Especially it seems you have no idea
of netmasks. For quick solution wether make both numbers have the first
3 numbers (from left) equal and make the netmask 255.255.255.0 or make
the netmask 255.255.0.0. You need to set the netmask equally on all
machines on the local network.

Malware

 
 
 

Two linux boxes don't see each others ...

Post by TMnet New » Mon, 25 Oct 1999 04:00:00



>One of them is setup with 192.168.0.0, and the other one is setup with
>192.168.1.2 (default).  I tried to ping them with these IP addresses,
>nothing returns.

First off, I think that you'll find that the problem lies in the first IP
address - is this typed correctly? - 192.168.0.0 is a network address, and
not a host address. If you had the first machine IP'd as 192.168.1.1 and the
second one as stated above (192.168.1.2), then you'll probably find that
they'll work. You can't use a 0 for the 4th number in an IP dotted quad.
That's reserved to refer to your network, and you can't use 255 either,
because that's reserved for broadcast. So, your addresses have to look like:

xxx.xxx.xxx.1 all the way up to xxx.xxx.xxx.254

So in reality, for each Class C network, you can only have 254 hosts, not
256.

Jason S Tay
RK Komputer Sdn. Bhd.
9 Jalan Permai 2/2
Subang Jaya
Selangor Darul Ehsan
Tel: +60 (0) 3 732 3636
Fax: +60 (0) 3 &32 5012

 
 
 

Two linux boxes don't see each others ...

Post by <kcc.. » Tue, 26 Oct 1999 04:00:00




> >One of them is setup with 192.168.0.0, and the other one is setup with
> >192.168.1.2 (default).  I tried to ping them with these IP addresses,
> >nothing returns.

> First off, I think that you'll find that the problem lies in the first IP
> address - is this typed correctly? - 192.168.0.0 is a network address,
and
> not a host address. If you had the first machine IP'd as 192.168.1.1 and
the
> second one as stated above (192.168.1.2), then you'll probably find that
> they'll work. You can't use a 0 for the 4th number in an IP dotted quad.
> That's reserved to refer to your network, and you can't use 255 either,
> because that's reserved for broadcast. So, your addresses have to look
like:

> xxx.xxx.xxx.1 all the way up to xxx.xxx.xxx.254

> So in reality, for each Class C network, you can only have 254 hosts, not
> 256.

> Jason S Tay
> RK Komputer Sdn. Bhd.
> 9 Jalan Permai 2/2
> Subang Jaya
> Selangor Darul Ehsan
> Tel: +60 (0) 3 732 3636
> Fax: +60 (0) 3 &32 5012


Hi! It seems that there is more than that, even with IP of 192.168.100.1 &
192.168.100.2 it still does not work.

Also we can not explain why it works between a Linux box and a Window98
box. Incidently, it didnot work between a Linux Box and a NT box.

I think there should be some reconfiguration on the Linux role as server
and client.

Any suggestion?

Regards
kcchee

--
Posted via CNET Help.com
http://www.help.com/