[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Network configuration.

From: peter
Subject: Network configuration.
Date: Mon, 06 Jul 2020 08:08:30 -0700


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=,host= \
  -device ne2k_pci,netdev=n1

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

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

A working guest system is produced.  Good. 

The qemu host tries to make an interface for the 
subnet to the guest.

grep 8.1 /etc/network/interfaces

Check whether the interface is created.

ip addr show | grep
ip addr show | grep

No result from either.  

Q1. Why does qemu fail when a tap device is specified?

Q2. When qemu succeeds to make a guest system, why does 
    it fail to make the interface with address

Thanks,               ... Peter E.

Tel: +1 604 670 0140            Bcc: peter at easthope. ca

reply via email to

[Prev in Thread] Current Thread [Next in Thread]