This means I need multiple public IPs and for each one NAT rule?65500 is about the maximum number of session per single NAT IP (in general your public IP). If you need to do more sessions, make shure you have more IP's to do NAT on.
is this still true today ? about the only ports being used for nat are 32767 ?False, if you use RouterOS, you have only 32767 ports (for each tcp and udp), because the nat start at 32768 and end on 65534...65500 is about the maximum number of session per single NAT IP (in general your public IP). If you need to do more sessions, make shure you have more IP's to do NAT on.
Port from 0 to 32767 and 65535 are reserved or not used.
But that number (65500) is not the number of tcp or udp connection used, but is the total
of udp+tcp+gre+icmp+igmp+...... connections present on the system, it count also non-nat connection, for example ping routerboard from wlan...
The only way to cunt natted connection, must filter result by src-address=nat ip pool
is this still true today ? about the only ports being used for nat are 32767 ?Port from 0 to 32767 and 65535 are reserved or not used.
This topic gives rise to too many misunderstandings.is this still true today ? about the only ports being used for nat are 32767 ?
My ISP offers two types of accounts ;I don't use NAT, I only give REAL Public IPs to Customers, because customers pay me for the service, so I give them a service...
and a CCR by each 512 customers !!!I don't use NAT, I just give REAL public IPs to clients, with IPv6 and MTU at 1500, because clients pay me for the service, so I give them The Service...
I don't use the one-machine-does-it-all concept...and a CCR by each 512 customers !!!I don't use NAT, I just give REAL public IPs to clients, with IPv6 and MTU at 1500, because clients pay me for the service, so I give them The Service...
too much Bling-bling
re: ... and a CCR by each 512 customers !!! ...and a CCR by each 512 customers !!!I don't use NAT, I just give REAL public IPs to clients, with IPv6 and MTU at 1500, because clients pay me for the service, so I give them The Service...
too much Bling-bling
agreed to *reuse* src port part.
is a common missconception to think that you are limited to 65535 connections per "WAN" ip, you are limited to that only for a single Destination IP, you can reuse SRC port "numbers" for diferent destinations.
hmm, interestingMy NAT444 configuration uses jump rules/tables , If IP & port range is this then jump here and scan only a few lines to find what to NAT to/from.
@ tom,
hmm, interestingMy NAT444 configuration uses jump rules/tables , If IP & port range is this then jump here and scan only a few lines to find what to NAT to/from.
which platform did you use to perform this setup? i mean: MT or Linux boxes? since I read that jump statement.
in your current nat444 setup, how deep is the nat multiplication?
ie. for each 1 ip how many end device/ip can it represents?
Every ISP should be doing dual-stack ( IPv4 and IPv6 ).However I currently have 75% of my traffic over IPv6... On 2014, when this topic is open, 0%.....
i would definitely say that is really a great achievement it is always about our team. when they are ready, everything looks easy. - but sometimes it was kinda 1 in 1000 momentum to deliver a new idea.However I currently have 75% of my traffic over IPv6... On 2014, when this topic is open, 0%.....
Re: switching to IPv6 "suddenly"Simply forcibly switching to IPv6 "suddenly" has a huge environmental cost.
You can't even imagine how much garbage it would create and how much it would cost to rebuild all the billions of devices that already exist that only go with IPv4.
ISPs could also forcefully switch to IPv6 and that's it, but then do you have any idea how many devices, even recently made, have only IPv4???
When we die IPv4 will still resist, maybe it will be only 1% of all traffic and the cost of IPv4 addresses will plummet because by now it will no longer be of any use to have them, apart from rare occasions.
Your analogy may be lost... In Italy, if 3rd car can squeeze in-between two other ones, they do.Hmmm , if somebody is driving their car/truck in the left lane and they drive past 1 or 2 miles of traffic signs indicating " Left Lane closed ahead " and they continue to stay in the left lane - do they suddenly hit traffic cones without any warnings ?
@tom,any ways - sorry for posting IPv4 & IPv6 stuff in this "Maximum number of NAT users / sessions" thread.
in todays perspective, it wasn't isps fault to adopt the ipv6 at very late timing (compares to that classic *immature ipv6* excuses) - because many if not most - at the customers sites, they ran tons of 100 years old app with hardcoded ipv4 business apps, which are 24x7x365 money makers.think of ISPs that have no plans to add IPv6 networks to their customers somewhat like those who use a 1998 Windows-95 computer.
could bein 10 years knowing how to use ipv4 will be like a hacking technique
beautiful life amm0,
Your analogy may be lost... In Italy, if 3rd car can squeeze in-between two other ones, they do.
Hi, new user here. I had the same misconception and laded here googling for something like "CGNAT Maximum Number of Connection". The question that I have is: While technically feasible to track by the pair destination_ip+source_port, is this the common approach in CGNAT devices? Or is it a specific Mikrotik/RouterOS implementation?This topic gives rise to too many misunderstandings.is this still true today ? about the only ports being used for nat are 32767 ?
...
But even if one had 1GB of memory, the NAT limit is not 32767 entries,
but 32767 entries multiplied by each public IP used, multiplied by each protocol used, multiplied for each different website...
For example, if one has 1 IPs, the NAT limit is 32767 connections per protocol, for each single combination of REMOTE IP and PORT...
So if you have 32768 users that at the same time try to connect to https://forum.mikrotik.com, only 32767 work,
the 32768th user only can not connect https://forum.mikrotik.com, but can connect any other site of the world.
(to be precise, since more TCP requests are opened to download web fonts, scripts, images, etc., the maximum number, at the same time, is actually much smaller)
...
EDIT: Thanks to @chechito: The MAX limit is hardcoded to 1048576, and is needed at least 512MB
You may wonder while I'm asking this, so: In a staging area where I'm working we got a FTTH 1 Gbps simmetric connection with CGNAT, where during peak hours we get around 40-50 devices connected and very sluggish connection. As we were originally using the router supplied by the ISP (an home router basing) I've offered my self to replace it with an x86 based one and a couple of access points (I'm not a network professional).We find 6 ASes in which subscribers only receive a port chunk smaller than 1K; for 3 of them, the chunk size falls to 512 ports—a scarily small number given that loading a single Web page can result in many dozens of TCP connections to fetch its various objects [11], resulting in a sizeable overall number of concurrent connections in residential networks [4].
....
On the limiting end of the spectrum, we find ISPs allocating as little as 512 ephemeral ports per subscriber (§ 6.2), multiplexing up to 128 subscribers per public IP address.