ldjftkdjfksls fiojewolkjdlfjdskjfwj fio.pptx

digeshdansana 8 views 16 slides Sep 25, 2024
Slide 1
Slide 1 of 16
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16

About This Presentation

ldkfjfgl


Slide Content

Internet of Things: Addressing & Identification Lect #05 Prof. Suchismita Chinara Dept. of Computer Science Engg . National Institute of Technology Rourkela-769008 31-08-2024 Internet of Things 1

Internet Protocol Design 05-07-2022 Internet of Things 2

The IP involves the following components: Header-adding module Processing module Forwarding module Reassembly module Reassembly table Routing table MTU table 05-07-2022 Internet of Things 3

Header Adding Module The Header Adding Module receives data from an upper layer protocol along with the destination IP address. It encapsulates the data in an IP datagram by adding the IP header. 05-07-2022 Internet of Things 4

Processing Module The processing module receives the datagram from an Interface or from the Header-adding module and does the following: Remove a datagram from one of the input queues. If the destination address matches loopback address or local address, Send the packet to Reassembly module. If the machine is a router, decrease TTL. If TTL is less than or equal to 0, discard the datagram. else send the datagram to the forwarding module 05-07-2022 Internet of Things 5

The input queue / The output queue The input queues store the datagrams coming from the data link layer or the upper layer protocols. The output queues store the datagrams going to the data link layer or the upper layer protocols. The processing module removes datagrams from the input queues. The fragmentation and reassembly modules add the datagram into the output queues. 05-07-2022 Internet of Things 6

Forwarding module The forwarding module receives an IP packet from the processing module. The module finds the IP address of the next-hop along with the interface number to which the packet should be sent. 05-07-2022 Internet of Things 7

MTU Table  The MTU table has two columns Interface number and MTU. The MTU table is used by the fragmentation module to find the maximum transfer unit of a particular interface. Fragmentation module consults the MTU table to find the MTU of the specific interface number. If the length of the datagram is larger than the MTU, the fragmentation module fragments the datagrams, adds a header to each fragment and sends them to the ARP package for address resolution and delivery. 05-07-2022 Internet of Things 8

Fragmentation Module Extract the size of the datagram. If size is greater than the MTU of the corresponding network. If “D” bit is set, a discard the datagram. Else, divided the datagram into fragments, add header to each fragment. Add required options to each fragment. Send the datagram. Else send the datagram. 05-07-2022 Internet of Things 9

Reassembly Module If offset value is 0 and the “more fragment” bit is 0, send the datagram to the appropriate queue. Else search the reassembly table for the corresponding entry.(Same D.I. and S.A.) If not found, create a new entry. Insert the fragment at the appropriate place in the linked list.(based on the offset) If all fragments had arrived (“M”-bit and offset), reassembly the fragments, deliver the datagram to the upper layer protocol. Check the T.O., if the T.O. expired discard all fragments. 05-07-2022 Internet of Things 10

IPV6 Overview there is a growing shortage of IPv4 addresses, which are needed for all new devices added to the Internet. The key to IPv6 enhancement is the expansion of the IP address space from 32 bits to 128 bits, enabling a large address space. The new IPv6 address text format is: xxxx : xxxx : xxxx : xxxx : xxxx : xxxx : xxxx : xxxx Where each x is a hexadecimal digit representing 4 bits. 31-08-2024 Internet of Things 11

IPV6 Overview A network component and a node component make up an IPv6 address. The first 64 bits of the address, which are used for routing, are the network component. The later 64 bits of the address, the node component are used to identify the interface. A block of 48 bits, as well as a block of 16 bits, can be created from the network node. Global network addresses are stored in the upper 48 bits of the section. On an internal network, subnets are created using the lower 16-bit segment, which is managed by network administrators. 31-08-2024 Internet of Things 12

IPV6 address format 31-08-2024 Internet of Things 13 The prefix describes the  public topology  that is usually allocated to your site by an ISP or Regional Internet Registry (RIR ) The subnet ID describes the  private topology , also known as the  site topology For example in IPV6 address - 2001:0db8:3c4d:0015:0000:0000:1a2f:1a2b The first 48 bits 2001:0db8:3c4d contain the site prefix, representing the public topology. The next 16 bits 0015 contain the subnet ID, representing the private topology for the site The lower order 64 bits 0000:0000:1a2f:1a2b contain the interface ID.

IPv6 address formats The size and format of the IPv6 address expand addressing capability. The IPv6 address size is 128 bits . Most IPv6 addresses do not occupy all of their possible 128 bits. This condition results in fields that are padded with zeros or contain only zeros The preferred IPv6 address representation is: x:x:x:x:x:x:x:x,Where each x is the hexadecimal values of the eight 16-bit pieces of the address. IPv6 addresses range from 0000:0000:0000:0000:0000:0000:0000:0000 to ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 31-08-2024 Internet of Things 14

IPv6 address formats In addition to this preferred format, IPv6 addresses might be specified in two other shortened formats: Omit leading zeros Specify IPv6 addresses by omitting leading zeros. For example, IPv6 address 1050:0000:0000:0000:0005:0600:300c:326b can be written as 1050:0:0:0:5:600:300c:326b Double colon Specify IPv6 addresses by using double colons (::) in place of a series of zeros. For example, IPv6 address ff06:0:0:0:0:0:0:c3 can be written as ff06::c3. Double colons can be used only once in an IP address 31-08-2024 Internet of Things 15

Prefixes in IPV6 Let the IPV6 address be 2001:db8:3c4d:0015:0000:0000:1a2f:1a2b with zeros compressed, the site prefix can be 2001:db8:3c4d::/ 48 The subnet prefix can be represented as 2001:db8:3c4d:15::/ 64 ( The subnet prefix always contains 64 bits. These bits include 48 bits for the site prefix, in addition to 16 bits for the subnet ID ) Special prefixes are: 2002::/ 16 - Indicates that a 6 to 4 routing prefix follows fe80::/ 10 – Indicates that a link-local address follows ff00::/ 8 - Indicates that a multicast address follows 31-08-2024 Internet of Things 16
Tags