IP or NAT IP: Mostly IP

By Pierre Beyssac

There seems to be a heated debate on this site [for example, here and here] about NAT (network-address translation).

What came as a surprise to me is that a lot of the arguments seem to reside in ideological point of views which obscure the real issues at hand — IP addressing, IP security — and have little to do with NAT's actual merits or drawbacks.

NAT is not all good


NAT is not all bad

What we should really care about

NAT is really just a tool. It's not a plot by conglomerates to kill peer-to-peer networking, but it's not the panacea either.

The important thing is that users should have a choice, and not only regarding whether or not to use NAT.

So the things we really should insist on are:


Most of these points are not new and existed from day one of dialup connectivity, well before NAT was even an idea.

I think that's a better way of stating the real problems masked behind (pun not intended) NAT, and a clearer way of expressing what objectives really matter for the future: preserving users choice of a real (open, end-to-end) Internet connectivity where they want it, and allowing them to serve content as they see fit.

By Pierre Beyssac

Related topics: DNS, IP Addressing, Security

Get our weekly report:

WEEKLY WRAP — Get CircleID's Weekly Summary Report by Email:
Print Comment

Comments

Re: IP or NAT IP: Mostly IP Jane Clinton  –  Feb 16, 2004 2:29 PM PST

Nice one, Pierre. Thanks!

Re: IP or NAT IP: Mostly IP dave  –  Feb 19, 2004 6:21 PM PST

The article makes it seem as though users have a mutually exclusive choice-- IP filtering or NAT.

Most networks implement both techniques. There's no way with IPv4 to have as many services on the Internet as there are today w/o NAT-- there simply aren’t enough IP addresses.

The article states that NAT breaks certain protocols and destroys end-to-end communication. If the NAT device you're using is up to par, this should never occur. I'd enjoy some examples of common protocols that break as a consequence of NAT.

Re: IP or NAT IP: Mostly IP Mark Smith  –  Feb 23, 2004 5:25 AM PST

I've become very anti-NAT over the years, due to both bad personal experiences with it, personal observations and through reading documents written by others that point out it's flaws.

Before listing them, firstly I'd like to point out that the pro-NAT argument usually is always made with an unstated assumption of single point of connectivity residential Internet access. Once you change that assumption, in any way, the perceived advantages of NAT rapidly disappear.

My personal experiences :

* A 10 000 user network lost Internet access, as the power supply in the single NAT box failed. I'd acknowledge that this isn't directly a NAT caused problem - redundant Internet connections should have been installed. However, using NAT causes state to be embedded in the network. If redundant NAT boxes were set up, then, to maintain connectivity over a NAT box failure, NAT state information has to be synchronised between the pair of NAT boxes. This may be possible over a proprietory NAT synchronisation protocol, however, the issue then becomes geographical redundancy. Redundant Internet connections shouldn't be in the same building, if possible. Typically these NAT synchronisation protocols only operate over special cables, that force the redundant NAT boxes to be in the order of 1s or 10s of meters apart. So much for geographical redundancy. Routers, performing stock standard IP routing, and no NAT, would more simply and easily achieve the reasonable levels of redundancy required, including geographical.

* I spent six weeks working on NAT / IPsec VPN solutions, which were very complicated, due to both the number of types of NAT available,and the VPN-NAT/Internet, VPN/Internet-NAT, VPN-NAT/Internet-NAT combinations the customers may have wanted. At the time, I was working for the worlds largest ISP, who is likely to have the largest amount of public address space available. NAT shouldn't have been necessary for any of their customers.

* The first NAT installation I worked on (before I'd wised up) was back in 1995. The firewall performing NAT didn't support NATting of NetBIOS, so the customer couldn't access their internal NetBIOS network over the Internet (remember, this was the early days of the Internet, security wasn't as much of an issue, IPsec / VPNs weren't really available).

A few other useful documents that describe the problems with NAT, and why it really should be avoided :

RFC 2993 - Architectural Implications of NAT

Things that NATs break

The Middleware Dilemma

Why are NATs so popular?

Speak Freely - End of Life Announcement

The Digital Imprimatur

I'd encourage those who think NAT is OK to have a read, as I'm looking for converts. If I get enough, I might even have some anti-NAT badges made up, that people can wear on their lapel (or should it be t-shirt) :-)

Re: IP or NAT IP: Mostly IP Phil Howard  –  Feb 23, 2004 6:47 PM PST

I believe that certain security requirements should be required of users, and be forced upon them, to prevent the major forms of abuse that is otherwise hard or impossible to mitigate.  The most prevalent form right now is viral infections or faulty software operating as open proxies that allows spammers to use machines without the owner even knowing, resulting in a huge ongoing waste of bandwidth which in a few cases even deprives other users of their ability to use the internet.

My suggestion is that providers should block outgoing connections to port 25 destinations, other than their own designated mail servers, by default, unless the customer specifically indicates they will be operating a mail server.  That won't eliminate all problems, as even mail servers can be misconfigured by people whose knowledge of email isn't much beyond knowing to ask for SMTP to be allowed.  But at least it would stop abuses eminating from the vast majority of people who have no idea what SMTP is, or what viruses are, or even what an operating system is.