翻墙论坛|翻墙党社区

 找回密码
 立即注册
查看: 150|回复: 2

华为云上海机器,interfaces中关于IPV6配置文件如何编写?

[复制链接]

750

主题

0

回帖

750

积分

00话痨hs000

Rank: 4

积分
750
发表于 2023-6-1 20:22:34 | 显示全部楼层 |阅读模式
原来的VPS只有IPV4功能,通过弹性IP打开了转换IPV6地址的功能,现在小鸡是IPV4和V6双栈。

/etc/network/interfaces配置文件我是这么改的:
  1. # This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).source /etc/network/interfaces.d/*# The loopback network interfaceauto loiface lo inet loopbackauto  eth0iface eth0 inet dhcpiface eth0 inet6 dhcpauto  eth1iface eth1 inet dhcpiface eth1 inet6 dhcpauto  eth2iface eth2 inet dhcpiface eth2 inet6 dhcpauto  eth3iface eth3 inet dhcpiface eth3 inet6 dhcpauto  eth4iface eth4 inet dhcpiface eth4 inet6 dhcp
复制代码

在它默认iface eth0 inet dhcp基础上添加了inet6的配置段,不知道我这么写是否有问题……?
[url=https://www.lates
回复

使用道具 举报

0

主题

0

回帖

10

积分

新手上路

Rank: 1

积分
10
发表于 2023-6-1 20:24:51 | 显示全部楼层
有小伙伴知道么?
回复 支持 反对

使用道具 举报

1

主题

0

回帖

39

积分

ssr节点分享志愿者

Rank: 5Rank: 5

积分
39
发表于 2023-6-1 20:30:48 | 显示全部楼层
你在这里问 都不官方,直接发工单让技术帮你搞不得了。这里的基本用大厂的很少
回复 支持 反对

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|翻墙党

GMT+8, 2026-9-24 00:16 , Processed in 0.079393 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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