Re: Access to sub network unreachable.

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


On Fri, 2009-01-09 at 16:56 -0800, Rick Stevens wrote:

> No, the /24 covers EITHER or, but not both.
> To treat both as a single network you need a /23 netmask.
> A netmask tells the system how many bits of the network address make up
> the NETWORK part.  

This is where my misunderstanding was.

> The remaining bits make up the host identifier.  An 
> IPV4 address is 32 bits.  A /24 (or netmask says the 
> first 24 bits (the first three octets) make up the network part.  

What then, is a sub-net?

> In my
> graphic below, the netmask stuff is shown in by "x"s and the bits under
> the "x"s make up the network address:
> netmask:	xxxxxxxx.xxxxxxxx.xxxxxxxx.-------- ( /24)
> binary addr:	11000000.10101000.00000000.00000001 (
> binary addr:	11000000.10101000.00000001.00000001 (
> So you can see that they're separate networks.  Now, with a /23 netmask:
> netmask:	xxxxxxxx.xxxxxxxx.xxxxxxx-.-------- ( /23)
> binary addr:	11000000.10101000.00000000.00000001 (
> binary addr:	11000000.10101000.00000001.00000001 (
> You can see here that they're the same network now, and you're using 9
> bits as the host identifier.

Okay, for a small private network of up to 2 dozen boxes, is there a
standard or convention for selecting the final numbering system,  eg to 125 vs to 25 ?  Is there a need to
distinguish between computer,printer or router in the numbering
> Also note that the netmask must be consecutive 1 bits...the first 0 bit
> marks the end of the netmask. is OK (the last octet is
> 11111110 binary), but isn't (the last octet is 11111101)
> and would be treated the same as (a /22 or 11111100).
> Does it make sense now?

Getting there!

Registered Linux User #463789. Be counted at:

fedora-list mailing list
[email protected]
To unsubscribe:

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux