Community discussions

MikroTik App
 
User avatar
qatar2022
Member Candidate
Member Candidate
Topic Author
Posts: 142
Joined: Mon Aug 24, 2020 11:12 am

behind NAT

Thu Mar 16, 2023 6:46 am

Dear all
I have 2 HUAWEI 5G CPE N5368X connecting to MikroTik RB5009UPr+S+ (load balance failover) NTH and I setup both HUAWEI 5G CPE N5368X as bridge.
How to know if am still behind NAT or not.

Best Regards
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11452
Joined: Thu Mar 03, 2016 10:23 pm

Re: behind NAT

Thu Mar 16, 2023 8:20 am

Compare WAN IP addresses on your Mikrotik to IP address shown by some internet-based service (e.g. https://www.whatismyip.com/ ) ... obviously you'll have to do some tricks get results for both WAN links. If IP addresses are the same, then ISP doesn't do additional NAT (but may still run firewall so your connection doesn't have to be completely transparent and open). If addresses are not the same, then you're behind ISP NAT.

Another hint, pointing in direction of NAT, is WAN IP address on Mikrotik. If it's one of:
  • 10.0.0.0/8 - 10.0.0.0-10.255.255.255 (RFC 1918)
  • 172.16.0.0/12 - 172.16.0.0-172.31.255.255 (RFC 1918)
  • 192.168.0.0/16 - 192.168.0.0-192.168.255.255 (RFC 1918)
  • 100.64.0.0/10 - 100.64.0.0-100.127.255.255 (RFC 6598 - CGNAT)
then ISP does NAT for sure.


[edit] fixed 192.168.0.0/16 network address
Last edited by mkx on Thu Mar 16, 2023 9:25 pm, edited 1 time in total.
 
User avatar
qatar2022
Member Candidate
Member Candidate
Topic Author
Posts: 142
Joined: Mon Aug 24, 2020 11:12 am

Re: behind NAT

Thu Mar 16, 2023 5:23 pm

see attached..
You do not have the required permissions to view the files attached to this post.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11452
Joined: Thu Mar 03, 2016 10:23 pm

Re: behind NAT

Thu Mar 16, 2023 7:42 pm

Both WAN IP addresses are in 10.0.0.0/8 and thus in private "non-routable" IP address space. ISP definitely performs NAT on your traffic.
 
User avatar
qatar2022
Member Candidate
Member Candidate
Topic Author
Posts: 142
Joined: Mon Aug 24, 2020 11:12 am

Re: behind NAT

Thu Mar 16, 2023 8:29 pm

so in this case it doesn't matter if I keep both 5G router in bridge mode or not.
 
gabacho4
Member
Member
Posts: 331
Joined: Mon Dec 28, 2020 12:30 pm
Location: Earth

Re: behind NAT

Thu Mar 16, 2023 9:20 pm

Does your provider use IPv6 by chance? That would most likely get you globally routable IPs if getting out from behind NAT is a requirement.

Who is online

Users browsing this forum: Amazon [Bot] and 17 guests