Re: (PM) subnet masks

Josh Richards (jrichard@livingston.com)
Sun, 7 Jun 1998 23:51:56 -0700 (PDT)

On 7 Jun 1998, Fred Martin wrote:

> Assume (for example) that my network IP addresses start at:
>
> 208.80.232.33
>
> and my firewall's IP address is: 208.80.232.33
> with hosts/servers following, starting at: 208.80.232.34
>
> My subnet mask is: 255.255.255.224
> or: 11111111.11111111.11111111.11100000
>
> (less the broadcasts I have 32 usable IP addresses)

30 usuable. 2^5 = 32 then subtract 2 for the network & broadcast
addresses.

> When writing a filter rule that is testing for an "internal" source address
> and any "external" destination address, is this correct:
>
> permit 208.80.232.0/27 0.0.0.0/0

This would refer to network 208.80.232.0/27 which is .0-.31 which is a
totally different network. To refer to the particular [subnet] network
you are using in your fw setup you would use 208.80.232.32/27.

-jr

----
Josh Richards - <jrichard@livingston.com> - <josh@lucent.com>
[Beta Engineer] - LUCENT Technologies - Remote Access Business Unit
<URL:http://www.livingston.com/> * <URL:http://www.lucent.com/dns/>

-
To unsubscribe, email 'majordomo@livingston.com' with
'unsubscribe portmaster-users' in the body of the message.
Searchable list archive: <URL:http://www.livingston.com/Tech/archive/>