Alexandr Nedvedicky [alexandr.nedvedi...@oracle.com] wrote:
>      
>     if we have a prafix /30 then the hosts we can address are:
>       .1
>       .2
>     the host part .3 should be a network broadcast. let's assume
>     we have something like: 192.168.1.8/30, then the network
>     broadcast address will be 192.168.1.11

On an ethernet (broadcast) network, this makes sense.

On NAT, this doesn't. I don't want PF deciding to only use 2 of 4
addresses on a /30. If I ask PF to nat to x.x.x.x/30, I expect
it to use all of the /30 because there is no broadcast network
at play here.

If I use /31, does PF just fail?

Alternately, if I specify to NAT to a whole /24, i'd also expect it
to use the .0 and .255 addresses. It's common these days to see .0
and .255 as hosts.

Chris

Reply via email to