版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

...

代码块
apt install brctl-utils
ip a
brctl delbr br0
brctl addbr br0
ip address add 192.168.192.78/24 dev br0
ip link set dev br0 up
brctl addif br0 eth0
ip address del 192.168.192.78/24 dev eth0
ip route add defaul via 192.168.192.1

qemu-system-aarch64   -bios /usr/share/qemu/edk2-aarch64-code.fd   \
-M virt,gic-version=max  \
-cpu cortex-a57   -smp 4   -m 2048M   -nographic   \
-drive format=raw,file=OPNsense-out.raw,cache=none,if=virtio   \
-netdev bridge,id=nic0,br=br0 -device virtio-net,netdev=br0nic0,mac=da:65:2e:22:da:8c  \
-netdev bridge,id=nic1,br-lan=br0 \
-device virtio-net,netdev=br-lannic1,mac=da:65:2e:22:da:8d

启动主机后关闭虚拟机

...