一元网络论坛

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

Configure ipv6 on OVH KS independent server

[复制链接]

3万

主题

3万

帖子

9万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
96167
发表于 2024-11-19 01:32:42 | 显示全部楼层 |阅读模式
Someone has configured it before.
Manual configuration is incorrect, what's the problem?

vmbr0 auto
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-12-23 11:35 , Processed in 0.061176 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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