pve系统盘扩容
fdisk /dev/vda
输入n然后按几下回车直到提示Created a new partition
最后输入w退出
pvcreate /dev/vda4
vgextend pve /dev/vda4
vgs #查看可用容量
lvresize -r -L+40G /dev/pve
lvs #查看lv卷大小
在Datacenter -> pve -> System -> Network
Create一个新的Linux Bridge
设置好IP地址
iptables -t nat -A POSTROUTING -s 10.39.99.0/24 -o vmbr0 -j MASQUERADE
wget -q -O iptables-sync.sh https://api.xiangxisheng.cn/iptables/sync.sh && sh iptables-sync.sh 1
IPv4的DHCP
subnet 10.39.99.0 netmask 255.255.255.0 { range 10.39.99.101 10.39.99.199; }
IPv6
subnet6 fe80:1::/64 { range6 fe80:1::/64; }
标签:iptables,IP,dev,系统盘,sh,pve,10.39 From: https://www.cnblogs.com/xiangxisheng/p/17720584.html