一元网络论坛

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

OVH独立服务器IPv6配置方法

[复制链接]

3万

主题

3万

帖子

9万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
93502
发表于 3 天前 | 显示全部楼层 |阅读模式
手动配置网络有问题。配置如下:
`auto vmbr0`
`iface vmbr0 inet static`
` address 158.69.xx.75/24`
` gateway 158.69.xx.254`
` bridge-ports eno1`
` bridge-stp off`
` bridge-fd 0`
` hwaddress 0C:C4:7A:47:9:14`
`iface vmbr1 inet6 static`
` address 2607:5300:120:a4b::1`
` netmask 64`
` post-up /sbin/ip -f inet6 route add xx:5300:0120:0aff:00ff:00ff:00ff:00ff dev vmbr0`
` post-up /sbin/ip -f inet6 route add default via xx:5300:0120:0aff:00ff:00ff:00ff:00ff`
` pre-down /sbin/ip -f inet6 route del default via xx:5300:0120:0aff:00ff:00ff:00ff:00ff`
` pre-down /sbin/ip -f inet6 route del xx:5300:0120:0aff:00ff:00ff:00ff:00ff`
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|一元网络论坛

GMT+8, 2024-11-21 21:56 , Processed in 0.114005 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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