About this essay
I wrote this essay as a project in 2.G HTX.
If you would rater read it offline i provide it as a pdf.
Download pdf.
Because of the limits of html I have made som minor changes from the pdf
to the html version.
Preface
This paper is a description of the ip protocol version 4, ip protocol version 60.1, and why we are to deploy IPv6 as a standard instead of IPv4. There is also a IPv5 protocol0.2, it is called the streaming protocol, but it has not been deployed very widely. It doesn't provide any of the breaking news as IPv6. This is why we aren't going to discuss it here.To get an idea of what the ip protocol is, I am first going to give a short description of what it is.
The ip protocol is the part of a network that makes it all work. The ip protocol is the basic part of the Internet. It is the part that transfers all of the data around the network.
Problem formulation
In this paper I am going to give a description of how the IPv4 and IPv6 protocols work. This description will mainly be about how the addresses work, and what the ip protocols are, and what they do.
After that I am going to give a description of the reasons why we should change, from the old IPv4 to the new IPv6 protocol. I will try to describe possible problems that users and firms might have with the change and which problems they might face if they don't make the change to IPv6.
Contents
- Preface
- Problem formulation
- Intro to the IP protocols
- Why is it a good idea to implement IPv6?
- Bibliography
- The numbering systems
- ISO/OSI Network Model
Intro to the IP protocols
Overview
The ip protocol is the part of the Internet that makes it all
work, it is the part that is responsibil that the data we sent
arrive at the right places. Without a network protocol no computers
could communicate with one another. The ip protocol is in the OSI
model1.1 called the network layer. We all know
that the number of computers connected to the Internet is
constantly growing, which means that we are running out of IPv4
addresses. This is why we are starting to deploy IPv6 as a
standard. This new version has several improvements over the old
one.
The most important ones are:
- More addresses.
- Simpler layout.
- Smaller, meaning faster communication.
- Builtin security.
Most of the servers that make the backbone of the Internet1.2have at this time been converted to use IPv61.3.
The ip protocol is used when you want to see a web page, when you receive e-mail, if you print to a network printer, if you access files that is on another computer than the one used. These are just some of the things that utilize the ip protocol. In the light of this we can conclude that the ip protocol is essential to the Internet.
History
This part builds on the information provided by [1]1.4 and [2].The TCP/IP suite of protocols was developed by the Department of Defense in the sixties. It was developed to connect the ''ARPANET''1.5. This network consisted mainly of university computers and computers at other research places.
The protocol and its popularity grew until it in 1981 became a network standard.
Se the timeline in appendix C. Page 11.
The protocols
This chapter builds on the facts presented in [3], [4], [5] and [6]. The ip protocol(all versions) is a package switching protocol, meaning that all data sent and received are in packages. The ip protocol is a connectionless protocol. This means that ip protocol only sees the data as individual packages. This fact is not entirely true because to some extent IPv6 does have knowledge about a connection1.6, this is still experimental though.The computers communicate by using addresses. One way to think
about the ip protocol is like the postal service. Every computer
has a unique address just like our houses. This way it is possible
to sent data to any computer if one knows the address. If the
address sent to is not known(i.e. spelled wrong, not there or other
things) one would either get a message back, that the package was
refused, or a timeout1.7. The way the addresses are constructed
depends on the version of the protocol.
| |
IPv4 | . | |
| Address | 192.168.100 | . | 100 |
| Netmask | 255.255.255 | . | 000 |
| Net-id | 192.168.100 | . | |
| Node | |
. | 100 |
| |
IPv6 | : | |
| Address | 3ffe:ffff:1000:f101 | : | 2100:a4ff:fee3:9566 |
| Netmask | ffff:ffff:ffff:ffff | : | 0000:0000:0000:0000 |
| Net-id | 3ffe:ffff:1000:f101 | : | |
| Node | |
: | 2100:a4ff:fee3:9566 |
This table is explained later.
The IPv4 addresses consist of 32bits1.8 which means that we have 232 1.9 possible combinations. The IPv6 has 128bit addresses which means that we have 2128 1.10 possible combinations. As we can see there are considerably more addresses in IPv6. This should give us a sufficient number of addresses so we don't run out in the near future.
When a computer wants to communicate with another computers it first finds out whether or not the other computer is on the same network. To do this it uses the netmask1.11. If it is on the local network it transmits the data without delay. But if the computer is not on the local network it sends the data to the router1.12 the router now is responsibil of making the data go to the designated place. If it can't accomplish this task it notifyes the computer that sent the package.
The sole responsibility of the ip protocol is to sent and receive packages.
Addresses
IPv4
The IPv4 addresses consist of an address and a netmask. The
address consists of 4 numbers, each can range from 1 to 255. The
numbers in the address consist of net-id and node. The net-id is
the number that identifyes the network. The normal way to write an
IPv4 address is to use base 10 numbering system1.13. The
net-id is the number that defines which network the node is on. The
node is the number that identifyes the unique computer. What the
net-id and node are inside the address is specified by the
netmask.
| |
IPv4 address specs | . | |
| Address | 192.168 | . | 100.100 |
| Netmask | 255.255 | . | 000.000 |
| Net-id | 192.168 | . | |
| Node | |
. | 100.100 |
If we change the netmask, the net-id and node will change accordingly1.14. The netmask is only used at the local network to decide if the address transmitted to is local or not. The sole purpose of the netmask is thus to identify if a computer is local or not. This means that any computer not on the local network will not know the netmask of the other part and doesn't need to. This is due to the fact that when a computer wants to sent data to a non local computer the data is sent to a router and it takes it from there.
IPv6
The IPv6 addresses consist of an address and a netmask, just
like the IPv4 addresses. The address consist of 8 numbers, each can
range from 0001 to ffff in the base 16 numbering system1.15. The
numbers in the address consists of net-id and node just like in
IPv4. The net-id is the number that identifyes the network. The
only difference from IPv4 are that the netmask and the address is
notated in base 16 and that the addresses are longer.
| |
IPv6 address specs | : | |
| Address | 1234:d5ef:764e:f619 | : | ffff:5fff:5643:fe32 |
| Netmask | ffff:ffff:ffff:ffff | : | 0000:0000:0000:0000 |
| Net-id | 1234:d5ef:764e:f619 | : | |
| Node | |
: | ffff:5fff:5643:fe32 |
Like in IPv4, if we change the netmask the net-id and node will change accordingly. The netmask functions exactly the same way as in IPv4.
Summary
This chapter was a short description of how the ip protocols implement the addresses. How it transmits packages to other computers.All of this happens transparent to the user. To make it even easier for us, we have a ''name translation'' service called DNS. This service has the assignment to translate the addresses we know i.e. www.aats.dk into ip addresses that the programs can use. Because of this, normal users will never have to operate with ip addresses directly.
Why is it a good idea to implement IPv6?
Consider the future
First of all, we are running out of IPv4 addresses. This fact means that if we don't make the change, the cost of an IPv4 address will rise so much that all but big corporations can afford it. This fact will mean that the price one pays to the ISPs2.1 will rise so high that many users would choose to not use the Internet. This will be a large step back for the global and free nature of the Internet.
Second, the ipv4 protocol was proposed as a standard with RFC791 in 1981. As we can see the standard is over 20 years old; this is extremely old when we talk about computer technology. This means that the ''inventors'' could not foresee that the size of the Internet would explode as it has, thus they could not know anything about many of the problems we face today.
One of these problems is that there is no security built in too the protocol itself2.2 although this protocol have driven the whole Internet for many years!
Another problem is that the header2.3 is not that clean and thus has a lot of overhead2.4, this has serious impact on performance. That there is sent more information than is needed has the effect that the device that handles the info becomes more complicated than needed, this means that the price will become higher. Although the overhead we are talking about isn't more than a few bytes per package this has severe impact on performance when there are sent several billion packages.
Because of the many parts of socity that need on the Internet it would affect many persons and firms that use the Internet.
If we implement the IPv6 protocol it would help on some of these problems. The security part is perhaps the part that will be used the most, mainly because it will be possible to secure all communication on the Internet, not only the communication that is potentially sensitive.
The users
The users have at this time nothing to be concerned about because IPv6 is back portable. This means that when all of the Internet converts to IPv6 it will still be possible to use IPv4 addresses for some time. The reason for this is that the migration to IPv6 is probably going to take a long time and because of this it is a good idea that IPv4 and IPv6 can work side by side at the same time.
One of the big problems is that when one converts to IPv6, none of the programs that utilize the network will function. This is due to the difference in address notation. Current programs are programmed to use 32bits addresses, these programs will need to be reprogrammed to use the new 128bits addresses. Although this is a rater small problem for commercial programs that are upgraded frequently. It will mean that many of the minor programs that are made by private persons or firms that don't exist any more will instantly be rendered unusable if a user converts to IPv6. This is due to the fact that the addresses are different. The problems with the programs will without doubt confuse many of the non technical computer users. This will result in chaos for the tek support of the ISPs and the firms that produce the programs when they have hundreds of persons that call at the same time.
Those are some of the problems that the normal computer user faces when we convert to IPv6.
The firms
The problems with programs will no doubt be a big concern for the firms because they will need to convert all of their network programs and hardware to be able to use IPv6. This is especially a problem for firms that have custom made programs that depend on the network. This fact will with no doubt make the firms wait until the costs of using a IPv4 network are more expensive than the costs to convert to IPv6.
When are we to displace IPv6
The IPv6 protocol is not going to be displaced for many years, this is due to the fact that it includes security and has an enormous amount of addresses. We are entering a future where a lot of devices2.5will be able to use the Internet to order things they need. This means that things like the refrigerator, the coffee machine and allot of other devices will be able to make it more comfortable for us. This will of course make other demands to the protocol it uses.This scenario could make a demand of a protocol that would be simpler and have less features than IPv6. It will then be the question if we need a simpler protocol or we will have the advance that IPv6 can already communicate with the Internet. The IPv6 has another advance, it can encrypt the data that are sent. The reason for this is that it has become more and more necessary to secure our personal data, that be social security number, what we eat, or which medicine we use. All of those parts of information is probably information we don't want to share with the world.
Because of these facts IPv6 has a great potential to be the protocol of choice, also because the devices that implement it will be compatible with many other devices, this has an impact on the price of the devices. If the devices implement a protocol that is widely and goodly understood, it will have a positive effect on the price level.
Conclusion
As we can see it will be a good idea, to change from the old IPv4 to the new IPv6. The reason for this is mainly that IPv6 has buildtin security and has better performance than IPv4. It will lead to big problems in the future if we don't change to IPv6. These problems will be that the prices will go up, and that nobody will be able to afford to use the Internet. It will also in the future be possibe that things like coffee machines will be connected to the Internet. This will make other requirements to the protocols, which will mean that we will need simple protocols like IPv6.Bibliography
- 1
- John Ray: Special Edition Using TCP/IP. ISBN: 0-7897-1897-9.
- 2
- A Brief History of the Internet from www.isoc.org, 20/12-2002 (cf. appendix C).
- 3
- RFC 791 from www.rfc-editor.org.
- 4
- RFC 1340 from www.rfc-editor.org.
- 5
- RFC 2460 from www.rfc-editor.org.
- 6
- RFC 2373 from www.rfc-editor.org.
The numbering systems
http://mccammon.org/articles/numbering.php
The author removed the page.
http://www.archive.org
have saved the page so we can still access it.
ISO/OSI Network Model
http://www.uwsg.iu.edu/usail/network/nfs/network_layers.html
- ... 60.1
- From now referred to as IPv4 and IPv6
- ... protocol0.2
- RFC 1819
- ... model1.1
- This model is invented by ISO www.iso.com see Appendix B
- ... Internet1.2
- Part of the Internet that most Internet traffic travels through
- ... IPv61.3
- [1] page 474
- ...IP1.4
- Page 2 ''Problems we face''
- ... ''ARPANET''1.5
- ARPANET was the precedence to the Internet
- ... connection1.6
- [5] section 6
- ... timeout1.7
- If it take to long time to get a response ones computer will timeout
- ... 32bits1.8
- A bit is a number written in the binary numbering system
- ...\space 1.9
- 4,294,967,296
- ...\space 1.10
- 340,282,366,920,938,463,463,374,607,431,768,211,456
- ... netmask1.11
- How it does this is beyond the scope of this paper
- ... router1.12
- A device that transmit data between networks
- ... system1.13
- Normal decimal numbers
- ... accordingly1.14
- See the first table
- ... system1.15
- Se appendix A for details
- ... ISPs2.1
- Internet Service Provider. i.e. Teledanmark, Telia
- ... itself2.2
- [1] page 473
- ... header2.3
- The part of an ip package that defines the logistic
- ... overhead2.4
- [1] fig. 24.1 and fig.24.2
- ... devices2.5
- Routers, Switches, Computers, Toast machines, Refrigerator, etc.