tcprules & a subnet

Eden.Li@asu.edu Eden.Li@asu.edu
Sat, 03 Mar 2001 17:14:51 -0700 (MST)


I think you want to use CIDR..  I'm don't think you can get them right in the
middle, but i think you can get 32 ips by using the subnet mask of:

  f    f      f    f      f    f      d    0
1111 1111   1111 1111   1111 1111   1100 0000

or 0xffffffd0 or 255.255.255.192 or (your ip)/26

unless I'm off by a bit then it's

0xffffffe0 or 255.255.255.224 or (your ip)/27

HTH,
Eden

On Sat, 3 Mar 2001, Mike Starke wrote:
> I have yet to figure out how to place an entry in a file
> for tcprules that will handle a specific subnet.
> I know you can put an entry like 1.2.3. and leave off
> the last octet, but that opens the whole class c (as in the above
> example) doesn't it? How about 32 ip's right smack dab in the
> middle?