russel053/ 4 月 23, 2018/ Container

SI-IOV開通完成之後新網卡設定

LXC Conf:

arch: amd64
cores: 1
hostname: LXC
memory: 512
net0: name=eth0,bridge=vmbr0,gw=10.0.1.1,hwaddr=EE:52:25:06:AA:CB,ip=10.0.1.80/24,type=veth

lxc.net.1.type=phys
lxc.net.1.link=enp1s0f3
lxc.net.1.name=eth1
lxc.net.1.ipv4.address=10.0.5.80/24
lxc.net.1.flags=up

onboot: 1
ostype: debian
rootfs: local-zfs:subvol-150-disk-1,size=1G
swap: 512

 

Share this Post