Im probably new to vmware so please bear with me .
Im trying to create a new virtual appliance on a windows 2003 server . I copied the .vmdk and .vmx files from an existing virtual appliance from its datastore. Then I used Converter standalone Client to create an .ovf file from the .vmdk . After the .ovf is successfully created I deployed it in vsphere client using the "Deploy ovf " option. The virtual appliance is successfully created but the problem is Im not able to configure the network settings
-> Im unable to access the eth0 file.
-> Im not able to set the Ip address
-> " ifconfig " returns an error
-> Subnet mask and inet address are not set
Could someone give me the reasion for this error and possible solution. How do I overcome this problem . How can I assign the ip address to a virtual appliance . Im using a RHEL based server .
Are there alternate ways I can edit the network config.
I have attached the screen shot of the console .
--Thanks in advance.
There has probably been a MAC change and you now have 2 network cards in the OS (atleast that's what it will think).
Can you check the following things and give screenshots:
dmesg | grep eth
Also could you check the content of /etc/udev/rules.d/70-persistent-net.rules
There is a big chance there are 2 devices in this file, remove both entries and reboot the server. This might already resolve the issue.
Hi niels ,
Here are the screen shots you asked for . There are 3 network cards. I dont know if there are 2 devices .
-- Thanks
As you can see eth0 is renamed into rename2 and then eth2
You should compare the lines in the udev file with the MAC addresses in "edit settings" on the VM. Make sure they are correct:
NIC1 = eth0
NIC2 = eth1
etc
As mentioned you can clear the 70-net... file and it should fill up again after a reboot.
Thnaks niels did that but that didnt work ............
while searching on google i found that there are tools which can be used for such things can we use them in this case ????
Can you do the following things and provide screenshots:
dmesg | grep eth
cat /etc/sysconfig/network-scripts/ifcfg-eth0
cat /etc/sysconfig/network-scripts/ifcfg-eth1
cat /etc/sysconfig/network-scripts/ifcfg-eth2
Make sure that the MAC addresses in these configs matches the network cards you can see under "edit settings" (maybe provide screenshots of those as well).
