Hello Edward,

Wednesday, February 20, 2002, 4:41:54 AM, you textually orated:

ED> Just something that's always evaded my comprehension.

ED> I always use the 192.168.0.0 - 192.168.255.255 range for internal networks.
ED> Usually the first 9 reserved for servers (.1-.10) and the rest clients. From
ED> all the documentation I've read this is a Class B network (16 bit), and to
ED> use it I should netmask 255.255.0.0.

Any documentation that states this is a class B network is wrong. It is a
class C.

Here is the breakdown...
Class Netmask       Network Addresses
  A   255.0.0.0     0.0.0.0    - 127.255.255.255
  B   255.255.0.0   128.0.0.0  - 191.255.255.255
  C   255.255.255.0 192.0.0.0  - 223.255.255.255

These are the defaults.

ED> I was at a customer's the other day who uses the 192.168.1.x range. I put a
ED> pre-prepared Linux box (RH7.2 if it matters) down there, with my usual
ED> 192.168.0.1 ip set-up, but the clients just would not connect to it. Not
ED> even ping it. The client's netmask WAS set to 255.255.0.0, so my question is
ED> this:

ED> Can a client at let's say 192.168.1.x with netmask 255.255.0.0 connect to a
ED> server at 192.168.0.1 with netmask 255.255.0.0?

Yes. But there is usually an extra step to override the defaults.

ED> I've never pondered this before because as I said, I normally use the
ED> 192.168.0 range only, but in this case, I had to change the server to
ED> 192.168.1 range to make it work, when, from what I understand, I shouldn't
ED> have had to. In the end it's all good and works, but why not with the
ED> 192.168.0 range? I realise it's a different sub-net, but the mask should
ED> take care of that no?

I believe that you need to change the default network boundaries to get it
to route properly. Something like...

route add -net 192.168.0.0 netmask 255.255.0.0 eth0

It may also be required to have ip-fowarding enabled as well.

Have fun,
-- 
_________________________________________________________________
 Brian Ashe                     CTO
 [EMAIL PROTECTED]              Dee-Web Software Services, LLC.
 http://www.dee-web.com/
-----------------------------------------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to