Reliance Jio 4G: Strange public IPv4 address assigned behind NAT

  • Thread starter Thread starter varkey
  • Start date Start date
  • Replies Replies 86
  • Views Views 24,413
Btw the main issue or anomaly with Jio remains, still getting assigned strange public IP addresses 🤷‍♂️

Code:
root@LEDE:~# ip address show eth0.2
8: eth0.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet 10.0.1.10/24 brd 10.0.1.255 scope global eth0.2
       valid_lft forever preferred_lft forever
    inet 25.44.192.226/30 brd 25.44.192.227 scope global eth0.2
       valid_lft forever preferred_lft forever
    inet6 fe80::290:a9ff:fe05:a0d5/64 scope link
       valid_lft forever preferred_lft forever
root@LEDE:~#
 
It appears Jio is not the first one to do this. Apparently T-Mobile and others have done it in the past or maybe even now. Found many articles while browsing. 🤷‍♂️

 
Last edited:
Did they run out of the 10.0.0.0/8 subnet perhaps, that they had to borrow public IP address to use in their private network! 😛 😉 🤣 Jk

Although I joked about it earlier, it looks like this is the case. The 10.0.0.0/8 private subnet has about 1.6 crore IP addresses, that's probably not enough for Jio with the number of users on their network, and is forced to make use of the other IP spaces which are un-used.

The 25.0.0.0/8 or the 56.0.0.0/8 IP ranges even though owned by other organisations are not active on the internet ie not announced over BGP at all.
 
Last edited:
Its only a 100.64.0.0/10 actually. That gives only 41 lack IP addresses, and the 172.16.0.0./12 would give about 10 lakh.

Probably not enough the way they have their network setup? 🤷‍♂️
 
Probably not enough the way they have their network setup? 🤷‍♂️

True. Of course they could change their network addressing by moving to 464XLAT. It can provide IPv4 connectivity over an IPv6-only bearer. That would free up millions of IPv4 addresses being used by Android phones.
 


So I don't think it actually does a PPP connection, and appears to be something based on QMI/MBIM. Since it doesn't do PPP, I guess it is possible for QMI/MBIM to support non ppp type setups? PPP as you rightly said doesn't care of the subnet, and the gateway can be from any subnet for that matter.

3GPP data bearers (i.e. the interface between modem and network) are always point-to-point links to the gateway. This is not based on the PPP protocol. It is setup and controlled by LTE signalling.

The interface between the modem and the host can be QMI or MBIM or USB CDC NCM or AT/PPP or any other protocol.
 
Jio is having double NAT (CG NAT) behind us. Due to which I was not able to port forward my ip camera for remote live view. I called them twice and finally the network team told me they can't help with it. So I shifted my ip cameras to local isp who only charges rs 400 per month with static ip.

Do anyone know any way to enable port forwarding for Jio. (I am using Jio sim in JioFi). My area still does not get Jio Fibre 😬.
I also made port forwarding setting in the JioFi but Open Port Check Tool -- Verify Port Forwarding on Your Router shows the that port 80 is blocked which is required by Hik-Vision NVR for live view.
 
@vignesh_venkatesan you can port forward on 4G connection. I have done for my Vodafone corporate connection (you get a new m2m sim) , you need to speak to your customer relational manager or mail corporatecare.india@vodafoneidea.com , But for Jio I tried calling and also mailed them but they said this service is not available for Jio 4G customer, they suggested me to get Jio Fibre which unfortunately not available in my area.

PS. Also they charged extra for the m2m sim and also gave static ip.
 
In hikvision, there is an option to change the default port 80 . In NAT settings of hikvision, change to Manual from Auto.... and change port...
But it will not solve proplem.
Jiofi device is so much locked that you cannot change many parameters. You are behind their NAT and no option of ddns. Actually even if it has ddns it is quite useless as you are behind nat. IPV6 ddns are not offered in such devices. Hence with Jiofi you are much left with very few options.

Hikvision has Hikconnect app which is perfect to view on mobile devices. I am sure you do not config every now and then so the remote config option can be ignored, but live view is easy on Hikconnect app.
 
Last edited:
@devangpatel You can still work around the CG-NAT issues with say UDP hole punching based solutions. ZeroTier is able to establish direct connectivity even with Jio 4G NAT.


But using this work around using UDP increase the latency for live view since the data hops peer to peer then then reach the required location.

But thanks for the help, l'll try and then confirm the result i.e latency which I get.
 
Not really, I've been using ZeroTier for a while, the latency increase is perhaps just a few ms.

Also, once a direct path is established, the traffic flows directly without any relay.

There's lot of jitter with Jio 4G anyway, but with what is available, ZeroTier doesn't add much of an overhead.
 

Top