<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>I ran into an issue when trying to create VMs in CentOS 5.5 with VLANs.  My setup is as follows:</div>

<div><br></div><div>-CentOS 5.5 x64 xen kernel</div><div>-LVM for storage</div><div>-Kickstart file hosted on apache in <span style="font-family: Arial; white-space: pre-wrap; ">/var/www/html/</span></div><div>-VM start file in <span style="font-family: monospace; font-size: 13px; line-height: 14px; white-space: pre-wrap; ">/etc/xen/</span></div>

<div>-VLAN100 interface with public IP, VLAN200 interface with private IP</div><div><br></div><div>My vm start file is as follows:</div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; ">

<span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">kernel = &quot;/boot/vm-inst/vmlinuz&quot;</span><br>

<span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">ramdisk = &quot;/boot/vm-inst/initrd.img&quot;</span><br>

<span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">name = &quot;vm1-inst&quot;</span><br>

<span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">memory = 1000</span><br>

<span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">disk = [ &#39;phy:/dev/VolGroup01/vm01,xvda,w&#39;, ]</span><br>

<span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">vif = [&#39;bridge=virbr0&#39;, ]</span><br>

<span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">vcpus = 1</span><br>
<span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">ip = &#39;172.16.1.100&#39;</span><br>

<span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">netmask = &#39;255.255.255.0&#39;</span><br>

<span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">gateway = &#39;172.16.1.1&#39;</span><br>

<span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">extra = &quot;text ks=<a href="http://172.16.1.155/vm-inst1-ks.cfg" target="_blank" style="color: rgb(0, 101, 204); ">http://172.16.1.155/vm-inst1-ks.cfg</a> ip=172.16.1.100 netmask=255.255.255.0 gateway=172.16.1.1 dns=172.16.1.200&quot;</span></div>

</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; "><br>


</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><font face="Arial"><span style="white-space: pre-wrap; ">To start the install I run:</span></font></div>

<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; ">xm create -c vm1-inst </span></div>

<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; "><br>


</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; ">The CentOS installer finds the kernel and ramdisk files, configures the IP, then hangs for a while until it states it cannot find the kickstart file.  </span></div>

<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; "><br>


</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; ">I have to then have to exit the console and shutdown the vm </span></div>

<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; "><br>


</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; ">To remove any issues with the kickstart file, I tried just using vm-install --prompt to create the VM and pointing to a FTP site with the install files.  The CentOS installer starts, I configure the IP using a static IP, but then the it complains it cannot find any files in the FTP site.  </span></div>

<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; "><br>


</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; ">Finally, I tried using the CentOS DVD ISO as the install media for the VM.  The installer starts, but then complains it does not have the drivers to load the media.  I googled and found this is a limitation of CentOS when creating VMs.    </span></div>

<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; "><br>


</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; ">Has anyone had experience getting the installer over VLANs to work with a network install?  Is there another way around this issue?</span></div>

<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; "><br>


</span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; ">Thanks and Regards,</span></div>

<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: transparent; font-family: &#39;Times New Roman&#39;; "><span style="font-family: Arial; white-space: pre-wrap; ">Jared</span></div>

</span>