Community discussions

MikroTik App
 
benh3ll0
just joined
Topic Author
Posts: 2
Joined: Wed Oct 06, 2021 10:22 am

IP Cloud pulling wrong Public Address

Mon Dec 06, 2021 10:21 pm

Hi all,
I need to use IP Cloud as DDNS supplier but unfortunately my RB4011iGS+ is pulling a wrong Public IP Address.
I have exactly the same configuration at another site (same router and same ISP) and it works perfectly there.
Just don't understand what wrong I'm doing.

Check the screenshot below:
Public IP in route list = 100.76.XXX.XXX
Public IP in IP/Cloud = 178.238.XXX.XXX

FYI, I've already tried to deactivate/reactivate IP Cloud, update the router, reboot the router...
You do not have the required permissions to view the files attached to this post.
 
User avatar
vecernik87
Forum Veteran
Forum Veteran
Posts: 882
Joined: Fri Nov 10, 2017 8:19 am

Re: IP Cloud pulling wrong Public Address  [SOLVED]

Mon Dec 06, 2021 10:28 pm

tl'dr: It works as expected because your router is behind CGNAT - https://datatracker.ietf.org/doc/html/rfc6598


in the
/ip route
section, you don't see a public IP. You see WAN IP of your router, which may or may not be routable from the public internet. Many ISP nowadays put clients behind a NAT, which means you don't have your own public IP. Typically you will see either one of RFC1918 or a CGNAT addresses. Thats because public IP aren't actually free even for ISPs and this is even harder for new companies who don't have large blocks from many years ago when there was plenty of supply. Your router clearly falls into this category. Due to the CGNAT you will never be able to reach your router from the internet and use it for e.g. VPN server or port-forwarding.
Last edited by vecernik87 on Mon Dec 06, 2021 10:34 pm, edited 2 times in total.
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: IP Cloud pulling wrong Public Address

Mon Dec 06, 2021 10:31 pm

Or in simple words, bad news, you don't really have public address on your router, the 100.76.XXX.XXX is non-public, similar to 192.168.x.x, etc.
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: IP Cloud pulling wrong Public Address

Mon Dec 06, 2021 10:37 pm

Address space starting from 100.x.y.z is called CG-Nat and it is not a Public IP address...
Do you use any mangle rules ?
Is that the first router connected to your ISP ?
 
User avatar
vecernik87
Forum Veteran
Forum Veteran
Posts: 882
Joined: Fri Nov 10, 2017 8:19 am

Re: IP Cloud pulling wrong Public Address

Mon Dec 06, 2021 10:50 pm

Address space starting from 100.x.y.z is called CG-Nat and it is not a Public IP address...
That is not exactly correct. CGNAT is only it is only 100.64.y.z - 100.127.y.z (or precisely 100.64/10 in the CIDR notation)

e.g. 100.128.1.1 is perfectly valid public IP which belongs to T-mobile in USA
 
Zacharias
Forum Guru
Forum Guru
Posts: 3459
Joined: Tue Dec 12, 2017 12:58 am
Location: Greece

Re: IP Cloud pulling wrong Public Address

Tue Dec 07, 2021 4:29 pm

Address space starting from 100.x.y.z is called CG-Nat and it is not a Public IP address...
That is not exactly correct. CGNAT is only it is only 100.64.y.z - 100.127.y.z (or precisely 100.64/10 in the CIDR notation)

e.g. 100.128.1.1 is perfectly valid public IP which belongs to T-mobile in USA
You 're right ...
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19105
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: IP Cloud pulling wrong Public Address

Tue Dec 07, 2021 4:38 pm

The title of the thread should read.
I DONT KNOW WHAT KIND OF ISP CONNECTION I HAVE.

Who is online

Users browsing this forum: Ahrefs [Bot], CJWW, lurker888 and 92 guests