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: Sun, 28 Jan 2018 18:56:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 27.01.2018 00:42, Medi Montaseri wrote:
> I don't think we are using libvert...here is the actual call to
> runqemu(1) and sub-sequent call to qemu-system-x86_64.

To be sure, what do you get when you run for example "lsof -iudp" or
check the running processes with "ps aux" ? Do you see any dnsmasq or
dhcpd running?

[...]
>      -net nic,model=virtio,macaddr=52:54:00:12:34:124 -net
> tap,ifname=tap0,script=no,downscript=no
>      -net nic,model=virtio,macaddr=52:54:00:12:34:125 -net
> tap,ifname=tap1,script=no,downscript=no

AFAIK that configures two interfaces on the same hub ("vlan") ... not
sure this is really intended here? If not, you should either use the
"vlan=X" parameter, or use "-netdev" instead.

>      -append "vga=0 uvesafb.mode_option=640x480-32 root=/dev/vda rw
> mem=256M ip=off oprofile.timer=1 rootfstype=ext4 console=ttyS0"
> 
> Note how I have set "ip=off" (similar to ip=none) and I am expecting
> qemu to stay off of network configuration, I'll do it later in my boot
> scripts

That content of the -append parameter is for the guest kernel only, so
QEMU itself certainly does not care about that "ip=off".

 Thomas



reply via email to

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