/etc/network/interfaces
config is the "auto vmbr0" part:auto vmbr0
iface vmbr0 inet static
...
ifup vmbr0
and check again if you can ping the host.ip a
can ping the host晉語
/etc/network/interfaces
配置中可能缺少的是“auto vmbr0”部分:
[代码]
自动 vmbr0
iface vmbr0 inet static
...
[/代码]
在编辑之前,您可以调用ifup vmbr0
并再次检查是否可以 ping 主机。
如果这不起作用,您可以从PVE主机发布以下命令:
[代码]
ip a
[/代码]
How to save and take effect iptables' rules?I would keep those iptables rules in the network configuration
YesI'm not sure what you want to do. The iptables rules will be applied when the network config is loaded.
Iptables rules can be checked But are not sure if the iptables rules are valid?Hi,
how did you determin that they don't have an effect? Did you check this:
Code:iptables -t nat -L