ie8 fix
madison

Networking

Steven J. Vaughan-Nichols

NAT won’t save you from the need to switch to IPv6

By | October 4, 2010, 9:57am PDT

Summary: Naïve network users still think that NAT can save them from the need to switch to IPv6. Sorry, NAT is a band-aid on a spurting artery.

Once upon a time, anyone could get a static Internet Protocol (IP) Class C /24 address. That meant you got 256 addresses, well actually since .0 and .255 are set aside, and one address was assigned to your gateway you actually had 253 addresses. But that was more than enough for most small businesses. That was then. This is now.

Today, ISPs don’t hand out Class C /24 addresses to just anyone. Instead, you’ll need to ask for one, and you’ll probably pay extra for it. Today’s SOHO default seems to be a Class C /30. That will give you four hosts addresses, with only one of those IP address actually being assignable to a device. Yes, all your PCs and what-not on that network can get to the Internet via NAT (Network Address Translation), but NAT is no more a permanent fix than using duct tape to seal a gas tank leak.

Sure, it will work fine for you for today, but what about tomorrow when you need more addresses? In the long run, as John Curran, president and CEO of ARIN (American Registry for Internet Numbers) explained, “Although NAT works fine for a single enterprise, ISPs know that NAT can’t be scaled indefinitely on the scale that they would require to continue to connect customers just via IPv4. This is why they’re looking to IPv6 to connect new customers. And while some carrier-scale NAT (between IPv6 and IPv4) will be used during transition to IPv6, we need to focus on making public web sites IPv6 reachable in order to keep the Internet running over the long-term.”

There are other reasons as well why NAT won’t be enough in the future. Hurricane Electric’s IPv6 Evangelist, Owen DeLong told me, “NAT was great as a stop-gap for a limited set of use-cases while we developed a protocol with a larger address space. Indeed, it has bought us a nice 10-12 year cushion on address exhaustion. However, unfortunately, a great deal of mythology has grown up around this ’savior of the day’ technology. I think it is best to start by spelling out some of the myths and facts surrounding NAT.”

“First,” DeLong continued, “NAT introduces a number of problems. Many of these problems have been made invisible to the end user and even to the network administrator deploying NAT, but, if you ask any software vendor that has had to develop software that works in spite of NAT, you’ll rapidly find out that it’s making software much more expensive, complex, and even larger than it needs to be.”

In addition, “NAT makes it hard for users stuck behind NAT to offer any form of service(s) from their machines. While I realize there are those that argue this is a good thing, I will maintain the position that the choice to offer a service to the Internet or not should rest with the owner of the machine in question in most cases. In the cases where it should not, well, a good firewall can still solve the problem without the need for NAT.”

Even some of what people see as NAT’s advantages don’t hold up on closer examination. “NAT does nothing for security,” said DeLong. “The entire security benefit most people attribute to NAT actually comes from the stateful inspection of packets that is required in order to maintain state tables for NAT to be able to reverse translations on reply traffic. There are those that argue NAT fails ‘closed’ and is therefore more secure. A properly designed stateful firewall fails equally ‘closed.’”

“So, he continued, “at its core, NAT offers one and only one truly useful feature to the Internet. It allows lots of end-users to hide behind a small number of often one, address(es). However, this only helps end users. It doesn’t help for servers, routers, or other infrastructure that must be globally identifiable on the network.”

And, that’s there the real trouble is coming. “Trying to scale NAT beyond its current state would involve running NAT at the carrier level. This introduces several new problems. One problem: Communications Assistance to Law Enforcement Act (CALEA) compliance with a carrier-level NAT gateway would require vast amounts of disk storage. (More than a petabyte per day for 7 years in some large providers according to some estimates).”

Why so much data? DeLong explained, “In order to identify a subscriber today, you can simply use the one public IP address that corresponds to that end-site’s gateway. (Household/business granularity is usually considered sufficient). However, with carrier NAT, you now need the complete state table log and time details. You’ll also need more information about the session being investigated, since you’ll need the timestamps in order to identify the subscriber in question.”

Of course, NAT at that level is also very expensive to deploy and it doesn’t scale worth a damn. Worse still, “NAT at the carrier level will also break many of the now common NAT traversal solutions (programs that let you use software that doesn’t work well with NAT such as Voice-over-Internet Protocol), resulting in applications that work in the current environment failing in this proposed future environment.”

In short, as DeLong concluded, “Yes, there are some unknowns and some other challenges with the migration towards dual stack and eventually the replacement of IPv4. However, there are many more unknowns and a much larger set of challenges contained in doing NAT at the provider level.”

And, I might add, with fewer IP address ranges to go around, end-users will soon feel the pain as well in the form of higher ISP fees both for simple connections and for Web hosting. You can use NAT all you want, but in the end you’ll be paying more. The days of IPv4 and NAT are numbered.

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Steven J. Vaughan-Nichols, aka sjvn, has been writing about technology and the business of technology since CP/M-80 was the cutting edge, PC operating system

Disclosure

Steven J. Vaughan-Nichols

Steven J. Vaughan-Nichols is a freelance writer. He does not own stocks or other investments in any technology company.

Biography

Steven J. Vaughan-Nichols

Steven J. Vaughan-Nichols, aka sjvn, has been writing about technology and the business of technology since CP/M-80 was the cutting edge, PC operating system; 300bps was a fast Internet connection; WordStar was the state of the art word processor; and we liked it.

His work has been published in everything from highly technical publications (IEEE Computer, ACM NetWorker, Byte) to business publications (eWEEK, InformationWeek, ZDNet) to popular technology (Computer Shopper, PC Magazine, PC World) to the mainstream press (Washington Post, San Francisco Chronicle, BusinessWeek).

29
Comments

Join the conversation!

Just In

RE: NAT won't save you from the need to switch to IPv6
JACOBSONR 14th Oct
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.
0 Votes
+ -
Bring on the IPv6! I'm ready for it.
@Loverock Davidson,

I hope I'm not going to be expected to remember IPv6 addresses

2001:db8:1f70::999:de8:7648:6e8

is ugly.
0 Votes
+ -
I have read story after story about the need to migrate to IPv6 - but I have yet to hear a compelling business case. The amount of time, money, and effort required to transition to IPv6 behind the firewall just doesn't add up. How big does your company have to be to get funding and project approval to invest in such an effort, and how do you justify the ROI?
0 Votes
+ -
Contributr
Why IPv6
sjvn@... 4th Oct 2010
@jdbarney@... It's more a matter of people 'having' to switch from trains to cars. Trains still, for a while, went everywhere, but the infrastructure dollars went to building roads instead of railroads. That's not a great analogy--part of our problem now is we can't build any more Internet railroads even if we wanted to--but I hope it gets the idea across. We don't have any choice. We never did really. We've just managed to delay the change-over.
0 Votes
+ -
@sjvn@... That's a funny analogy, seeing the "Progressives" are pushing for more and more light rail, vilifying the car drivers, and sinking funds into projects that will actually increase road congestion. Maybe you could help them realize the error of their ways... :o)
@jdbarney@... Only doing something because it is "profitable" will ultimately backfire. Humans are the ones deciding what is "valuable" and "profitable". And what's profitable isn't always the right or good thing to do, and then when the brick wall is hit, it often costs far more money to change things around. "Compelling business cases" only see short-term balance sheet modifications. Not long-term stability, or long-term anything. That is not logical for a stable paradigm, economical, ecological, or otherwise with an "-al" suffix at the end.
0 Votes
+ -
History proves you wrong
frgough 4th Oct 2010
humans acting out of obtaining profit are the ones who have provided pretty much everything you enjoy today. The disasters have always come when central planners, who think they know more than the common man decide what should and should not be done.
0 Votes
+ -
Really. No Business case?
JoeMama_z 4th Oct 2010
@jdbarney@...

You had one in this article (cheaper, smaller, simpler software). here are a few more.

No more DHCP, the methode used the IPv6 has limitless scaling and redundancy.

Connectivity redundancy, baked right in.
IPSec baked right in
NAT IS expensive, IPv6 doesn't require NAT and in fact IPv6 doesn't even really support it (because whats the point?)

I frankly cannot wait for IPv6, it would lower my customers support fee's substantially.

IPv6 IS worth the money, any (knowledgeable) networking guy will tell you. Too bad we just aren't ready yet.
it like crazy right now. The fact that they aren't means it is currently not worth the money. Welcome to the real world.
0 Votes
+ -
DHCP has other advantages...
Richard Flude Updated - 4th Oct 2010
like management, hence DHCPv6.

Dual IPv4/IPv6 stacks for internet facing devices will be required.

Many of your customers will take a long time to transition from IPv4 to IPv6 for their LAN. For this reason IPv4 IP will continue to be very valuable (IPv4-mapped IPv6 address).

Advice from a knowledgeable networking guy!

Which of your customer support fees will be lowered by operating a dual stack?
@jdbarney@... The business case is simple, as IPv4 addresses run out, the price will go up. If you want to sell services on the internet eventually it will become too costly to provide them over IPv4. Moving forward, IP address use will skyrocket, next generation phones are looking at assigning an IP to every device, this is going to happen fast and the less prepared you are the more costly it will be to handle the transition.
0 Votes
+ -
Hmmm, I don't get it. You say that NAT has to be moved to the carrier. But for enterprises that manage their own firewalls, it only requires an IPv6 to IPv4 NAT translation in the edge device. This is more than sufficient for small businesses that really can get by with the /30 address space. Consumers may have to switch but that only requires Win Vista/7 or other OS that supports IPv6 as almost all consumers have no clue what an IP Address is and they rely on DHCP from the DSL/Cable router....
0 Votes
+ -
6to4 isn't NAT
JoeMama_z 4th Oct 2010
@Freddy McGriff

XP/2003 Supports IPv6 as well
@Freddy McGriff What happens when you can't get a /30 for your IPv4 external? The point here is that in less than a year, there won't be any more IPv4 addresses to give to new organizations for their firewalls.

By moving NAT to the carrier, the theory (practice is much messier, but, I'll talk about theory) is that you can use RFC-1918 /30s outside the enterprise firewall and a second layer of ANT at the carrier to map those RFC-1918 addresses from several enterprises into a single IPv4 address.

In reality, the cost effective alternative is to deploy IPv6. Yes, you'll need to run dual stack for some time and the longer you do, the longer it takes to realize the cost savings from IPv6.

Any transition has costs associated with the transition.

I would argue that the business case here is more along the lines of a parallel to the business case for any of the following:

Insurance
Y2K Compliance
Disaster Recovery planning/DR sites

It's not a question of making more money by going to IPv6, it's a question of being able to sustain your current business. In less than a year, if you don't have IPv6 capabilities on at least the public internet facing parts of your business, you're going to be at an increasing disadvantage compared to your competitors that do.

If you're an ISP or your business is otherwise internet-centric, the costs of not going to IPv6 could include such effects as complete stagnation of your business (no new addresses = no new customers), increasing proportions of your customers getting a bad user experience reaching your site (up to and including utter inability to get to your services), etc.

I hope that clarifies.

Owen DeLong
IPv6 Evangelist
Hurricane Electric
0 Votes
+ -
Obligatory car analogies
neojima 4th Oct 2010
@sjvn, I think an apt analogy is that with IPv4, we can only build so many train stations, whereas with (IPv6) cars, they can drive wherever we need them to go.

Minor slip-ip (originally a typo, but feels right), ITYM /29 rather than /30; a /30 would only allow for 4 IPs, -3 = 1. Painful, but useful in some odd scenarios.

As an aside, CGN is a huge pain in the rear when the customers hope to run Internet-facing services on their connection. No such luck, you'll only be able to do that with IPv6, and then only to other IPv6 users. Sticky.
0 Votes
+ -
Keep beating the IPv6 Drum
JoeMama_z 4th Oct 2010
The sooner we move the better.

I don't think many people factor in the cost of NAT, just because it's so ubiquitous in the IT field. But removing NAT makes EVERYTHING simpler; routing to application availability, the version of IP doesn't really matter (although there are numerous advantages to v6.

Anyway, like you blog keep up the good work.
- Sam
A big problem, and ARIN doesn't seem to address it is, we pay so much each year for a block of IPv4 static addresses and it appears on ARIN's web site we'd need to pay the same amount for a block of IPv6 addresses. According to at least one RFC, IPv4 should be mapped into a specific range of IPv6. This would mean that if you bought an IPv4 block, it would also be an IPv6 block. but from I can see on the ARIN web site, this does not appear to be the case. Therefore, you need to buy 2 blocks instead of 1, double the price. For most businesses, that's a non-starter. They will hold onto IPv4 until the bitter end, when they will then do a massive switch-over to IPv6.

But since there is an RFC which maps IPv4 into IPv6, all web-services should have it enabled by default. This would make the web-servers both IPv4 and IPv6 compliant right away. It would then make the adoption of IPv6 from an ISP's point of view easier. Clients would get an IPv6 address and they'd be able to reach everywhere on the web they can now, a requirement for adoption. And for those who want to run servers, they pay extra for an IPv4 address.

Because right now, the system is a mess. With both IPv4 and IPv6, it looks like this:
A client has a DSL router/modem. The router/modem provides a 192.168.*.* IPv4 address and DHCP to the client. The client may have IPv6 enabled on their computer but they don't know anything about IP, and so they don't get an IPv6 address assigned to them by DHCP. Therefore, their IPv6 isn't going to work.

A smart client may be able to set up an Ipv6 tunnel through IPv4 but for the average user, it's not going to happen.

You might be able to get every computer user hooked to the router/modem to run their own PPPoE session and thus connect using IPv6, but again, this is not intuitive for the client user.

But lets say each client does run their own PPPoE session over their router/modem. Now, we've overloaded the IPv4 address space just so we can make a proper IPv6 connection. So do we NAT the IPv4 and pass through the IPv6?

What ICANN has not done is make the migration path easy. There is no clear migration strategy other than a complete mess.

A simple message to ICANN:

GIVE US A CLEAR AND SIMPLE MIGRATION PATH AND WE WILL FOLLOW IT!
@mheartwood Let me clarify this a little bit...

IPv4 Mapped addresses are _NOT_ IPv6 addresses for generic use. They are a way for applications developed for IPv6 to accept IPv4 connections without having to treat them differently from IPv6 connections on hosts which have both address families.

In order to get IPv6 from ARIN as an end user, you will need to pay an IPv6 initial assignment fee one time. However, the annual maintenance fee you pay will remain at $100 for your combined IPv4 and IPv6 addresses. If you are an ISP, the fee situation is a little more complicated, but, in short your annual fee will be the larger of your IPv6 or IPv4 fees, which, in most cases, means you will not pay more for IPv4+IPv6 than you currently do for IPv4.

The exception is very small ISPs that currently qualify as X-Small in IPv4 where the current ARIN policies make /32 the minimum ISP allocation which creates an increase in annual fees for those particular ISPs to adopt IPv6.

THe RFC you are referring to does not work quite the way you are thinking it does. You will need to deploy real IPv6 addresses, not just IPv4 mapped addresses on your web servers to support IPv6 connections to your web servers. The RFC in question is a way to allow your IPv6 capable software to parse IPv4 connections on hosts with both protocol families.

You are correct in that ISPs deploying IPv6 to the SOHO and residential markets will need to also do some router upgrades at the subscriber side in order to support IPv6. This is well known and is already in progress at a number of ISPs.

As to tunnels, some (6to4 and Teredo, for example) are created automatically by the host in some circumstances (for better or worse).

Having every user run PPPoE at the host is messy and I don't think anyone will do that. I think that native IPv6 will be the norm and that CPE routers will get upgraded accordingly.

ICANN doesn't really have much to do with the migration. All ICANN does is provide a central registry that doles address blocks out to Regional Internet Registries (RIRs). IETF does the protocol engineering and they have provided a clear and simple migration path.

The path is to add IPv6 to your IPv4 hosts. This probably requires upgrades to your routers and may require upgrades to your software and possibly even some of your other hardware.

Part of the problem here is that much of the CPE equipment and most of the SOHO and residential ISPs aren't quite there yet.

I hope that answers your questions.

Owen DeLong
IPv6 Evangelist
Hurricane Electric
(And a member of the ARIN advisory council)
Today?s SOHO default seems to be a Class C /30.

There's no such thing as a Class C /30. Class A, B, and C no longer exist thanks to classless inter-domain routing. By definition, /30 is smaller than the old Class C space.
Wow this topic got pop quick happy. @ Steven nice Job
0 Votes
+ -
Point on the security mentioned
palladin9479 Updated - 18th Oct 2010
I must correct him on a security point he tried to dodge. The security provided by NAT isn't in the dropped packets, although that is the effect. Its in the impossibility of an outside host addressing a packet to an inside host.

A host at 117.68.42.36 can not send a packet to host 192.168.11.4 as the ISP level routers will discard the packet long before it ever gets to the user. Private address space can't be routed across tier 0 providers. The attacker must instead be forced to send all packets directly to the router and the router with no knowledge of the destination host. The second advantage of a NAT setup is it prevents and outside entity from passively scanning your network by listening to outgoing packets and using that to create a network map. This can then further be refined into which hosts are running which OS's and which applications along with the versions of those applications and services. A potential attack can then refine their attack methods to attack your specific weak points. With a NAT in place all in / out bound traffic is forced through a single or set of IPs that are ubiquitous and typically belong to a very hardened network device. And outside attacker would find it impossible to assign local IP's to specific operating systems and applications.

Also he is incorrect about the origins of NAT on IPv4. It wasn't created to extend the global IP supply, but to dodge the need to purchase multiple subscriptions from ISP's for multiple PC's. On dialup ISP's required each PC to have its own account / modem and phone line to be have simultaneous internet access. This policy continued with broadband. Through this technique home users and small business's were able to stand up their own networks without the need to purchase expensive business grade subscriptions. This ability will vanish without some way of masquerading an entire local network behind a single apparent host. Really read your ISP's contract, it mentions the service is on a per-device basis.

NAT by definition doesn't provide security, but the situation it creates for the attack is what provides a layer of security. It was purposely created to prevent outside entities from either accessing local systems or being able to enumerate / distinguish between them.

And while I believe we need to move on to IPv6, the engineers need to get off their high horse and design a form of point to point NAT. Then design a standardized method for applications to transverse it. This would give the best of both worlds. More IP address's for the world, and the ability of home and business users, if they desire, to completely masq their networks from public view. If they do not design this into the standard then someone else will create it. IPv4 NAT wasn't created as a standard, it started as a trick then grew and grew until it became a de facto standard. Another one will be created and grow just like the first one, for the exact same reasons.
I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate! nccma cooler
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post. this thread is amazing i like your work and i appreciate you that you have share a useful stuff thanks for sharing the i shop abatwa
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post.Bookmarking now thanks please consider a follow up post. power sa shop
I think the representation of this article is actually superb one. This is my first visit to your site. Thanks a lot and keep sharing the information. Keep updating the information for all of us. Thanks ZDNet Government was launched as the brand's first industry vertical, with a mission to cater to IT professionals in the public secto I agree with your post. However, do you have any sources I can cite for my paper wheel car com bury
Well welcome, hopefully you can become a vital member of the community and really help to push far ahead of google. Which Im sure the development team would love. This will of course earn you alot points too and get you on the leaders board. z d n e t t h a n k Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas.
Thanks nice info z d n e t I really liked your current article write more..let me add you to its favorite The articles you have on zdnet s i t e are always so enjoyable to read. Good work and I bookmarked it.
Fantastic news about the new release.I positively enjoying each little bit of it and I have you b o o k m a r k e d to check out new stuff you weblog post.Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix
Click Here
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix