WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Dom1 always does DHCP requests and vmid increasing

To: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Dom1 always does DHCP requests and vmid increasing
From: Mike Brady <mike.brady@xxxxxxxxxxxxxx>
Date: Thu, 29 Jul 2004 21:12:46 +1200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 29 Jul 2004 10:15:25 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: <E1BpY85-0001ci-00@xxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <E1BpY85-0001ci-00@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.6.2
I have resolved my problem or at least treated the symptom.

The xenU kernel has  
    CONFIG_IP_PNP=y
    CONFIG_IP_PNP_DHCP=y
set in the default kernel configuration.  I didn't do extensive tests, but it 
would seem that with CONFIG_IP_PNP_DHCP=y the kernel will do DHCP requests if 
an IP address is not supplied on the commandline irrespective other settings 
it passed.  Disabling this and rebuilding the kernel stops the behavour that 
I was seeing.  This allows the Linux DHCP client to do its thing which is 
what I was after.  I have a DHCP server setup with all the network settings, 
DDNS, etc and the kernel DNS client doesn't pick everything up properly.

Thanks for the help

Mike

On Wed, 28 Jul 2004 08:00, Ian Pratt wrote:
> > > There's nothing in your config file below to cause the kernel to
> > > do a DHCP. Are you sure that your rc scripts aren't doing it?
> >
> > THe DHCP request that I am seeing requests ip adddress 1.2.3.4.  The only
> > place that I can find that address mentioned is in the domain
> > configuration, so I don't believe that it is the rc scripts, but I will
> > have another look later in the day.  Syslog entries also indicate that it
> > is a kernel DHCP request as opposed to a dhcpcd request.
>
> I might expect to see an ARP request for 1.2.3.4, but not a DHCP
> request. The 1.2.3.4 is just there to workaround a linux 2.6 bug,
> so could be removed altogether if you're booting 2.4.
>
> Can you post the first few packets of output from:
>  tcpdump -i vifX.Y -s 2048 -vvxe
>
> Ian


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel