[Oberon] Networking ETH Oberon on QEMU.

peter at easthope.ca peter at easthope.ca
Mon Jul 6 18:22:44 CEST 2020


Hi,

Strictly this is a QEMU question but someone here might be able to 
answer.

This command produces error reply "qemu-system-i386: Invalid parameter 'net'".

qemu-system-i386 -drive file=$Sysdev,format=raw \
  -netdev tap,id=n1,ipv4=on,ipv6=off,net=172.23.8.0/24,host=172.23.8.2 \
  -device ne2k_pci,netdev=n1

Therefore try this.  The intention is qemu host 172.23.8.1 and qemu 
guest 172.23.8.2.  (Note the ambiguity of "host".)

qemu-system-i386 -drive file=$Sysdev,format=raw \
  -netdev user,id=n1,ipv4=on,ipv6=off,net=172.23.8.0/24,host=172.23.8.2 \
  -device ne2k_pci,netdev=n1

A working guest system is produced.  Good. 

Check whether the interface is created.

ip addr show | grep 172.23.8.1
ip addr show | grep 172.23.8.2

No result.  No interface.  (I don't really expect the second to work 
from the host side.)

Has anyone made a network connection with Oberon on QEMU? Ideas?

Thanks,                ... P.


-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140            Bcc: peter at easthope. ca



More information about the Oberon mailing list