Re: [EXIM] To relay or not to relay, that is the question...

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Patrick Boutilier
Dátum:  
Címzett: Steve Lamb
CC: Exim-users
Tárgy: Re: [EXIM] To relay or not to relay, that is the question...
Hope this helps:

255 decimal = 11111111 binary

So a subnet mask of:

255.255.255.0 = 11111111.11111111.11111111.00000000 = /24
255.255.0.0 = 11111111.11111111.00000000.00000000 = /16
255.255.255.192 = 11111111.11111111.11111111.11000000 = /26
255.255.255.255 = 11111111.11111111.11111111.11111111 = /32


Steve Lamb wrote:
>
> On Fri, 31 Jul 1998 10:54:08 +0100 (BST), Jeffrey Goldberg wrote:
>
> >> >sender_net_accept_relay = 192.168.0.0/16
> >Instead of 192.168.0.0/0
>
> >The number after the slash tells you the number of significant bits of the
> >ip address. The parts between dots correspond to 8 bits each (numbers
> >between 0-255).
>
>     Ah, got it.  Never quite got the grasp of the netmask, now I do.  OK, so
> if I want individual addresses it is, what, x.x.x.x/1?

>
> --
>              Steve C. Lamb             | Opinions expressed by me are not my
>     http://www.calweb.com/~morpheus    | employer's.  They hired me for my
>              ICQ: 5107343              | skills and labor, not my opinions!
> ---------------------------------------+-------------------------------------

>
> --
> *** Exim information can be found at http://www.exim.org/ ***


--
Patrick Boutilier
Computer Services Officer
Nova Scotia Department of Education and Culture

--
*** Exim information can be found at http://www.exim.org/ ***