From 9afda1c376a4a56fe3cffc07a425ae84cee3ebe7 Mon Sep 17 00:00:00 2001 From: Andreas Fankhauser hiddenalpha.ch Date: Sat, 28 Oct 2023 20:55:26 +0200 Subject: Update some quemu doc about networking. --- doc/note/qemu/qemu.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/note/qemu/qemu.txt b/doc/note/qemu/qemu.txt index 62cf11d..214fb81 100644 --- a/doc/note/qemu/qemu.txt +++ b/doc/note/qemu/qemu.txt @@ -42,14 +42,14 @@ qemu-system-x86_64 \ -boot order=dc \ -cdrom "path/to/cd.iso" \ -hda "$(dirname "$(realpath "$0")")/hda.qcow2" \ - `# Host-Only Network` \ - -netdev user,id=n1,restrict=y \ + `# Isolated Network` \ + -netdev user,id=n1,ipv6=off,restrict=y \ -device e1000,netdev=n1 \ `# 10.0.2.x network with host redirect` \ - -netdev user,id=n0,hostfwd=tcp:127.0.0.1:${SSH_PORT:-2222}-:22 \ + -netdev user,id=n0,ipv6=off,hostfwd=tcp:127.0.0.1:${SSH_PORT:-2222}-:22 \ -device e1000,netdev=n0 \ `# socket mcast shared network adapter` \ - -netdev socket,id=n1,mcast=230.0.0.1:1234 \ + -netdev socket,id=n1,ipv6=off,mcast=230.0.0.1:1234 \ -device e1000,netdev=n1 \ `# Fix broken host systems` \ -L "${QEMU_HOME:?}/Bios" -bios "${QEMU_HOME:?}/Bios/bios-256k.bin" \ -- cgit v1.1