cat /etc/netplan/00-installer-config.yaml
network:
version: 2
renderer: networkd
ethernets:
ens160:
dhcp4: false
dhcp6: true
addresses:
- 192.168.3.104/24
routes:
- to: 0.0.0.0/0
via: 192.168.3.1
nameservers:
addresses:
- 192.168.3.1
search: []
1
yyzh 343 天前 via Android
🤔同一个网络里么?
|
2
HTDit 343 天前 via Android
把桌面配置导出来看下,有没有区别
|
5
wangbin11 OP 我是 esxi 虚拟机,如果我安装的时候选择开启 ipv6 第一个镜像可以,克隆就不行了,但是克隆的机器 mac 都不相同,搞不懂
|
6
A01514035 343 天前
racknerd 工单给我的回复,有兴趣可以试一下。
We have successfully added the IPV6 address for your server, please allow some time for the configuration. And also please note For Ubuntu & Debian instance needs to enable IPV6 manually after configuring. Kindly follow the below-mentioned steps to enable the IPv6 address for your server. Login to your server via ssh connection and adding the below entries in sysctl.conf file: nano /etc/sysctl.conf Scroll all the way down, and add the following lines at the end: net.ipv6.conf.all.autoconf = 0 net.ipv6.conf.all.accept_ra = 0 net.ipv6.conf.eth0.autoconf = 0 net.ipv6.conf.eth0.accept_ra = 0 To check run: sysctl -p Then try to restart network systemctl restart networking Then check with ping6 google.com If its still not working try to reboot your VPS once. |
8
ZeroZreo 170 天前
你说的问题我也遇到了,经过反复实验和对比,我发现问题在于需要用 networkmanager 替代 netplan ,Ubuntu 服务器版本使用的是 netplan ,而桌面版是 networkmanager 。我的环境是仅 SLAAC ,在 networkmanager 下终于正常拿到 IPv6.
|