Re: Subnetting

Kris Carlier (root@iguana.be)
Fri, 1 Jan 1999 01:29:44 +0100 (MET)


Irfan,

> e.g I have 4 subnets of 192.168.1.0 giving 4 subnets each with 62 usable
> hosts on each subnet. Can I joing the last three subnets to make it appear
> as one. Will doing that will save me 4 IPs and I will be only wasting 2 for
> those subnets (broascast and network).
>
> 192.168.1.0 255.255.255.192 (subnet 1)
> 192.168.1.? 255.255.255.? (subnet 2 after joining 2,3 and 4)

I guess you'll need at least two statements:

192.168.1.0/24 is the complete C-subnet
192.168.1.0/25 is the first half of 255.255.255.128
192.168.1.0/26 " " " quarter of 255.255.255.192

so to get from 64 to the last you'd add the second half:

192.168.1.128/25 (from 129-254 usable)

plus the second quarter of the /26:
192.168.1.64/26 (65-127)

kr=

\\\___///
\\ - - //
( @ @ )
+---------------oOOo-(_)-oOOo-------------+
| kris carlier - kris@iguana.be |
| Hiroshima 45, Tsjernobyl 86, Windows 95 |
| Linux, the choice of a GNU gener8ion |
| SMS: +32-75-61.43.05 |
+------------------------Oooo-------------+
oooO ( )
( ) ) /
\ ( (_/
\_)

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu