ovh ks独立服务器如何配置ipv6
有人配置过吗<br />手动配置不对 有啥问题吗<br />
<br />
auto vmbr0<br />
iface vmbr0 inet static<br />
address 158.69.xx.75/24<br />
gateway 158.69.xx.254<br />
bridge-ports eno1<br />
bridge-stp off<br />
bridge-fd 0<br />
hwaddress 0C:C4:7A:47<img src="https://hostloc.com/static/image/smiley/default/biggrin.gif" smilieid="3" border="0" alt="" />9:14<br />
<br />
iface vmbr1 inet6 static<br />
address 2607:5300:120:a4b::1<br />
netmask 64<br />
post-up /sbin/ip -f inet6 route add xx:5300:0120:0aff:00ff:00ff:00ff:00ff dev vmbr0<br />
post-up /sbin/ip -f inet6 route add default via xx:5300:0120:0aff:00ff:00ff:00ff:00ff<br />
pre-down /sbin/ip -f inet6 route del default via xx:5300:0120:0aff:00ff:00ff:00ff:00ff<br />
pre-down /sbin/ip -f inet6 route del xx:5300:0120:0aff:00ff:00ff:00ff:00ff netmask 56或更大 我都懒的配了,一键脚本 <i class="pstatus"> 本帖最后由 icon 于 2024-11-18 20:24 编辑 </i><br />
<br />
iface vmbr0 inet6 static<br />
address 2607:5300:xx:xxxx::1/128<br />
gateway 2607:5300:xx:xxxx:ff:ff:ff:ff<br />
如果是你是想给小鸡配ipv6,那么很麻烦,因为ovh没有把/64路由到网口<br />
要具体怎么做我忘记了,反而要再起个ip6的后台程序,而且只是代/理性质 <i class="pstatus"> 本帖最后由 qiopgh 于 2024-11-18 20:58 编辑 </i><br />
<div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16041364&ptid=1365048" target="_blank"><font color="#999999">icon 发表于 2024-11-18 20:21</font></a></font><br />
iface vmbr0 inet6 static<br />
address 2607:5300:xx:xxxx::1/128<br />
gateway 2607:5300:xx:xxxx: ...</blockquote></div><br />
<br />
不麻烦,我已经单网卡natv4公网v6,v4,v6都自动分配地址<br />
javascript:; 教程呢 天杀的,这个都要自己弄 <div class="quote"><blockquote><font size="2"><a href="https://hostloc.com/forum.php?mod=redirect&goto=findpost&pid=16041425&ptid=1365048" target="_blank"><font color="#999999">qiopgh 发表于 2024-11-18 20:53</font></a></font><br />
不麻烦,我已经单网卡natv4公网v6,v4,v6都自动分配地址<br />
javascript:;</blockquote></div><br />
教程在哪里,大佬写一个造福下菜鸟们
页:
[1]