To add-on to this discussion, I do not believe that the subnet "
55.55.0.25/16" is valid. The entire point of the netmask (in this case 16)
is to denote the length of the network address in bits. A bitwise AND
operation should always provide the routing prefix, in this case 55.55.0.0.
A subnet with a non-zero value is only possible on orders of 2 and with an
appropriately long netmask, e.g. 55.55.0.128/25.
On Thu, Nov 7, 2019 at 5:04 AM Murali Sb <murali07smile(a)gmail.com> wrote:
Thank you for your response. I'll try other way.
On Thu, 7 Nov, 2019, 6:23 PM 이석찬, <acetcom(a)gmail.com> wrote:
> Hi Murali,
>
> Unfortunately, open5gs(nextepc) does not support the range of the ip pool.
> As such, it is not possible at this time.
>
> Let me paste the related source code regarding the issue.
>
> Sorry for not being help this.
>
> Best regards,
> Sukchan
>
>
>
>
---------------------------------------------------------------------------------------------
> In src/pgw/pgw-context.c, pgw_ue_pool_generate(), line 1207
>
> /* Exclude Network Address */
> if (memcmp(ue_ip->addr, subnet->sub.sub, maxbytes) == 0)
> continue;
>
> /* Exclude Broadcast Address */
> if (memcmp(ue_ip->addr, broadcast, maxbytes) == 0) continue;
>
> /* Exclude TUN IP Address */
> if (memcmp(ue_ip->addr, subnet->gw.sub, maxbytes) == 0)
> continue;
>
>
>
>
> On Thu, Nov 7, 2019 at 4:42 PM Murali Sb <murali07smile(a)gmail.com> wrote:
>
>> Hi
>>
>> In my project, I'm using IP address as 55.55.0.25/16 in nextepc.conf
>> My tunnel inet gets 55.55.0.25 , mask is 255.255.0.0
>> IP address for my route from the pool is 55.55.0.1.
>> Why is this happening?
>>
>> I want my route to start from 55.55.0.26 and so on...
>>
>> how to do this? please help
>>
>>
>> --
>> Murali.S
>>
>