binarytech digital education allahabad 8423527406 bybinarytech.in/studymaterials/documents/ip (ipv4...

12
Binarytech Digital Education Allahabad 8423527406 By-Rahul sir (MCA AU) 1 | Page What does Protocol means? A protocol is a set of rules and guidelines for communicating data. Rules are defined for each step and process during communication between two or more computers. Networks have to follow these rules to successfully transmit data. Example- TCP,IP, FTP etc. एक ोटोकॉल डेटा संचार करने के लए लनयम और दिशा लनिेश का एक सेट है। लनयम िो या अलिक कंयूटर के बीच संचार के िौरान येक चरण और दिया के ललए पररभाषित होते ह नेटवक को सफलतापूवक डेटा संचाररत करने के ललए इन लनयम का पालन करना होगा उिाहरण- टीसीपी / आईपी, आईपी, एटीपी आदि IP (Internet Protocols) Internet Protocol is connectionless and unreliable protocol. It ensures no guarantee of successfully transmission of data. It is a network layer protocol. इंटरनेट ोटोकॉल कनेशन रदहत और अषवसनीय ोटोकॉल है। यह डेटा के सफलतापूवक संचरण कगारंटी नहीं िेता है। यह एक नेटवक क परत ोटोकॉल है The Internet Protocol (IP) is the method or protocol by which data is sent from one computer to another on the Internet. Each computer (known as a host) on the Internet has at least one IP address that uniquely identifies it from all other computers on the Internet . इंटरनेट ोटोकॉल (आईपी) एक षवलि या ोटोकॉल है सकसके ारा डेटा एक कं यूटर से इंटरनेट पर िूसरे पर भेका काता है। इंटरनेट पर येक कं यूटर (होट के ऱप म काना काता है) कम से कम एक आईपी पता है को इंटरनेट पर अय सभी कं यूटर से षवलश ऱप से पहचानता है। IP is a connectionless protocol, which means that there is no continuing connection between the end points that are communicating. Each packet that travels through the Internet is treated as an independent unit of data without any relation to any other unit of data. (The reason the packets do get put in the right order is because of TCP, the connection-oriented protocol that keeps track of the packet sequence in a message.) In the Open Systems Interconnection (OSI) communication model, IP is in layer 3, the Networking Layer. आईपी एक कनेशन रदहत ोटोकॉल है , सकसका अक है दक संचार के अंत षबंिुओं के बीच कोई लनरंतर संबं ि नहीं है। इंटरनेट के मायम से याा करने वाले येक पैके ट को डेटा के दकसी भी अय यू लनट के दकसी भी संबंि के षबना डेटा के एक वतं इकाई के ऱप म माना काता है। (सकस कारण से पैके ट सही िम म डालते ह , टीसीपी, कनेशन-उमुख ोटोकॉल के कारण होता है को दकसी संिेश म पैके ट अनु िम का ैक रखता है।) ओपन लसटस इंटरकनेशन (ओएसआई) संचार मॉडल म , आईपी परत 3 म है , नेटवदक ग लेयर|

Upload: others

Post on 24-Dec-2019

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Binarytech Digital Education Allahabad 8423527406 Bybinarytech.in/studymaterials/documents/IP (IPV4 and IPV6... · 2017-12-30 · Binarytech Digital Education Allahabad 8423527406

Binarytech Digital Education Allahabad 8423527406 By-Rahul sir (MCA AU)

1 | P a g e

What does Protocol means?

A protocol is a set of rules and guidelines for communicating data. Rules are defined for each

step and process during communication between two or more computers. Networks have to

follow these rules to successfully transmit data.

Example- TCP,IP, FTP etc.

एक प्रोटोकॉल डेटा संचार करने के ललए लनयमों और दिशा लनिेशों का एक सेट है। लनयम िो या अलिक कंप्यूटरों के बीच संचार के िौरान प्रत्येक चरण और प्रदिया के ललए पररभाषित होते हैं नेटवकक को सफलतापूवकक डेटा संचाररत करने के ललए इन लनयमों का पालन करना होगा

उिाहरण- टीसीपी / आईपी, आईपी, एफ़टीपी आदि

IP (Internet Protocols)

Internet Protocol is connectionless and unreliable protocol. It ensures no guarantee of

successfully transmission of data. It is a network layer protocol.

इंटरनेट प्रोटोकॉल कनेक्शन रदहत और अषवश्वसनीय प्रोटोकॉल है। यह डेटा के सफलतापवूकक सचंरण की गारंटी नहीं िेता है। यह एक नेटवकक परत प्रोटोकॉल है

The Internet Protocol (IP) is the method or protocol by which data is sent from one computer

to another on the Internet. Each computer (known as a host) on the Internet has at least one

IP address that uniquely identifies it from all other computers on the Internet. इंटरनेट प्रोटोकॉल (आईपी) एक षवलि या प्रोटोकॉल है सकसके वारारा डेटा एक कंप्यटूर से इंटरनेट पर िसूरे पर भेका काता है। इंटरनेट पर प्रत्येक कंप्यटूर (होस्ट के रूप में काना काता है) कम से कम एक आईपी पता है को इंटरनेट पर अन्य सभी कंप्यटूरों से षवलशष्ट रूप से पहचानता है।

IP is a connectionless protocol, which means that there is no continuing connection between

the end points that are communicating. Each packet that travels through the Internet is

treated as an independent unit of data without any relation to any other unit of data. (The

reason the packets do get put in the right order is because of TCP, the connection-oriented

protocol that keeps track of the packet sequence in a message.) In the Open Systems

Interconnection (OSI) communication model, IP is in layer 3, the Networking Layer. आईपी एक कनेक्शन रदहत प्रोटोकॉल है, सकसका अर्क है दक सचंार के अतं षबिंओु ंके बीच कोई लनरंतर सबंिं नहीं है। इंटरनेट के माध्यम से यात्रा करने वाले प्रत्येक पकेैट को डेटा के दकसी भी अन्य यलूनट के दकसी भी सबंिं के षबना डेटा के एक स्वततं्र इकाई के रूप में माना काता है। (सकस कारण से पकेैट सही िम में डालते हैं, टीसीपी, कनेक्शन-उन्मखु प्रोटोकॉल के कारण होता है को दकसी सिेंश में पकेैट अनिुम का टै्रक रखता है।) ओपन लसस्टम्स इंटरकनेक्शन (ओएसआई) सचंार मॉडल में, आईपी परत 3 में है ,

नेटवदकिं ग लेयर|

Page 2: Binarytech Digital Education Allahabad 8423527406 Bybinarytech.in/studymaterials/documents/IP (IPV4 and IPV6... · 2017-12-30 · Binarytech Digital Education Allahabad 8423527406

Binarytech Digital Education Allahabad 8423527406 By-Rahul sir (MCA AU)

2 | P a g e

The most widely used version of IP today is Internet Protocol Version 4 (IPv4). However, IP

Version 6 (IPv6) is also beginning to be supported. IPv6 provides for much longer addresses

and therefore for the possibility of many more Internet users. IPv6 includes the capabilities

of IPv4 and any server that can support IPv6 packets can also support IPv4 packets. आईपी का सबसे व्यापक रूप स ेइस्तमेाल दकया काने वाला ससं्करण आक इंटरनेट प्रोटोकॉल वककन 4 (आईपीवी 4) है। हालांदक, IPv वककन 6 (आईपीवी 6) भी समलर्कत होने की शरुुआत है। IPv6 बहुत अलिक पते प्रिान करता है और इसललए कई और अलिक इंटरनेट उपयोगकताकओ ंकी सभंावना के ललए। IPv 6 में आईपीवी 4 की क्षमताओ ंऔर IPv 6 पकेैट का समर्कन करने वाला कोई भी सवकर IPv4 पकेैट का समर्कन कर सकता है।

Points to remember:

• The length of datagram is variable.

• The Datagram is divided into two parts: header and data.

• The length of header is 20 to 60 bytes.

• The header contains information for routing and delivery of the packet.

• डेटाग्राम की लंबाई चर है।

• डेटाग्राम िो भागों में षवभासकत है: शीिक लेख और डेटा

• हैडर की लंबाई 20 से 60 बाइट्स है।

• शीिक लेख में रूदटंग और पैकेट की दडलीवरी की कानकारी है।

Version of IP

Internet Protocol Version 4 (IPv4)

Internet Protocol Version 4 (IPv4) is the fourth revision of the Internet Protocol and a

widely used protocol in data communication over different kinds of networks. IPv4 is a

connectionless protocol used in packet-switched layer networks, such as Ethernet. It

provides the logical connection between network devices by providing identification for

each device. There are many ways to configure IPv4 with all kinds of devices – including

manual and automatic configurations – depending on the network type.

IPv4 is based on the best-effort model. This model guarantees neither delivery nor

avoidance of duplicate delivery; these aspects are handled by the upper layer transport.

इंटरनेट प्रोटोकॉल ससं्करण 4 (आईपीवी 4) इंटरनेट प्रोटोकॉल का चौर्ा सशंोिन है और षवलभन्न प्रकार के नेटवकक पर डेटा सचंार में एक व्यापक रूप से प्रयकु्त प्रोटोकॉल है। आईपीवी 4 एक कनेक्शन रदहत

Page 3: Binarytech Digital Education Allahabad 8423527406 Bybinarytech.in/studymaterials/documents/IP (IPV4 and IPV6... · 2017-12-30 · Binarytech Digital Education Allahabad 8423527406

Binarytech Digital Education Allahabad 8423527406 By-Rahul sir (MCA AU)

3 | P a g e

प्रोटोकॉल है को पकेैट-सस्वच दकए गए स्तर नेटवकक में प्रयोग दकया काता है, कैसे ईर्रनेट। प्रत्येक दडवाइस के ललए पहचान प्रिान करके यह नेटवकक उपकरणों के बीच तादकक क कनेक्शन प्रिान करता है। नेटवकक प्रकार पर लनभकर करते हुए मनै्यअुल और स्वचाललत कॉसन्फ़गरेशन सदहत सभी प्रकार के उपकरणों के सार् IPv4 को षवन्यस्त करने के कई तरीके हैं -

आईपीवी 4 सबसे अच्छा प्रयास मॉडल पर आिाररत है। यह मॉडल डुसप्लकेट दडलीवरी के न तो दडलीवरी और न ही लनकम्मतेा की गारंटी िेता है; इन पहलओु ंको ऊपरी परत पररवहन वारारा लनयषंत्रत दकया काता है

Internet Protocol being a layer-3 protocol (OSI) takes data Segments from layer-4

(Transport) and divides it into packets. IP packet encapsulates data unit received from

above layer and add to its own header information.

IP header includes many relevant information including Version Number, which, in this

context, is 4. Other details are as follows:

Version: Version no. of Internet Protocol used (e.g. IPv4). संस्करण संख्या। इस्तेमाल दकया इंटरनेट प्रोटोकॉल का (कैसे आईपीवी 4)

IHL: Internet Header Length; Length of entire IP header. इंटरनेट हैडर की लंबाई; संपूणक आईपी हेडर की लंबाई

DSCP: Differentiated Services Code Point; this is Type of Service. षवभेदित सेवाएं कोड षबंि;ु

यह सेवा का प्रकार है

ECN: Explicit Congestion Notification; It carries information about the congestion seen in the

route. स्पष्ट कंचन अलिसूचना; इसमें मागक में िेखी गई भीड़ के बारे में कानकारी है।

Total Length: Length of entire IP Packet (including IP header and IP Payload). पूरे आईपी पैकेट की लंबाई (आईपी हेडर और आईपी पेलोड सदहत)

Identification: If IP packet is fragmented during the transmission, all the fragments contain

same identification number. to identify original IP packet they belong to. यदि संचरण के

Page 4: Binarytech Digital Education Allahabad 8423527406 Bybinarytech.in/studymaterials/documents/IP (IPV4 and IPV6... · 2017-12-30 · Binarytech Digital Education Allahabad 8423527406

Binarytech Digital Education Allahabad 8423527406 By-Rahul sir (MCA AU)

4 | P a g e

िौरान आईपी पैकेट खंदडत होता है, तो सभी टुकड़ों में एक ही पहचान संख्या होती है। मूल आईपी पैकेट की पहचान करने के ललए वे संबंलित हैं

Flags: As required by the network resources, if IP Packet is too large to handle, these ‘flags’

tells if they can be fragmented or not. In this 3-bit flag, the MSB is always set to ‘0’. कैसा दक नेटवकक संसािनों वारारा आवश्यक है, अगर आईपी पकेैट को संभालने के ललए बहुत बड़ा है, तो ये 'झंडे' बताते हैं दक क्या उन्हें खदंडत दकया का सकता है या नहीं। इस 3-षबट ध्वक में, एमएसबी हमेशा '0' पर सेट होता है

Fragment Offset: This offset tells the exact position of the fragment in the original IP Packet. यह ऑफ़सेट मूल आईपी पैकेट में टुकडे़ की सटीक सस्र्लत बताता है।

Time to Live: To avoid looping in the network, every packet is sent with some TTL value set,

which tells the network how many routers (hops) this packet can cross. At each hop, its value

is decremented by one and when the value reaches zero, the packet is discarded. नेटवकक में लूषपंग से बचने के ललए, प्रत्येक पैकेट को कुछ टीटीएल वैल्यू सेट के सार् भेका काता है, को नेटवकक को बताता है दक यह पैकेट दकतने रूटरों (हॉप्स) को पार कर सकता है। हर हॉप में, इसका मान एक से घट काता है और कब मान शून्य तक पहंुच काता है, तो पैकेट लनकाल दिया काता है।

Protocol: Tells the Network layer at the destination host, to which Protocol this packet

belongs to, i.e. the next level Protocol. For example protocol number of ICMP is 1, TCP is 6

and UDP is 17. गंतव्य मेकबान पर नेटवकक परत को बताता है, सकसमें प्रोटोकॉल यह पैकेट है,

यानी अगला स्तर प्रोटोकॉल। उिाहरण के ललए आईसीएमपी की प्रोटोकॉल संख्या 1 है, टीसीपी 6 है और यूडीपी 17 है।

Header Checksum: This field is used to keep checksum value of entire header which is then

used to check if the packet is received error-free. यह फ़ील्ड पूरे हेडर के चेकसम मान को रखने के ललए उपयोग की काती है, को तब कांचने के ललए प्रयोग दकया काता है दक पैकेट को त्रदुट मुक्त प्राप्त हुआ है या नहीं।

Source Address: 32-bit address of the Sender (or source) of the packet. पैकेट के पे्रिक (या स्रोत) का 32-षबट पता।

Destination Address: 32-bit address of the Receiver (or destination) of the packet. पैकेट के ररसीवर (या गंतव्य) का 32-षबट पता।

Options: This is optional field, which is used if the value of IHL is greater than 5. These options

may contain values for options such as Security, Record Route, Time Stamp, etc. यह वैकसल्पक

Page 5: Binarytech Digital Education Allahabad 8423527406 Bybinarytech.in/studymaterials/documents/IP (IPV4 and IPV6... · 2017-12-30 · Binarytech Digital Education Allahabad 8423527406

Binarytech Digital Education Allahabad 8423527406 By-Rahul sir (MCA AU)

5 | P a g e

फ़ील्ड है, सकसका इस्तेमाल IHL के 5 से अलिक मलू्य के ललए दकया काता है। इन षवकल्पों में षवकल्प,

कैसे दक सरुक्षा, ररकाडक मागक, समय स्टाम्प, आदि के ललए मलू्य हो सकते हैं।

IPv4 supports three different types of addressing modes.

Unicast Addressing Mode:

In this mode, data is sent only to one destined host. The Destination Address

field contains 32- bit IP address of the destination host. Here the client sends

data to the targeted server: इस मोड में, डेटा केवल एक लनयत होस्ट पर भेका काता है। गंतव्य पता फ़ील्ड में गंतव्य होस्ट का 32-षबट IP पता है। यहां ग्राहक ग्राहक को डेटा भेकता है:

Broadcast Addressing Mode:

In this mode, the packet is addressed to all the hosts in a network segment. The

Destination Address field contains a special broadcast address, i.e.

255.255.255.255. When a host sees this packet on the network, it is bound to

process it. Here the client sends a packet, which is entertained by all the Servers:

इस मोड में, पैकेट नेटवकक सेगमेंट के सभी होस्टों को संबोलित दकया काता है। गंतव्य पता फ़ील्ड में एक षवशेि प्रसारण पता है, अर्ाकत 255.255.255.255। कब कोई मेकबान नेटवकक पर इस पैकेट को िेखता है, तो उसे संसालित करना होगा। यहां क्लाइंट एक पैकेट भेकता है, सकसे सभी सवकरों वारारा मनोरंकन दकया काता है:

Page 6: Binarytech Digital Education Allahabad 8423527406 Bybinarytech.in/studymaterials/documents/IP (IPV4 and IPV6... · 2017-12-30 · Binarytech Digital Education Allahabad 8423527406

Binarytech Digital Education Allahabad 8423527406 By-Rahul sir (MCA AU)

6 | P a g e

Multicast Addressing Mode:

This mode is a mix of the previous two modes, i.e. the packet sent is neither

destined to a single host nor all the hosts on the segment. In this packet, the

Destination Address contains a special address which starts with 224.x.x.x and

can be entertained by more than one host.

यह मोड षपछल ेिो षवलियों का एक लमश्रण है, अर्ाकत भकेा गया पकेैट न तो एक होस्ट के ललए दकस्मत में है और न ही खंड पर सभी मेकबान। इस पकेैट में, गतंव्य पता में एक षवशेि पता है को 224.x.x.x

से शरुू होता है और एक से अलिक होस्ट वारारा मनोरंकन दकया का सकता है।

IPv4 - Address Classes

Size of IPV4 addressing is 4 byte and the Length is 32 bits

Internet Protocol hierarchy contains several classes of IP Addresses to be used efficiently

in various situations as per the requirement of hosts per network. Broadly, the IPv4

Addressing system is divided into five classes of IP Addresses. All the five classes are

identified by the first octet of IP Address.

आईपीवी 4 एडे्रलसगं का आकार 4 बाइट है और लबंाई 32 षबट है

Page 7: Binarytech Digital Education Allahabad 8423527406 Bybinarytech.in/studymaterials/documents/IP (IPV4 and IPV6... · 2017-12-30 · Binarytech Digital Education Allahabad 8423527406

Binarytech Digital Education Allahabad 8423527406 By-Rahul sir (MCA AU)

7 | P a g e

मेकबान प्रलत नेटवकक की आवश्यकता के अनसुार इंटरनेट प्रोटोकॉल पिानिुम में षवलभन्न पररसस्र्लतयों में कुशलता से उपयोग दकए काने वाले आईपी पते के कई वगक शालमल हैं। मोटे तौर पर, आईपीवी 4

एडे्रलसगं लसस्टम आईपी पते के पाचं वगों में षवभासकत है। सभी पाचं वगों की पहचान आईपी एडे्रस के पहले ऑक्टेट वारारा की काती है।

In classfull addressing, an IP address of class A, B and C is divided into netid and hostid.

The netid determines the network address while the hostid determines the host

connected to that network.

क्लासफुल एल एडे्रलसगं में, क्लास ए, बी और सी का एक आईपी पता netid और hostid में षवभासकत है। netid नेटवकक पते को लनिाकररत करता है, कबदक hostid उस नेटवकक से कुडे़ मेकबान को लनिाकररत करता है।

Class A (range from 0-127)

These are used for systems with a small number of networks and a large numbers of hosts.

In this class first byte is to specify for netid and last three bytes to specify the hostid of the

network. ये छोटे नेटवकक और बड़ी सखं्या में मेकबान के सार् लसस्टम के ललए उपयोग दकया काता है। इस क्लास में पहली बाइट नेटवकक के होस्ट को लनदिकष्ट करने के ललए NETID और षपछले तीन बाइट्स hostid के ललए लनदिकष्ट है।

Example- 0.255.255.255, 1.0.0.0, 80.255.255.255 etc.

Class B (range from 128-191)

It provides the equal numbers of networks and hosts by assigning the first two bytes to

the networks and last two bytes to the hosts. The range of values for the first byte

of a Class B address is 128-191. यह नेटवकक के ललए पहले िो बाइट्स और मेकबानों के ललए षपछले िो बाइट्स को असाइन करके समान नेटवकक और मेकबान प्रिान करता है। कक्षा बी पते की पहली बाइट के ललए मलू्यों की श्रणेी 128-191 है

For example - 132.24.67.28, 190.123.255.255 etc..

Page 8: Binarytech Digital Education Allahabad 8423527406 Bybinarytech.in/studymaterials/documents/IP (IPV4 and IPV6... · 2017-12-30 · Binarytech Digital Education Allahabad 8423527406

Binarytech Digital Education Allahabad 8423527406 By-Rahul sir (MCA AU)

8 | P a g e

Class C (range from 192-223)

In this class the first three bytes of the address specify the network id and the last byte to

specify the host. Because there is only one byte available for host addresses, a class C

network will only support a small numbers of hosts (or nodes).The range of value of first

byte of a class C address is 192-223. इस वगक में पते के पहले तीन बाइट्स होस्ट आईडी लनदिकष्ट करने के ललए नेटवकक आईडी और अलंतम बाइट लनदिकष्ट करते हैं। क्योंदक मेकबान पते के ललए केवल एक बाइट उपलब्ि है, एक क्लास सी नेटवकक केवल एक छोटी सी मकेबान (या नोड्स) का समर्कन करेगा। क्लास सी पते की पहली बाइट के मान की सीमा 192-223 है।

For example- 194.123.21.7, 200.255.255.255 etc..

Class D (range from 224-239)

Class D has IP address rage from 224.0.0.0 to 239.255.255.255. Class D is reserved for

Multicasting. In multicasting data is not destined for a particular host, that is why there is

no need to extract host address from the IP address, and Class D does not have any subnet

mask. कक्षा डी में 224.0.0.0 से 23 9.255.255.255 तक आईपी पता रोि है। क्लास डी मसल्टकासस्टंग के ललए आरसक्षत है। मसल्टकासस्टंग डेटा में दकसी खास होस्ट के ललए लनयत नहीं है, इसललए आईपी पते से होस्ट पता लनकालने की कोई आवश्यकता नहीं है, और कक्षा डी में कोई सबनेट मास्क नहीं है।

For example- 225.0.3.3, 230.255.255.255 etc..

Class E (range from 240-255)

This IP Class is reserved for experimental purposes only for R&D or Study. IP addresses in

this class ranges from 240.0.0.0 to 255.255.255.254. Like Class D, this class too is not

equipped with any subnet mask.

यह आईपी क्लास केवल अनसुिंान एव ं षवकास या अध्ययन के ललए प्रयोगात्मक उदे्दश्यों के ललए आरसक्षत है। इस वगक में आईपी पते 240.0.0.0 से 255.255.255.254 तक हैं। कक्षा डी की तरह, यह वगक भी दकसी भी सबनेट मास्क से ससुसजकत नहीं है

For example- 225.0.3.3, 230.255.255.255 etc..

Page 9: Binarytech Digital Education Allahabad 8423527406 Bybinarytech.in/studymaterials/documents/IP (IPV4 and IPV6... · 2017-12-30 · Binarytech Digital Education Allahabad 8423527406

Binarytech Digital Education Allahabad 8423527406 By-Rahul sir (MCA AU)

9 | P a g e

Internet Protocol Version 6(IPv6)

Internet Protocol version 6 is a new addressing protocol designed to incorporate all the

possible requirements of future Internet known to us as Internet version 2. This protocol

as its predecessor IPv4, works on the Network Layer (Layer-3). Along with its offering of

an enormous amount of logical address space, this protocol has ample features to which

address the shortcoming of IPv4. An IPv6 address is made of 128 bits divided into eight

16-bits blocks. Each block is then converted into 4-digit Hexadecimal numbers separated

by colon symbols.

इंटरनेट प्रोटोकॉल ससं्करण 6 एक नया एडे्रलसगं प्रोटोकॉल है सकसे भषवष्य में इंटरनेट के सभी सभंाषवत आवश्यकताओ ंको इंटरनेट ससं्करण के रूप में काना काता है। यह प्रोटोकॉल अपने पवूकवती आईपीवी 4

के रूप में, नेटवकक परत (लेयर -3) पर काम करता है। लॉसककल एडे्रस स्पेस की एक षवशाल रालश की पेशकश के सार्, इस प्रोटोकॉल में कई षवशेिताएं हैं को IPv4 की कमी को सबंोलित करते हैं। एक IPv6

पता 128 षबट्स स ेआठ 16-षबट ब्लॉक में बांटा गया है। प्रत्येक ब्लॉक को 4-अकंीय हेक्साडेलसमल सखं्या में कोलन प्रतीकों वारारा षवभासकत दकया काता है।

An IPv6 address is represented as eight groups of four hexadecimal digits, each group

representing 16 bits (two octets, a group sometimes also called a hextet). The groups

are separated by colons (:). An example of an IPv6 address is: एक आईपीवी 6 पता चार हेक्साडेलसमल अकंों के आठ समहूों के रूप में प्रलतलनलित्व दकया काता है, प्रत्येक समहू 16 षबट्स का प्रलतलनलित्व करता है (िो ऑक्टेट्स, एक समहू सकसे कभी भी हेक्ससेट कहा काता है)। समहूों को बहृिान्त्र (:) वारारा अलग दकया गया है। एक IPv6 पते का एक उिाहरण है:

2001:0000:3238:DFE1:0063:0000:0000:FEFB

IPV6 Addressing Modes

Unicast

In unicast mode of addressing, an IPv6 interface (host) is uniquely identified in a network

segment. The IPv6 packet contains both source and destination IP addresses. A host

interface is equipped with an IP address which is unique in that network segment. When

a network switch or a router receives a unicast IP packet, destined to a single host, it sends

out one of its outgoing interface which connects to that particular host.

सबंोलित करने के यलूनकास्ट मोड में, एक IPv6 इंटरफे़स (होस्ट) षवलशष्ट रूप से एक नेटवकक सेगमेंट में पहचाना काता है। IPv6 पकेैट में स्रोत और गतंव्य आईपी पते िोनों होते हैं। एक मेकबान इंटरफे़स एक आईपी पते से ससुसजकत है को दक नेटवकक सेगमेंट में अदवारतीय है। कब एक नेटवकक सस्वच या रूटर को एक यनूीकास्ट आईपी पकेैट प्राप्त होता है, को दक एक मेकबान पर लनयत होता है, तो वह अपने एक आउटगोइंग इंटरफे़स को भकेता है को उस षवलशष्ट मेकबान से कनेक्ट होता है।

Page 10: Binarytech Digital Education Allahabad 8423527406 Bybinarytech.in/studymaterials/documents/IP (IPV4 and IPV6... · 2017-12-30 · Binarytech Digital Education Allahabad 8423527406

Binarytech Digital Education Allahabad 8423527406 By-Rahul sir (MCA AU)

10 | P a g e

Multicast

The IPv6 multicast mode is same as that of IPv4. The packet destined to multiple hosts is

sent on a special multicast address. All the hosts interested in that multicast information,

need to join that multicast group first. All the interfaces that joined the group receive the

multicast packet and process it, while other hosts not interested in multicast packets

ignore the multicast information. आईपीवी 6 मल्टीकास्ट मोड आईपीवी 4 के समान है। एकालिक मेकबानों के ललए लनयत पकेैट षवशेि मल्टीकास्ट पते पर भेका काता है। उस बहुस्त्र्सस्त कानकारी में रुलच रखने वाले सभी मकेबानों को पहले उस मल्टीकास्ट समहू में शालमल होने की आवश्यकता है। समहू में शालमल सभी इंटरफेस मल्टीकास्ट पकेैट प्राप्त करत ेहैं और इसे प्रोसेस करते हैं, कबदक अन्य मेकबान मसल्टकास्ट पकेैट में दिलचस्पी नहीं रखत,े मसल्टकास्ट कानकारी को अनिेखा करते हैं।

Anycast

IPv6 has introduced a new type of addressing, which is called Anycast addressing. In this

addressing mode, multiple interfaces (hosts) are assigned same Anycast IP address. When

a host wishes to communicate with a host equipped with an Anycast IP address, it sends

a Unicast message. With the help of complex routing mechanism, that Unicast message is

delivered to the host closest to the Sender in terms of Routing cost.

Page 11: Binarytech Digital Education Allahabad 8423527406 Bybinarytech.in/studymaterials/documents/IP (IPV4 and IPV6... · 2017-12-30 · Binarytech Digital Education Allahabad 8423527406

Binarytech Digital Education Allahabad 8423527406 By-Rahul sir (MCA AU)

11 | P a g e

आईपीवी 6 ने एक नए प्रकार के एडे्रलसगं को पेश दकया है, सकसे ओकाकास्ट एडे्रलसगं कहा काता है। इस एडे्रलसगं मोड में, एकालिक इंटरफेस (होस्ट्स) को समान एएनसीपी आईपी एडे्रस लनदिकष्ट दकया काता है। कब कोई मेकबान दकसी होस्ट के सार् दकसी मेकबानी के सार् सवंाि करना चाहता है, तो यह एक यलूनकास्ट सिेंश भेकता है। कदटल रूदटंग ततं्र की सहायता से, रूदटंग लागत के सिंभक में यनूीकास्ट सिेंश प्रेिक को लनकटतम मेकबान को दिया गया है।

Difference between IPV4 and IPV6-

IPv4 IPv6

IPv4 addresses are 32 bit length. IPv6 addresses are 128 bit length.

IPv4 addresses are binary numbers represented in

decimals.

IPv6 addresses are binary numbers represented

in hexadecimals.

IPSec support is only optional. Inbuilt IPSec support.

Fragmentation is done by sender and

forwarding routers. Fragmentation is done only by sender.

No packet flow identification. Packet flow identification is available within

the IPv6 header using the Flow Label field.

Checksum field is available in IPv4 header No checksum field in IPv6 header.

Options fields are available in IPv4 header. No option fields, but IPv6 Extension headers are

available.

Page 12: Binarytech Digital Education Allahabad 8423527406 Bybinarytech.in/studymaterials/documents/IP (IPV4 and IPV6... · 2017-12-30 · Binarytech Digital Education Allahabad 8423527406

Binarytech Digital Education Allahabad 8423527406 By-Rahul sir (MCA AU)

12 | P a g e

Address Resolution Protocol (ARP) is available to map IPv4 addresses to MAC addresses..

Address Resolution Protocol (ARP) is replaced

with a function of Neighbour Discovery Protocol

(NDP)

Internet Group Management Protocol (IGMP)

is used to manage multicast group

membership.

IGMP is replaced with Multicast Listener

Discovery (MLD) messages.

Broadcast messages are available.

Broadcast messages are not available. Instead a

link-local scope "All nodes" multicast IPv6 address

(FF02::1) is used for broadcast similar

functionality.

Manual configuration (Static) of IPv4

addresses or DHCP (Dynamic configuration)

is required to configure IPv4 addresses.

Auto-configuration of addresses is available.