找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 42|回复: 4

op 已经给我IPV6了,怎么玩

[复制链接]

29

主题

197

回帖

499

积分

中级会员

积分
499
发表于 2019-1-10 22:49:45 | 显示全部楼层 |阅读模式
We can provide an IPv6 range, however it is not yet fully supported and thus can only be assigned via "dhclient" a DHCP delegation software. Please note that you will not be able to update any rDNS. If you can work with that, please let us know and we will assign you a range.

2001:bc8:32d7:xxxx::/64
DUID: 00:03:00:01:68:59:ae:88:xx:xx
回复

使用道具 举报

303

主题

3626

回帖

8229

积分

论坛元老

积分
8229
发表于 2019-1-10 22:52:15 | 显示全部楼层
使用odhcp6c来分配IPv6地址
具体看
https://www.fmqcloud.com/archives/pve.html
回复

使用道具 举报

29

主题

197

回帖

499

积分

中级会员

积分
499
 楼主| 发表于 2019-1-10 23:47:31 | 显示全部楼层

fl20002 发表于 2019-1-10 22:52

使用odhcp6c来分配IPv6地址
具体看
https://www.fmqcloud.com/archives/pve.html

我是ubuntu安的transmission跑PT.没小鸡。只选了中间的教程试着弄了下,没成功
操作步骤

适用于online.net / oneprovider.com的ipv6安装说明
online.net提供IPv6地址是需要通过DHCP客户端获得,且官方给的教程安装,不适用于最新的ProxmoxVE环境,即使按照教程修改配置好,又会出现一个小时左右就断开连接的问题,所以我们另外使用odhcp6c来获得IPv6地址。
首先安装软件源,编辑/etc/apt/sources.list 添加以下内容:

#DHCP6 Client
deb http://httpredir.debian.org/debian experimental main
然后安装odhcp6c

apt-get update

apt-get install odhcp6c
通过ifconfig查看你的物理网卡的名称,例如eno1
通过online网页的服务器控制台得到IPv6地址信息:

IPv6:2001:123:456:789::1/64

DUID:00:03:00:01:3f:12:34:56:78:90
在/etc/network/interfaces中添加以下内容

post-up odhcp6c -P 64 -c 00:03:00:01:3f:12:34:56:78:90 eno1 -d

post-up ip -6 a a 2001:123:456:789::1/64 dev eno1
重启服务器后即可获得IPv6地址。

2:配置网络
首先,配置IPv6网络,编辑/etc/modprobe.d/local.conf,修改或者添加如下内容:

options ipv6 disable=0
编辑/etc/modules,添加如下字符:

ipv6
开启IPv4,IPv6转发,编辑/etc/sysctl.conf,添加以下内容到尾部:

net.ipv4.ip_forward=1
net.ipv4.conf.all.rp_filter=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.conf.default.forwarding=1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv6.conf.eno1.autoconf=0
net.ipv6.conf.eno1.accept_ra=2
net.ipv6.conf.default.forwarding=1
net.ipv6.conf.all.forwarding=1
net.ipv6.conf.default.proxy_ndp=1
net.ipv6.conf.all.proxy_ndp=1
其中红色部分修改为自己的网卡名:

net.ipv6.conf.eno1.autoconf=0
net.ipv6.conf.eno1.accept_ra=2
回复

使用道具 举报

29

主题

197

回帖

499

积分

中级会员

积分
499
 楼主| 发表于 2019-1-10 22:52:00 | 显示全部楼层
主要用来下教育网PT。
回复

使用道具 举报

303

主题

3626

回帖

8229

积分

论坛元老

积分
8229
发表于 2019-1-10 23:48:56 | 显示全部楼层

yavg 发表于 2019-1-10 23:47

我是ubuntu安的transmission跑PT.没小鸡。只选了中间的教程试着弄了下,没成功
操作步骤

2:配置网络

这些是开IPV6小鸡用的
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Discuz! X

GMT+8, 2025-4-21 05:10 , Processed in 0.016159 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表