[KLUG Members] IP Routing and other issues...

Tahnesha Pinckney members@kalamazoolinux.org
Tue, 03 Dec 2002 12:35:10 -0500


Hmmm...so not only have I confused myself, but I've confused my
computers as well...no wonder nothing's working!

I'll try and implement a different IP naming convention for all my
computers according to yours and Bruce's suggestions.  But I wonder,
changing the IP address on each of my linux boxes will be a bit
different, since I'm running Mandrake, Suse and Red Hat.  Should I just
edit ifconfig file for each computer or is there a  more uniform way to
do this on all my linux machines?

(Wow..being a "newbie" sure is a whole lot of work! :)

>>> peter@killdevil.org 12/03/02 12:28PM >>>
On Tue, Dec 03, 2002 at 11:10:21AM -0500, Bruce Smith wrote:

> > Well, unfortunately, for some reason, I seem to do things the hard
> > way.  What I mean is, the windows machines all have a
198.200.194.*.
> > naming convention and the linux machines have a 192.100.115.*.
> > naming convention.  Since both use the same subnet mask,
> > theoretically, I should be able to ping between the two.  But,
that
> > doesn't seem to be the case.  

> Use:  192.168.x.y   Pick any "x" and keep it the SAME for ALL of
your
> computers.  Vary "y" from computer to computer.

If you truly want to mess with large numbers, make your netmask
255.255.0.0 and assign hosts to 

172.16.100.x
172.16.200.x  

where 172.16.[0-254].[1-255]

But your worse problem (aside from Footnote 1) is your netmask doesn't
match your IP assignments. (Ignoring for the moment your DNS, or lack
of
it, and your MS browsing stuff.) In the following situation:

Host1: 192.168.100.1
Host2: 192.168.200.1

if both hosts have a netmask (or, more accurately, a subnetmask) of
255.255.255.0 then each host thinks the other is on a separate
physical
network connected by a router/gateway... which you probably don't
have.

You're confusing the nice computer. :) 





Footnote 1:

192.168.x.x is a proper private subnet. 192.200.x.x and 192.100.x.x
are
pubic Internet addresses:

http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1918.html 

    3 Private Address Space

    The Internet Assigned Numbers Authority (IANA) has reserved the
    following three blocks of the IP address space for private
    internets:

         10.0.0.0        -   10.255.255.255  (10/8 prefix)
	 172.16.0.0      -   172.31.255.255  (172.16/12 prefix)
	 192.168.0.0     -   192.168.255.255 (192.168/16 prefix)

    We will refer to the first block as "24-bit block", the second as
    "20-bit block", and to the third as "16-bit" block. Note that (in
    pre-CIDR notation) the first block is nothing but a single class A
    network number, while the second block is a set of 16 contiguous
    class B network numbers, and third block is a set of 256
contiguous
    class C network numbers. 

-- 
for gpg key: http://killdevil.org/~peter 
Though nothing is wasted, everything is spent. -- Annie Dillard
_______________________________________________
Members mailing list
Members@kalamazoolinux.org