qemu: create igb interfaces
authorKristof Provost <kp@FreeBSD.org>
Mon, 29 Apr 2024 21:49:34 +0000 (23:49 +0200)
committerKristof Provost <kp@FreeBSD.org>
Mon, 29 Apr 2024 21:49:34 +0000 (23:49 +0200)
Bring us a little closer to the real hardware, which makes the configuration for
qemu and apu boards basically identical.

ansible/roles/router/tasks/main.yaml
image/README.txt

index 599fd5d..02c6366 100644 (file)
@@ -1,6 +1,6 @@
 - name: set subnet
   community.general.sysrc:
-    name: ifconfig_vr0
+    name: ifconfig_igb1
     value: "{{ lan_ip }} up"
   become: true
 - name: gateway enable
index 0f480ee..17f9868 100644 (file)
@@ -4,7 +4,7 @@ Pennestraat properties.
 Notes
 =====
 Run in qemu:
-sudo qemu-system-x86_64 -m 4096m -hda /usr/local/poudriere/data/images/pennestraat.img -nographic -net nic -net tap,ifname=tap1
+sudo qemu-system-x86_64 -smp 4 -m 4096m -hda /usr/local/poudriere/data/images/domotica.img -nographic -net nic,model=igb -net tap,ifname=tap1 -net nic,model=igb -net tap,ifname=tap2
 
 Jail creation:
 (Needs the kernel installed!)