Extensions are registered with live IP instead of private IP

i have a test lab.
i have a pc ( on which i have installed hyper-v. i have bridged the virtual switch to external adapter which happens to be my pc lan adapter on which above ip is assigned.
i have installed freepbx on a vm and assigned ip to freepbx.

now when i register a client from above ip subnet . sometimes it shows live WAN ip
Name/username Host Dyn Forcerport Comedia ACL Port Status Description
3000 (Unspecified) D Yes Yes A 0 UNKNOWN
7100/7100 39.50.xx. xx D No No A 13372 OK (5 ms)

and i am getting below error logs

how to make it so that all lan pcs get registered with 192.168.4.x subnet ip.

Anyone clue as to why it’s this happening?

If I understand the question, you don’t appear to have set as local subnet in Settings, Asterisk SIP Settings.

I have already done that. Still it registers with live ip.

extensions on my local subnet are still registering with my live/wan ip… which is causing call routing issues

i set **NAT mode to yes - force_rport comedia under extension -> Advanced from NO and also clicked under Settings -> Asterisk Sip Settings ->General sip settings ->in NAT Settings section Detect Network Settings . doing so it updated my wan ip.

after doing above my extensiond are now registering with local ip..

dont know why and till when will they work.
i need them to be on local subnet i need them for Skype for business enterprise voice testing,