From 5745f259fb316a59f43bb7459a7dce59c83777bd Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Mon, 23 Oct 2023 23:31:21 +0800 Subject: [PATCH] Update lxd_custom.md --- docs/guide/lxd_custom.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/guide/lxd_custom.md b/docs/guide/lxd_custom.md index 2493ad4a86..e0c2d2dcda 100644 --- a/docs/guide/lxd_custom.md +++ b/docs/guide/lxd_custom.md @@ -38,8 +38,15 @@ systemctl is-active networking # sudo systemctl disable systemd-networkd # sudo systemctl stop systemd-networkd.socket # sudo systemctl disable systemd-networkd.socket +``` +安装```ifupdown```控制网络(注意下面的平台不同可能有的平台需要```ifupdown2```) + +``` sudo apt-get install ifupdown -y +``` + +``` sudo systemctl start networking sudo systemctl enable networking ``` @@ -126,6 +133,8 @@ route -A inet6 add ::/0 dev he-ipv6 ### netassist +这个平台你在切换网络管理时务必使用```ifupdown2```而不是```ifupdown2```安装包,因为前者使用v4tunnel协议,该平台使用sit协议,而sit协议需要在```ifupdown2```控制的环境中使用 + 类似上述的操作,先在 [https://tb.netassist.ua/](https://tb.netassist.ua/) 注册一个账户先,注册后点击激活的邮件,激活页面会有密码显示,记得记录 然后就是填写你的服务器IPV4地址,这个后面可以自己修改,先随便填一个都没问题 @@ -156,6 +165,13 @@ sudo tee -a /etc/network/interfaces <