致力于为用户提供真实的
主机测评数据及优惠信息

[疑问] 在VPS里边装完PVE之后进行**设置遇到一个这样的问题

网友 Myan 说:

之前买的绿云9999  DD正常,安装pve正常,却在**设置这里一直不能通关。

大佬们谁来给我看看?

如下图所示:

这里的**桥接我这样填写对么??

根据教程设置的,一直报错。

  1. Parameter ve**fication failed. (400)
  2. gateway: Def**lt gateway already exists on inte***ce ‘ens3’.

网友 e** 说:

有一键pve来着

网友 vinny 说:

*帖最后由 vinny 于 2022-11-26 09:17 编辑

从来都是vi去改网卡,填重复了
例子

  1. **to eth0
  2. iface eth0 inet static
  3.         addre**  
  4.         netmask 255.255.255.00
  5.         b**adcast  
  6.         ne**ork  
  7.         gateway  
  8.         dns-name******s  
  9. **to vmbr1
  10. iface vmbr1 inet static
  11.   addre** 192.168.1.1
  12.   netmask 255.255.255.0
  13.   b**dge_ports none
  14.   b**dge_stp off
  15.   b**dge_fd 0
  16.   post-up echo 1 > /p**c/sys/net/ipv4/ip_forward
  17.   post-up iptables -t nat -A POSTROUTING -s ‘192.168.1.0/24’ -o eth0 -j MAS*UERADE
  18.   post-down iptables -t nat -D POSTROUTING -s ‘192.168.1.0/24’ -o eth0 -j MAS*UERADE

网友 银监会 说:

不对,要写vmbr1或者vmbr0,具体看你配置

网友 hkc 说:

新增的桥接里,写公网的IP网关(你写的*地的),ens3的空着
试试这样呢

网友 Myan 说:

hkc 发表于 2022-11-26 09:14
新增的桥接里,写公网的IP网关(你写的*地的),ens3的空着
试试这样呢

赞(0) 打赏
未经允许不得转载:爱主机 » [疑问] 在VPS里边装完PVE之后进行**设置遇到一个这样的问题
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址