Ip Version Four Classes

Print   

02 Nov 2017

Disclaimer:
This essay has been written and submitted by students and is not an example of our work. Please click this link to view samples of our professional work witten by our professional essay writers. Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of EssayCompany.

IP protocol is the way by which data transferred from one computer or device to another in a network.

Each computer or device which connects in a network and communicates with other devices into it has an IP address. IP address is four numbers from 0 up to 255, divided with dots, for example 192.168. 10. 10.

IP address is unique for each device never two devices have the same IP address. An IP address consists of two sections, the network address and the host address. All devices in a network share the same network address but the host address is unique for each device. What help us to separately the network from the host address is the subnet mask, if we have the IP address 192 .168 .10.10 the last octet number (10) is the host address and 192.168.10 is the network address.

Over time evolved different versions of the IP protocol, initially the IP version four and after that the IP version six. The transition from the one version to the other becomes progressively because 2 versions have differences in many areas.

In this document we will focus in the security issues between two versions. Firstly, we will examine a general overview about the IP version 4 and IP version 6, header information addressing system and head comparison. Later we will focus in the main topic which is the security issues for these two versions. Finally, we will occupy with the conclusion that will occur from this comparison in security issues between IP version 4 and IP version 6.

IP version 4 general overview

IP Version Four History

In the 1980, When the Internet went live to the public, IP Version Four was the fourth versions of internet Protocol, and the first offered to the public.

IP Version Four is the general standard of delivery of information between devices connected to the Internet. Although the DOD (Department of Defence) adopted IP Version Four as its standard also, DARPA has continued to advance the methods used in transferring information between agencies.

IP Version Four does not guarantee delivery of information between devices. It is build on best effort delivery theory. With the advancement of wireless technology, a new protocol calls IPv6 may soon become the new IP standard.

IP version four Header

In the IP Version Four header. Source address and destination address has the length of 32 bits. Therefore, the IP Version Four allows an address space of 4.3×109 (232) addresses

4Bits 8Bits 16Bits 24 Bits

Version

Length

Type Of Service

Total Length

Identification

Flags

Time to Live

Protocol

Header Checksum

Source IP Address

Destination IP Address

IP Option

Data

The IP Version Four Packet

IP Version Four header:

Version

This field identifies the port . Now we are using IP version four.

Length

Minimum Header length is 5 (which is the size of the IP header)

Type of Service

This field has a size of 8 bits (1 byte), and describes how to route the packet.

Total Length

This field has a size of 4 bits, and describes the length of the header in 32-bit words

Identification

Identification consists of 16-bit field.

Flags

measuring 3 bit. Each bit is a separate flag

Time to Live

size is 8 bit (1 byte). It contains a number (1-255), which determines the lifetime of the datagram

Protocol

Indicates which protocol is used at the transport layer

Header Checksum

Used to control the proper transmission of title, and not the entire package. size is 16 bit (2 byte).

Destination IP Address

size is 32 bit, and contains the IP address of the final recipient of the packet.

Source IP Address

Size is 32 bit, and contains the IP address of the original sender of the packet.

IP Options

Usually not used. If not used the entire filled with zeros.

Padding

The padding header needs to be ended after a 32-bit word.

Data

The data is being sent.

IP Version Four Addressing

This section examines the IP Version Four Addressing structure. The IP Version Four Addressing consist of 32-bit Internet address which means that there are

only 232 IP Version Four addresses available so the various classes of IP Version Four addresses is : Public and Private IP addresses

Private IP addresses that are designated for networks that have limited or no access to the Internet. Hosts or packets using these addresses as a source and destination are not to appear on the public Internet.

These private address blocks are:

10.0.0.0 – 10.255.255.255 (10.0.0.0 /8)

10.0.1.0 – 172.16.0.0 to 172.16.255.255 (172.16.0.0 /12)

10.0.2.0 – 192.168.0.0 to 192.168.255.255 (192.168.0.0 /16)

Public addresses

Public addresses are Class A, B, and C addresses that can be used to access devices in other public networks, such as the Internet. The Internet Assigned Numbers Authority (IANA) is ultimately responsible for handing out and managing public addresses. Normally you get public addresses directly from your ISP, which, in turn, requests them from one of five upstream addresses:

African Network Information Centre (AfriNIC)

Asia Pacific Registry for Internet Numbers (APNIC)

Latin American and Caribbean Internet Address Registry (LACNIC)

Reseaux IP Europeans Network Coordination Center (RIPE NCC)

American Registry for Internet Numbers (ARIN)

IP Version Four Classes

Address Mask has three level. Class A Address Range start from 10.0.0.0 - 10.255.255.255 the number of addresses is 16 777 216.Class B is The Second Address Range begins from 172.16.0.0 - 172.31.255.255 and number of addresses is 1 048 576.The Class C is the last .Address range for class C is 192.168.0.0 - 192.168.255.255 and number of addresses is 65 536

Class A 

From 10.0.0.0 to 10,255,255,255

Class B

From 172.16.0.0 to 172.31.255.255

Class C

From 192.168.0.0 to 192.168.255.255

Address Class

First Octet Range

Prefix And Mask

Number Of Possible Network

Number of Hosts per Network

A

1 to 127

8/ 255.0.0.0

126 (2^7)

16,777,214(2^24-2)

B

128 to 191

16/ 255.255.0.0

16.384 (2^14)

65,534(2^16-2)

C

192 to 2223

24/ 255.255.225.0

2097159 (2^21)

254(2^8-2)

IP Version 4 Network Classes

Network and Host Parts of Classful Addresses-No Subnetting

Class A

1 Octet

Network

Class B

2 Octets

Network

Class C

3 Octets

Network

Class A Network has the 51 percent of the address space .The class B network was given half of what was lets ( 25 percent ) of the address space .Class C network given (12 percent) of the address space. Class D and Class E was created year later from RFCs. Class D addresses got 6 percent of the available address. Class E addresses then got the remaining 6 percent.

Relative Size of the Ipv4 Address Classes

IP Versions 4 TCP and UDP

The two most common transport layer protocol of the TCP/IP protocol suite is two.

User Datagram Protocol (UDP).

UDP is a simple, connectionless protocol. It has the advantage of providing low- overhead data delivery.

Applications that use UDP:

Domain Name System

Video Streaming

Voice Over IP

Bit(0)

Bit(15) Bit(16)

Bit(31)

8 Bytes

Source Port (16)

Destination Port 16

Length(16)

Checksum (16)

Application Layer data

UDP Datagram

Transmission Control Protocol (TCP).

The TCP provides a reliable protocol over IP. Guarantees that packets will be delivered to its destination, it will arrive in the order in which they were sent and that the contents of the packets will arrive as sent

Following Applications use TCP:

Web browsers

E-mail

File transfers

Bit(0)

Bit(15) Bit(16)

Bit(31)

20 Bytes

Source Port (16)

Destination Port 16

Sequence Number (32)

Acknowledgement Number (32)

Header Length 4

 

Window 16

Reserved 6

 

 

Code 6

 

 

Checksum 16

 

Urgent 16

Option (0 or 32, if any)

Application Layer Data (Size Veries)

TCP Datagram

Subnet Mask

A Subnet mask is a 32-bit number that masks an IP address. The digits can be 0, 128, 192, 224, 240, 248, 252, 254, 255. if we have Ip address 192.168.0.1 with mask 255.255.255.0.

The ip in digital :

IP : 11000000.10101000.00000000.00000001

Mask:11111111.11111111.11111111.00000000

Address

Hosts

Netmask (Binary)

Netmask

/4

240,435,456

11110000 00000000 00000000 00000000

240.0.0.0

/5

134,217,728

11111000 00000000 00000000 00000000

248.0.0.0

/6

67,108,864

11111100 00000000 00000000 00000000

252.0.0.0

/7

33,554,432

11111110 00000000 00000000 00000000

254.0.0.0

/8

16,777,216

11111111 00000000 00000000 00000000

255.0.0.0

/9

8,388,608

11111111 10000000 00000000 00000000

255.128.0.0

/10

4,194,304

11111111 11000000 00000000 00000000

255.192.0.0

/11

2,097,152

11111111 11100000 00000000 00000000

255.224.0.0

/12

1,048,576

11111111 11110000 00000000 00000000

255.240.0.0

/13

524,288

11111111 11111000 00000000 00000000

255.248.0.0

/14

262,144

11111111 11111100 00000000 00000000

255.252.0.0

/15

131,072

11111111 11111110 00000000 00000000

255.254.0.0

/16

65,534

11111111 11111111 00000000 00000000

255.255.0.0

/17

32,768

11111111 11111111 10000000 00000000

255.255.128.0

/18

16,384

11111111 11111111 11000000 00000000

255.255.192.0

/19

8,192

11111111 11111111 11100000 00000000

255.255.224.0

/20

4,096

11111111 11111111 11110000 00000000

255.255.240.0

/21

2,048

11111111 11111111 11111000 00000000

255.255.248.0

/22

1,024

11111111 11111111 11111100 00000000

255.255.252.0

/23

512

11111111 11111111 11111110 00000000

255.255.254.0

/24

256

11111111 11111111 11111111 00000000

255.255.255.0

/25

128

11111111 11111111 11111111 10000000

255.255.255.128

/26

64

11111111 11111111 11111111 11000000

255.255.255.192

/27

32

11111111 11111111 11111111 11100000

255.255.255.224

/28

16

11111111 11111111 11111111 11110000

255.255.255.240

/29

8

11111111 11111111 11111111 11111000

255.255.255.248

/30

4

11111111 11111111 11111111 11111100

255.255.255.252

Structure of Subnetted Ip Network

Class A

Class A (Not Subnetted)

8 Bits

24 Bits

Network

Host

Class A ( Subnetted)

8 Bits

S bits

Network

Subnet

Class B

Class B (Not Subnetted)

16 Bits

16 Bits

Network

Host

Class B ( Subnetted)

16 Bits

S bits

Network

Subnet

Class C

Class C (Not Subnetted)

24 Bits

8 Bits

Network

Host

Class C ( Subnetted)

24 Bits

S bits

Network

Subnet

IP version 6 general overview

IP Versions Six Header

One of the important features in IP Version Six header is the bigest address space. Both source and destination addresses are allowed to have 128 bits. This would create a 3.4×1038 (2128) address space.

Version (4 Bits)

Traffic Class (8 Bits)

Flow Label (20 Bits)

Payload Length (16 Bits)

Next Header (8 Bits)

Hop Limit (8 Bits)

Source Ip Address (128 Bits)

Destination IP Address (128 Bits)

The IP Version Six Packet

The fields in the IP Version Six header and their descriptions are eight:

Version  

The Version field shows the version of IP and is set to 6.

Traffic Class

Traffic Class field is similar to the IP Version Four .

Flow Label

The size of Flow Label field is 20 bits.

Payload Length 

Payload Length field size is 16 bits .

Next Header

The Next Header field shows the type layer such as TCP, UDP, or ICMPv6. The size of the Next Header field is 8 bits.

Hop Limit 

Shows the maximum number of routers the IP Versions Six packet can travel.

The size of the Hop Limit field is 8 bits.

Source Address 

Shows the source of the packet.

The size of the Source Address field is 128 bits.

Destination Address 

Shows the  destination of the packet.

The size of the Destination Address field is 128 bits.

Differences between IP Version Four and IP Version Six Headers

The most important difference between these two is the size of address space. IP Version Four allows only 32 bit source and destination addresses, whereas IP Version Six allows 128 bit source and destination addresses. This makes the address space of IPv4 4.3×109 (232) and the address space of IPv6 3.4×1038 (2128), which is much larger.

Internet Protocol Version 4 (IPv4) 4 Octets

11010001.11011100.11001001.01110001

209.156.201.113

4,294,467,295 IP Addresses

Internet Protocol Version 6 (IPv6) 16 Octets

11010001.11011100.11001001.011100011.11010001.11011100.110011001.01110001.11010001.11011100.11001001.0111001.11010001.11011100.11001001.01110001

A524:72D3:2C80:DD02:0029:EC7A:002B:EA73

3.4 x 10^38 IP Addresses

Comparing IPv4 and IPv6 Addresses

IP Version Six Addressing

The Ip versions Six has access to allocated 18,446,744,073,709,551,616 IP addresses in a single /64 allocation18,446,744,073,709,551,616 IP addresses in a single /64 allocation.

Types of IP Version Six Addresses

IP Version Six addresses are classified into three categories:

Unicast addresses A (One to One)

The unicast address is the single interface in IP version Six.

Multicast addresses A(One to Many)

The Ip Versions Six Multicast addresses have the prefix ff00::/8.Ip Verssion Six multicast address consists from four bit groups

Anycast addresses (One to Nearest (Allocated from Unicast))

Anycast addresses is an address that is assigned to a set of interfaces that may belong to the different nodes.

Network Notation In IP version Six

A network or subnet using the IP Version Six protocol is denoted as a contiguous group of IP Version Six addresses whose size must be a power of two. With IP Version Six, if you have a series of zeroes in a row, the address need not be written out completely. You can use a double colon (::) to represent that series of zeroes, however you can only use that once.

For example, if you have an address like "2011:0AB8:0000:0003:0000:01AF:0000:002A", it can be written like "2011:AB8::3:0:1AF:0:2A" or "2011:AB8:0:3:0:1AF::2A", but would never be written like "2011:AB8::3::1ff::2A".You also cannot have three colons in a row (:::).

The URL to view web site will be form

http:// 2011:0AB8:0000:0003:0000:01AF:0000:002A /

Benefits of IP Version Six

More Efficient Routing

The IP Version Six reduces the size of routing tables and makes routing more efficient and hierarchical paths maximum transmission unit.

More Efficient Packet Processing

The IP Version Six's simplified packet header makes packet processing more efficient.

Directed Data Flows

The IP Version Six supports multicast rather than broadcast. Multicast allows bandwidth-intensive packet flows to be sent to multiple destinations. Simplified Network Configuration Address auto-configuration is built in to IP Version Six Support for new services easier to create Peer-to-peer networks, and services such as VoIP.

Security

The IPSec provide confidentially authentication and data integrity.

Ipv4 - ipv6 security issues and comparison

IP version 4 security issues

IP version four designed with no security direction. IP version four based on end to end model, for example if an e-mail requires encryption service the end nodes are responsible to provide this service. Bellow we will examine some threats because of this model.

Denial Of Service attack (DOS): In this case of attack certain services are flooded with a large amount of fake requests which make the existing system unreachable from the real users.

Malicious, viruses and worms: Because of IP version four small address range allows these threats.

Man in the middle attack: IP version four has not got authentication mechanisms so allows the man in the middle attacks. ICM redirects and ARP poisoning engage these types of attacks.

Fragmentation attacks: This type of attacks take advantage of the method in which stated operating systems. The ping of death is an example of this type where the system flooded with fragmented ping packets these packets grows beyond the certain packet size limit of IP version four.

Port scanning: In this type of attack a section of a network scanned in order to find open services. Because of small IP version four address space this procedure take no more than 3 minutes.

ICMP redirect and ARP poisoning: ARP protocol is responsible for mapping an IP address with a physical MAC address. ARP poisoning occurs when the ARP response from an unknown host in the internet are broadcasted with forged mapping information which can go to the wrong destination. ICMP redirect working with the same way.

IP version six security issues

IP version six is more secure protocol than IP version four but it still to have vulnerabilities. In this section we will examine some of them.

Dual – stack security issues: The transition from IP version four to IP version six will be progressively and it will takes much time. For the transition period from IP version four to IP version six, dual – stack will provide the desired operation. Dual – stack increase security vulnerabilities, as a result of having two infrastructures with certain security problems. Most of security issues are not a result of specific IP version six security lacks but a result of inappropriate configuration.

Header spoofing issues: Spoofing continues to be threat in IP version six networks, due to the fact that the neighbour discovery (ND), spoofing threat is only possible by nodes which belong on the same segment.[1]

Flooding issues: Scanning for services and valid host addresses is more difficult in IPv6 networks because of the larger addressing space but this feature does not mean that IP version six is totally invulnerable to this certain attacks. IP version six feature of multicast addresses exploited by the ‘Smurf Attack’’.

Mobility: Mobility is a new feature of IP version six. Mobility consists of two types of addresses, the real addresses and the mobile addresses. Real addresses are typical IP version six addresses contained in the extension header and the temporary addresses contained in the IP header. The temporary section of a mobile device address may be affected to spoofing attacks.

IP version four and IP version six security comparison

The main security difference between IP version four and IP version six is that security in IP version six is native and this protocol designed considering the security factor.

In IP version six IP sec is a part of the protocol and it is mandatory. In IP version four the IP sec is optional, IP sec adapted to IP version four due to the great need for the security in current IP version four internet structure.

IP sec in IP version four networks contains two modes of security traffic. The first mode called tunnel mode and it uses to protect the whole IP version four packets. The second mode is called transport and it uses to vouchsafe only the payload packets. In IP version six there is no need for tunnel modes because authentication and ESP protocols provide secure traffic in IP version six.

Neighbour discovery protocol and auto – configuration are mechanisms used by IP version six. Both neighbour discovery and address configuration make IP version six more secure than IP version four. Also IP version six provides values for Time To Live (TTL) mechanism up to 255, this parameter blocks outside duplicate addresses and outside neighbour packets.

IP version four address space is smaller than IP version six this results allow theats such as viruses.

General Conclusion



rev

Our Service Portfolio

jb

Want To Place An Order Quickly?

Then shoot us a message on Whatsapp, WeChat or Gmail. We are available 24/7 to assist you.

whatsapp

Do not panic, you are at the right place

jb

Visit Our essay writting help page to get all the details and guidence on availing our assiatance service.

Get 20% Discount, Now
£19 £14/ Per Page
14 days delivery time

Our writting assistance service is undoubtedly one of the most affordable writting assistance services and we have highly qualified professionls to help you with your work. So what are you waiting for, click below to order now.

Get An Instant Quote

ORDER TODAY!

Our experts are ready to assist you, call us to get a free quote or order now to get succeed in your academics writing.

Get a Free Quote Order Now