zoukankan      html  css  js  c++  java
  • dhcp6和ipv6相关知识

    http://blog.sina.com.cn/s/blog_9950926401019uk9.html

    https://wenku.baidu.com/view/498d9c482e3f5727a5e962c5.html

    http://xiaopangxiongyuan.blog.163.com/blog/static/12490117020116263115442/?COLLCC=2319623943&

    https://wenku.baidu.com/view/75e59c0ef12d2af90242e61e.html?from=search

    https://wenku.baidu.com/view/3b874ceff8c75fbfc77db299.html?from=search

    https://wenku.baidu.com/view/54c9f8d076c66137ef06191c.html?from=search

    http://koolshare.cn/thread-46415-1-1.html

    https://wenku.baidu.com/view/ae1921f57c1cfad6195fa7f0.html

    http://koo.fi/blog/2013/03/20/linux-ipv6-router-radvd-dhcpv6/

    Linux IPv6 Router: RADVD + DHCPv6

     

        
    3.25 avg. rating (70% score) - 4 votes

    Unlike IPv4, which uses DHCP for configuration, IPv6 uses the Neighbor Discovery Protocol to configure addresses and gateways. Unfortunately, originally the protocol had no means of providing addresses of DNS servers to clients, making it necessary to use  DHCPv6 for that purpose. Modern Linux and Mac OS X machines are able to use the IPv6 Router Advertisement Options for DNS Configuration (RFC 6106), but to my knowledge, Windows clients are not able at the moment. Here’s how to configure a Linux router using radvd and the ISC DHCP daemon.

    Network Configuration and Packet Forwarding

    The following configuration has been tested with Ubuntu Server 12.04.2 LTS. For the purposes of this article, the /etc/network/interfaces file looks like this:

    Outbound interface is eth0, and inbound interface eth1.

    First, to enable IPv6 packet forwarding, put this in your /etc/sysctl.conf:

    And run this to make the change in the running kernel:

    IPv6 Router Advertisement Daemon

    Install the router advertisement daemon or radvd with:

    Create file /etc/radvd.conf and put your internal interface and prefix there:

    You can now start the daemon with

    That will enable router advertisements on the internal interface. See example configuration files under /usr/share/doc/radvd/examples. See also manual pages for radvd(8) and radvd.conf(5) for more information. The radvdump(8) is a useful tool for watching live router advertisement traffic.

    The RDNSS and DNSSL Options

    Below is an example radvd.conf which also advertises DNS servers with RDNSS and DNS search path with DNSSL, both of which are specified in RFC 6106. This will work with Linux and Mac OS X clients, but unfortunately Windows does not seem to support it.

    Restart radvd.

    DHCPv6

    To support Windows, we must install a DHCPv6 compliant DHCP server, such as a recent version of the ISC DHCP daemon:

    Create file /etc/dhcp/dhcpd6.conf and put something like this in there:

    We configured a pool of 4096 addresses here (::1000-1fff), plus DNS servers and search path.

    Start the dhcpv6 server:

    If it fails, see /var/log/syslog for error messages. Finally, if everything went ok, add to default runlevels:

    Now you should be able to get an IPv6 address and DNS servers with a DHCP client. Additional benefit with DHCP is that you can send more configuration information, such as time server addresses, using DHCP options.

    http://www.docin.com/p-258175583.html

    https://wenku.baidu.com/view/e5bbefee998fcc22bcd10d98.html

    http://linux.it.net.cn/Redhat/2015/0107/11417.html

    https://wenku.baidu.com/view/820b2f3f580216fc700afd95.html

    https://wenku.baidu.com/view/820b2f3f580216fc700afd95.html

    http://blog.sina.com.cn/s/blog_71d9aee401012bq9.html

  • 相关阅读:
    ubuntu实时显示网速cpu占用和内存占用率
    删除以....开头的所有文件
    0.0.....1 至 0.99.......9 之间正则
    引入腾讯视频播放,可控制是否暂停播放
    解决微信小程序textarea层级太高遮挡其他组件的问题
    查看某分支推送记录
    小程序下载canvas生成图片
    微信小程序企业付款到个人
    秒 转化为 时:分:秒 ------- 类似倒计时
    iOS--崩溃日志的格式化分析---格式化crash日志
  • 原文地址:https://www.cnblogs.com/boowii/p/6648833.html
Copyright © 2011-2022 走看看