33
Introduction to Internet Layer Protocols/IP .. 1 Shudhanshu Agarwal B.tech (EC- 2011) Roll no.- 1101421102

internet layer protocol

Embed Size (px)

Citation preview

Page 1: internet layer protocol

1

Introduction to Internet Layer

Protocols/IP ..

Shudhanshu AgarwalB.tech (EC-2011)Roll no.-1101421102

Page 2: internet layer protocol

2

CONTENTS:1. Introduction2. Internetworking

Models3. Internet layer

protocols4. IP Addressing5.Private IP

addresses6.Conclusion

Page 3: internet layer protocol

3

Two main reasons for using Internet Layer :

1. For routing2. Providing a single

network interface to upper layer s

INTRODUCTION

Page 4: internet layer protocol

4

Protocols of Internet layer

1. Internet Protocol2. Internet Control Message

Protocol3. Address Resolution Protocol4. Reverse Address Resolution

Protocol5. Proxy ARP

Page 5: internet layer protocol

5

In 1970s OSI Reference Model was formed.

Helped the different vendor networks to communicate.

Describes data and information transfer from one to another computer.

The OSI has seven layers ,divided into two groups :

Internetworking Models

Page 6: internet layer protocol

6

1. The upper layers :

Page 7: internet layer protocol

7

2. The lower layers :

Page 8: internet layer protocol

8

Looks at each packets address.Helps in identifying the devices.Receives segments from host-to-host layer and fragments them into datagrams .

The IP Header gives the idea of what the IP protocol has to go through.

INTERNET PROTOCOL

Page 9: internet layer protocol

9

THE IP HEADER :

Page 10: internet layer protocol

10

It is a management protocol and message service provider for IP.

Its packets :1. Can provide host with

information about network problems.

2. Are encapsulated within IP datagrams.

ICMP

Page 11: internet layer protocol

11

EXAMPLE :

Page 12: internet layer protocol

12

Finds the hardware address of a host

ARP

Page 13: internet layer protocol

13

Requests for an IP address for a particular MAC address :

RARP

Page 14: internet layer protocol

14

Help machines on a subnet reach remote subnets without configuring routing or even a default gateway.

It can be added to a single router without disturbing the routing tables of the other routers.

PROXY ARP

Page 15: internet layer protocol

15

It is a software address.It was designed to allow hosts on one network to communicate with the host on different network.

It consists of 32 bits of information and these bits are divided into four equal octets separated by a dot.

IP Addressing

Page 16: internet layer protocol

16

Bit Byte Octet Network Address Broadcast Address

IP Terminology

Page 17: internet layer protocol

17

Network address : It uniquely identifies each network.

Node address : It uniquely identifies each machine on a network.

The designers of Internet created classes of network based on the network size.

Network Addressing

Page 18: internet layer protocol

18

The various classes of networks are :

Page 19: internet layer protocol

19

Here the first bit of the first byte must be off, or 0.

Address must be between 0 and 127.

Consider the following network address:

0 x x x x x x x

Network Address Range: Class A

Page 20: internet layer protocol

20

If we turn the other 7 bits all off and then turn them all on ,we’ll find the range of class A network address:

00000000 = 001111111 = 127

Page 21: internet layer protocol

21

Here the first bit of the first byte must always be turned on but the second bit must always be turned off.

Address must be between 128 and 191.

Consider the following network address:

Network Address Range: Class B

Page 22: internet layer protocol

22

1 0 x x x x x x

If we turn the other six bits all off and then turn them all on ,we’ll find the range of class B network address:

10000000 = 12810111111 = 191

Page 23: internet layer protocol

23

Here the first two bits of the first octet are always turned on but the third bit can never be on.

Address must be between 192 and 223.

Consider the following network address:

Network Address Range: Class C

Page 24: internet layer protocol

24

1 1 0 x x x x x

If we turn on other five bits all off and then turn them all on, we’ll find the range of class C network address.

11000000 = 19211011111 = 223

Page 25: internet layer protocol

25

The addresses between 224 and 255 are reserved for class D and E networks.

Class D(224-239) is used for multicast addresses .

Class E (240-225) is use for scientific purposes.

Network Address Ranges: Classes D and E

Page 26: internet layer protocol

26

Some Reserved IP Addresses ...

Page 27: internet layer protocol

27

Page 28: internet layer protocol

28

First byte : network address.

Remaining bytes : node address.

Format is:

network.node.node.node

Class A Addresses:

Page 29: internet layer protocol

29

First two bytes : network address.

Remaining two bytes : node address.

Format is

network.network.node.node

Class B Addresses:

Page 30: internet layer protocol

30

first 3 bytes : network address.

Last byte : node address.Format is:

network.network.network.node

Class C Address:

Page 31: internet layer protocol

31

It is used on private network.

It saves IP.

It uses Network Address Translation to accomplish the task.

Private IP Address:

Page 32: internet layer protocol

32

Reserved IP addresses:

Page 33: internet layer protocol

33

Overview of OSI reference modelAbout IP ,ICMP, ARP, RARP, Proxy ARP

use of Class A ,B and C AddressingImportance of Private IP Address.

CONCLUSION:

Got to know the: