qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] networking


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] networking
Date: Thu, 24 Jan 2019 10:16:18 +0000
User-agent: Mutt/1.10.1 (2018-07-13)

On Tue, Jan 22, 2019 at 10:02:09PM -0500, address@hidden wrote:
> The windows 7 guest on linux host had networking out of the box.
> It now lost it for some reason.
> The qemu string remained the same....

Please post your QEMU command-line.

> It now want to do DHCP and fails.
> It has an intel nic as nic device in device manager.
> 
> What i cant understand is how to dop a static network config in this case.
> lets say my network is 192.168.1.x
> 
> Do i give it a static ip say 192.168.1.33 ?
> The mask 255.255.255.0
> What must the default gateway be ?
> On my linux network this at 192.168.1.100

The details of QEMU's default networking configuration ("slirp"
userspace networking) is as follows:

Subnet: 10.0.2.0/24
Gateway: 10.0.2.2

Therefore statically assigning a 192.168.1.0/24 address will not work,
you need to pick a 10.0.2.0/24 address and use 10.0.2.2 as the gateway.

If you are using tap networking then this does not apply.  Details of
your host networking setup would be necessary in order to help you.

> Should I give an external e.g. google dns or is there a specific internal
> DNS it needs to use ?
> 
> thanks
> 
> Why networking just broke I really cannot understand
> 
> 

Attachment: signature.asc
Description: PGP signature


reply via email to

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