Re: vlsm subnetting

From: Marian Jancar (jancar.marian@seznam.cz)
Date: Wed Apr 09 2003 - 14:42:10 EST


On Wed, 9 Apr 2003 19:18:38 +0200
Frank Brodbeck <oakenshield@gmx.net> wrote:

if you want the ranges to be nice you should adjust them and add routes
for the complementary subnets on every host in each subnet as follows
(but with additional routes your ranges would work too)

> net broadcast hosts range mask*
> 172.25.156.0 172.25.156.192 1-191 255.255.255.0
                           191 1-190
ip r a 172.25.156.192/26 via 172.25.156.190**

> 172.25.156.193 172.25.156.223 194-222 255.255.255.192
             192 193 224
ip r a 172.25.156.0/24 via 172.25.156.222**

> 172.25.156.224 172.25.156.239 225-238 255.255.255.224
                                                                    240
ip r a 172.25.156.0/24 via 172.25.156.238**

> 172.25.156.240 172.25.156.255 241-254 255.255.255.240
ip r a 172.25.156.0/24 via 172.25.156.254**

** assuming you assign top of each range to the router

Marian

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:01 EST