57, IPv6 Introduction and basic configuration

Source: Internet
Author: User
Tags anycast

1, IPv6 Introduction


The IPV6 address is 128 bits long and addresses a total of 2^128.

IPV6 address format: x:x:x:x:x:x:x:x, where x is 16 binary.

IPV6 Simplification:

2001:0DB8:010F:0001:0000:0000:0000:0D0C Remove leading 0

2001:db8:10f:1:0:0:0:d0c continuous multiple 0 can be used:: Replace

2001:db8:10f:1:: d0c


2001:0db8:0000:0000:ffff:0000:0000:0d0c

can be expressed as

2001:DB8::FFFF:0:0:0D0C or 2001:0db8:0:00:ffff::0d0c

But cannot be expressed as

2001:0db8::ffff::0d0c

Because this does not know before and after two:: how many 0


Example:

Ff02:0:0:0:0:0:0:1Ff02::1

ff15:0:0:0:0:0:1:c001ff15::1:c001

0:0:0:0:0:0:0:1:: 1

0:0:0:0:0:0:0:0::


IPV6 access to Web page format by address: http://[2001:df0:1003::f]:8080/index.html


IPV6 Address Categories

Unicast unicast (single-to-one)

Aggregate Global Unicast Addresses (public network)2000::/3

Link-local AddressesFE80::/10

Site-local Addresses (private network)FEC0::/10

Unspecified::/128

Loopback:: 1/128

IPV4 compatible directly converts the 10 binary into 16 binary

Multicast multicast (one-to-many) ff00::/8

Anycast anycast (pair of most recent)


EUI-64 (assuming MAC address is 00:90:27:17:fc:0f)

Step one: Divide the MAC address in half and insert Fffe in the middle

00:90:27:ff:fe:17:fc:0f

Part Two: Swap the seventh bit 0, 1 of the first byte

00000000:90:27:ff:fe:17:fc:0f

00000010:90:27:ff:fe:17:fc:0f

02::90:27:ff:fe:17:fc:0f


Solicited-node multicast addressff02::1:xx:xxxx back 24 bits for IPV6 unicast addresses after 24 bits

Each IPV6 unicast address corresponds to a solicited-node multicast address


The next hop for the route is Link-local Addresses.


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/78/02/wKiom1ZzoBagwvhKAAK3pS1qLSQ411.png "style=" float: none; "title=" I1.png "alt=" Wkiom1zzobagwvhkaak3ps1qlsq411.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/78/02/wKiom1ZzoBjTRU2fAAEojuEXv5s844.png "style=" float: none; "title=" I2.png "alt=" Wkiom1zzobjtru2faaeojuexv5s844.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/78/00/wKioL1ZzoCazGFJJAAFPTaxXEdc630.png "style=" float: none; "title=" I3.png "alt=" Wkiol1zzocazgfjjaafptaxxedc630.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/78/02/wKiom1ZzoBySYh6vAAEqVYUaO7Y993.png "style=" float: none; "title=" I4.png "alt=" Wkiom1zzobysyh6vaaeqvyuao7y993.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/78/02/wKiom1ZzoB3DC1EWAAD6 Q_Q l43e624.png "style=" float: none; "title=" I5.png "alt=" Wkiom1zzob3dc1ewaad6 Q_Q l43e624.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/78/01/wKioL1ZzoCvh6_ylAAGHLaARtkk422.png "style=" float: none; "title=" I6.png "alt=" Wkiol1zzocvh6_ylaaghlaartkk422.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/78/02/wKiom1ZzoCGh8BdyAAEcR7B6v8g353.png "style=" float: none; "title=" I7.png "alt=" Wkiom1zzocgh8bdyaaecr7b6v8g353.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/78/02/wKiom1ZzoCPS9BO-AADploU1Nt0448.png "style=" float: none; "title=" I8.png "alt=" Wkiom1zzocps9bo-aadplou1nt0448.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/78/02/wKiom1ZzoCXhXyoNAAGyoEO1oR4116.png "style=" float: none; "title=" I9.png "alt=" Wkiom1zzocxhxyonaagyoeo1or4116.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/78/01/wKioL1ZzoDLyedsxAAD6r7BYyaw229.png "style=" float: none; "title=" I10.png "alt=" Wkiol1zzodlyedsxaad6r7byyaw229.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/78/01/wKioL1ZzoDOArBs8AAFMtO0n-xQ142.png "style=" float: none; "title=" I11.png "alt=" Wkiol1zzodoarbs8aafmto0n-xq142.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/78/02/wKiom1ZzoCnBeHmdAAFTCMUIrPU219.png "style=" float: none; "title=" I12.png "alt=" Wkiom1zzocnbehmdaaftcmuirpu219.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/78/01/wKioL1ZzoDbSmvduAAExh-D_oS8441.png "style=" float: none; "title=" I13.png "alt=" Wkiol1zzodbsmvduaaexh-d_os8441.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/78/02/wKiom1ZzoC2xBDf9AAFQg4OCEg0394.png "style=" float: none; "title=" I14.png "alt=" Wkiom1zzoc2xbdf9aafqg4oceg0394.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/78/01/wKioL1ZzoDrxZMMeAAE2JgDuHiI028.png "style=" float: none; "title=" I15.png "alt=" Wkiol1zzodrxzmmeaae2jgduhii028.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/78/01/wKioL1ZzoDzRURTTAAHnSOH4lZA913.png "style=" float: none; "title=" I16.png "alt=" Wkiol1zzodzrurttaahnsoh4lza913.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/78/02/wKiom1ZzoDOQd7JLAAExlQY89tM682.png "style=" float: none; "title=" I17.png "alt=" Wkiom1zzodoqd7jlaaexlqy89tm682.png "/>

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/78/01/wKioL1ZzoD_yzNRCAAD2S-dGKvU112.png "style=" float: none; "title=" I18.png "alt=" Wkiol1zzod_yznrcaad2s-dgkvu112.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/78/01/wKioL1ZzoEGT6ei4AAF-YwhAo4c912.png "style=" float: none; "title=" I19.png "alt=" Wkiol1zzoegt6ei4aaf-ywhao4c912.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/78/02/wKiom1ZzoDewbeiHAAD6i3M4aV4430.png "style=" float: none; "title=" I20.png "alt=" Wkiom1zzodewbeihaad6i3m4av4430.png "/>

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/78/01/wKioL1ZzoESBt2O7AAEZ-GGVR5k565.png "style=" float: none; "title=" I21.png "alt=" Wkiol1zzoesbt2o7aaez-ggvr5k565.png "/>


2. Experimental topology

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/78/01/wKioL1ZzoPnxVWxhAAAfrVA1C0U095.png "title=" I22.png "style=" float:right; "alt=" Wkiol1zzopnxvwxhaaafrva1c0u095.png "/>





3. IPV6 Configuration link-local addresses address (FE80::/10)


R1 Configuration

Interface fastethernet0/0

IPv6 enable


R2 Configuration

Interface fastethernet0/0

IPv6 enable

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/78/01/wKioL1Zzom2ye4g-AABTMWXJZw4361.png "style=" float: none; "title=" I23.png "alt=" Wkiol1zzom2ye4g-aabtmwxjzw4361.png "/>

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/78/01/wKioL1Zzom6iV0RqAABWn5RFcak514.png "style=" float: none; "title=" I24.png "alt=" Wkiol1zzom6iv0rqaabwn5rfcak514.png "/>


4. IPV6 configuration aggregate Global Unicast Addresses (2000::/3)

R1 Configuration

Interface fastethernet0/0

IPv6 address 2000::1/64


R2 Configuration

Interface fastethernet0/0

IPv6 address 2000::2/64


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/78/01/wKioL1ZzovujhdPgAAAeNVbOLiM516.png "style=" float: none; "title=" I25.png "alt=" Wkiol1zzovujhdpgaaaenvbolim516.png "/>

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/78/01/wKioL1ZzovyRY5H3AAAeLaABbtY278.png "style=" float: none; "title=" I26.png "alt=" Wkiol1zzovyry5h3aaaelaabbty278.png "/>


This article is from the "Open Source Hall" blog, please be sure to keep this source http://kaiyuandiantang.blog.51cto.com/10699754/1726022

57, IPv6 Introduction and basic configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.