Re: (PM) subnet masks

Don Lashier (dl@newportnet.com)
Sun, 07 Jun 1998 23:51:30 -0700

On 6/7/98, at 10:29 PM, martin@mix-net.net 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)
>
>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
^^^^
That .0/27 designates the *first* 32 address subnet, if yours
starts at .32 then you want 208.80.232.32/27

Don

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Don Lashier dl@newportnet.com
Newport Internet http://www.newportnet.com/

-
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/>