创建 pve虚拟机

Proxmox 虚拟机部署Openwrt_软路由

镜像写入磁盘

qm importdisk 虚拟机id Openwrt镜像 转换磁盘的存储路径lvm-thin Or local-lvm

Proxmox 虚拟机部署Openwrt_软路由_02

添加新增磁盘

Proxmox 虚拟机部署Openwrt_软路由_03

Proxmox 虚拟机部署Openwrt_软路由_04


# 网络修改并提交
uci set network.lan.ipaddr=192.168.79.60
uci set network.lan.netmask=255.255.240.0
uci set network.lan.gateway=192.168.64.1
uci commit network 

# 重新加载网络
/etc/init.d/network restart 
uci show network.lan


# 完整命令
uci set network.lan.proto='static'  
uci set network.lan.ipaddr='192.168.10.100'  
uci set network.lan.netmask='255.255.255.0'  
uci set network.lan.gateway='192.168.10.1'  
uci set network.lan.dns='8.8.8.8'  
uci commit network  
/etc/init.d/network reload

浏览器访问

Proxmox 虚拟机部署Openwrt_软路由_05