qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] qemu dhcp issue


From: Vlad Yasevich
Subject: Re: [Qemu-discuss] qemu dhcp issue
Date: Tue, 20 Jan 2015 18:10:45 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 01/20/2015 08:51 AM, czebartek wrote:
> Hi All,
> I have a problem with configuration of dhcp client on VM started by qemu. I 
> have a server connected to some LAN network from where I get IP addresses. On 
> my server I start qemu with prepared kernel image and rootfs. I set up tap 
> interfaces and bridge on a host machine. The machine I'am simulating is Linux 
> Centos 6.
> What is the problem now:
> When qemu starts up it starts some dhcp client and request the IP address 
> from our external dhcp server. But, there were some security changes in dhcp 
> server recently and now accepts requests only from clients with specific 
> vendor ID.
> The thing is that I don't know how qemu is starting the dhcp client and which 
> client it is using. On Centos there is "dhclient". I know that it uses 
> dhclient.conf file when I could set up vendor ID, but even if I set this 
> config it doesn't work.
> Do you know how to check whcih dhcp client is started when qemu starts VM ? 
> Do you know how to check what configuration it is using ?
> Thanks in advance for help.
> Best regards,
>  Bartosz
> 

In this case, qemu doesn't start the dhcp client on the vm.  The OS instance
running within the VM will start the dhcp client and it's whatever is installed 
for that
instance. So, look to see what is installed inside the VM and edit appropriate 
files.

-vlad



reply via email to

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