Advanced Linux Routing and Traffic Control: implementing IPV6 with Cisco and 6bone

Source: Internet
Author: User
Keywords Ipv6 linux cisco flow control 6bone advanced routing
Tags address advanced advanced routing aliyun application cisco cisco routers compile

1. http://www.aliyun.com/zixun/aggregation/9485.html ">ipv6 Tunnel

This is another application of Linux tunneling capabilities. This is very popular in the early implementations of IPV6. The following hands-on example is certainly not the only way to implement a IPv6 tunnel. However, it is a common method of building tunnels between Linux and Cisco routers that support IPV6, as has been proven by most people. It's probably right for you to ☺.

Simply talk about IPV6 address:

The IPV6 address is very large relative to the IPV4 address and has a 128bit instead of 32bit. This gives us what we need-very, very many IP addresses. To be exact, there are 340,282,266,920,938,463,463,374,607,431,768,211,465. At the same time, IPv6 (or ipng, Next generation IP) can also make the routing table of backbone routers on the Internet smaller, the device configuration simpler, the IP layer more secure, and the better support for QoS.

For example: 2002:836b:9820:0000:0000:0000:836b:9886

It's really a hassle to write down a IPv6 address. So we can simplify by using the following rules:

• The number 0 don't write, just like IPv4.
• Colon-delimited for each 16bit or two byte.
• When there are many consecutive zero can be written "::". Can only be used once in an address.

For example: Address 2002:836b:9820:0000:0000:0000:836b:9886 can be written: 2002:836b:9820::836b:9886, it looks simpler.

Another example: Address 3ffe:0000:0000:0000:0000:0020:34a1:f32c can be written as 3ffe::20:34a1:f32c, much shorter.

IPV6 will probably replace the existing IPv4. Because it uses relatively newer technology, there is no global IPv6 network. In order to smooth transition, the 6bone plan was introduced.

The sites in the IPV6 network are interconnected by existing IPv4 systems, and the IPV6 packets are encapsulated in IPV4 packets for transmission.

This is why the tunneling mechanism was introduced.

To be able to use IPV6, we need a kernel that can support it. Now there are a lot of documents that illustrate this issue well. The following steps:

• Find a new version of the Linux distribution, with the appropriate GLIBC library.
• Find a copy of the latest kernel source code.

When you are ready, you can continue to compile a kernel with IPV6 support:

Cd/usr/src/linux
make Menuconfig
• Choose "Networking Options"
• Select the IPv6 Kyoto, ipv6:enable EUI-64 token format, ipv6:disable provider based

Tip: Do not compile into kernel modules, which often cause problems. In other words, the IPV6 is built into the kernel.

Then you can save the configuration and compile the kernel as usual.

Hint: Before compiling, you can modify makefile, extraversion = x to extraversion =-x-ipv6

There are a lot of documents that explain how to compile and install a kernel, and this document is not about this. If you have a problem with this process, please refer to the appropriate information. You can look at/usr/src/linux/readme first.

When you're done, restart the system with the new kernel, and you can enter "/sbin/ifconfig-a" to see if there are any new "sit0-device" devices. Sit means "easy Internet transition" (simple internet transitions). If there is no problem here, you can reward yourself, you have a big step towards the next generation of IP network.

Now proceed to the next step. You need to connect your host, or even the entire LAN, to another IPV6 network. The network is likely to be "6bone", which is set up specifically for this particular purpose.

Related Article

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.