VMware

This Question is Not Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
0 Replies Last post: Sep 12, 2009 6:26 AM by RKuehn  

Automated Installation ESX4 with PXE and VLAN Tagging posted: Sep 12, 2009 6:27 AM

Click to view RKuehn's profile Novice 10 posts since
Jun 29, 2005
Hi,

I saw several threads at VMTN and Google which stated that an installation will not work with PXE Boot and a network interface which has several VLANs (VLAN Tagging) on the ESX Server.


But I found a solution.
I configured one VM as the UDA Server. The network adapter in VM is connected to the ESX-MgmtLAN.
My ESX Server (HP BL685 G5) has got 6 network cards.
Each network port has got several VLANs (VLAN Tagging) and I configured on NIC 1 the VLAN 112 and VLAN 15 - and VLAN 112 is the ESX MgmtLAN.
So my VM is directly connected to the ESX-MgmtLAN and my blade has two VLANs on the first NIC.


At first I configured NIC 1 for PXE boot and to use the correct VLAN - in this case VLAN ID 112
NIC1.JPG

The ESX Server is now able to get an IP from DHCP and will get the vmlinuz and initrd via tftp from UDA.
I used the kernel options to tell the installation proccess of VMWare ESX to configure the NIC correctly.


I used:
ksdevice=vmnic0 vlanid=112 ip=10.8.18.150 netmask=255.255.255.192 gateway=10.8.18.129 nameserver=10.8.18.140 mem=512M ks=http://10.8.18.190/kickstart/TEST/ESX1.cfg initrd=initrd.esx4.esx40
UDA.JPG


This "kernel option" string can be modified with [variables] in UDA to be more flexible.


That's it.

Regards
Rainer

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities