On 18.7.2022. 10:40, Alexandr Nedvedicky wrote:
> hello,
> 
> On Sun, Jul 17, 2022 at 11:52:21PM +0200, Hrvoje Popovski wrote:
>> On 17.7.2022. 20:19, Alexandr Nedvedicky wrote:
>>> So in case 49/27 we are supposed to be selecting addresses:
>>>     49.0.0.1, 49.0.0.2, ..., 49.0.0.30, 49.0.0.1
>>> we need to make sure selection mechanism skips network
>>> address (49.0.0.0) and network broadcast address (49.0.0.31).
>>
>> Hi,
>>
>> I'm I understanding you correctly? If doing NAT to some route, let's say
>> /30 (4 addresses) with this diff I will doing NAT only to 2 addresses?
>>
>>
>>
>>
> 
>     yes. I believe this should be correct. but I would like to
>     get it confirmed with someone who is stronger in network protocols.
> 
> 0000 0000
>      
>     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
> 
>     to be honest I'm not sure if we can assign address
>     192.168.8.0 to any host in that network.


In my carp/pfsync setup's I have /30 route for NAT and I would like to
NAT to all 4 addresses. If that's not possible, is right way to do NAT
create table and list there ip by ip ?




Reply via email to