From 50e3c68e9ad5163c8b0553b30f69c1118161a1ca Mon Sep 17 00:00:00 2001 From: Fabian Date: Tue, 13 Aug 2024 14:35:16 +0200 Subject: [PATCH] two instances example: show how to configure network --- examples/two_instances.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/examples/two_instances.html b/examples/two_instances.html index 392223a6..73d236f3 100644 --- a/examples/two_instances.html +++ b/examples/two_instances.html @@ -20,7 +20,7 @@ window.onload = function() url: "../bios/vgabios.bin", }, cdrom: { - url: "../images/linux.iso", + url: "../images/linux4.iso", }, autostart: true, }); @@ -35,7 +35,7 @@ window.onload = function() url: "../bios/vgabios.bin", }, cdrom: { - url: "../images/linux.iso", + url: "../images/linux4.iso", }, autostart: true, }); @@ -76,7 +76,17 @@ window.onload = function() }; -Click on a screen to control it.
+To set up networking: +
+# first VM
+ifconfig eth0 up arp 10.5.0.2
+
+# second VM
+ifconfig eth0 up arp 10.5.0.3
+ping 10.5.0.2
+
+Click on a screen to control it. +