ProxmoxVE 6.4-13 (PVE) 网络配置

将ikuai和openwrt整合进AIO服务器之后,需要修改一下网络配置,这里详细列出来

/etc/network/interfaces 修改管理口vmbr0的ip以及gateway

root@AIOserver-Pve:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.1.168/24
        gateway 192.168.1.2
        bridge_ports eno1
        bridge_stp off
        bridge_fd 0

/etc/issue 修改终端提示

root@AIOserver-Pve:~# cat /etc/issue

------------------------------------------------------------------------------

Welcome to the Proxmox Virtual Environment. Please use your web browser to 
configure this server - connect to:

  https://192.168.1.168:8006/

------------------------------------------------------------------------------

/etc/hosts 修改hosts

root@AIOserver-Pve:~# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
192.168.1.168 AIOserver-Pve.example AIOserver-Pve

/etc/resolv.conf 修改dns

root@AIOserver-Pve:~# cat /etc/resolv.conf 
search example
nameserver 192.168.1.2
nameserver 114.114.114.114

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
>