qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] how to disable DHCP client on qemu


From: Thomas Huth
Subject: Re: [Qemu-discuss] how to disable DHCP client on qemu
Date: Wed, 24 Jan 2018 08:23:21 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

 Hi,

On 23.01.2018 21:01, Medi Montaseri wrote:
> I am using qemu-system-x86_64
> (x86_64-linux/qemu-native/2.5.0-r1/qemu-2.5.0 ) and multiple network
> interface and in a bridged mode with the host.
[...]
> I don't want qemu to run dhcpc as our own boot scripts will do
> static/dynamic configurations on the tap devices.
> 
> 1) Is there a command line option that I can use to instruct qemu not to
> run any DHCP client ?

Are you sure that the DHCP service is coming from QEMU? As far as I
know, QEMU only provides DHCP for the "-netdev user" interfaces, but not
for tap / bridge.

Are you using libvirt or something similar on top of QEMU? If so, the
DHCP service might be provided by that layer instead, see for example:
https://wiki.libvirt.org/page/VirtualNetworking#DNS_.26_DHCP

 HTH,
  Thomas



reply via email to

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