- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cloned linux guests connections to NAT (VMNet8) Network doesn't work unless vmware-config-tools.pl is run within the linux guest
I am running Workstation 6.5 and am having an issue with cloned linux (RHEL 4) guests connecting to the network via NAT (vmnet 8). I have updated the MAC addressess in the guest so that the guest uses what is defined in the guests vmx file.
My host is WinXP sp2 and has the vmare nat network defined as 192.168.40.1. The vmnet 8 gateway is defined as 192.168.40.2. I am using static ip addresses in my guests starting at 192.168.40.3. When the linux guest boots, it can ping itself but not its gateway nor the host. From my host (winxp), I cannot ping the gateway either.
If I run vmware-config-tools.pl in the linux guest, everything starts working. I can ping the gateway from the host and from the guest. The guest can ping the host and vice versa. For some reason, running the vmware-config-tools.pl fixes all the network issues.
I have not made any changes to the network defined by the Workstation 6.5 install process
HOST Windows IP Configuration
Host Name . . . . . . . . . . . . : XXX-06DBC71B894
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Broadcast
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : ibm.com
Ethernet adapter Wireless Network Connection:
Media State . . . . . . . . . . . : Media disconnected
Description . . . . . . . . . . . : 11a/b/g Wireless LAN Mini PCI Express Adapter
Physical Address. . . . . . . . . : 00-19-7D-78-85-2C
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
Physical Address. . . . . . . . . : 00-50-56-C0-00-08
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.40.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
Physical Address. . . . . . . . . : 00-50-56-C0-00-01
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.227.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection 2:
Media State . . . . . . . . . . . : Media disconnected
Description . . . . . . . . . . . : Bluetooth LAN Access Server Driver
Physical Address. . . . . . . . . : 00-16-CF-F2-F4-57
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 PL Network Connection
Physical Address. . . . . . . . . : 00-15-58-80-96-A1
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.55.202
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.55.1
DHCP Server . . . . . . . . . . . : 192.168.55.1
DNS Servers . . . . . . . . . . . : 68.94.156.1
68.94.157.1
Lease Obtained. . . . . . . . . . : Tuesday, October 07, 2008 6:42:47 AM
Lease Expires . . . . . . . . . . : Wednesday, October 08, 2008 6:42:47 AM
GUEST IFCONFIG
eth0 Link encap:Ethernet HWaddr 00:0C:29:D2:E1:DF
inet addr:192.168.40.6 Bcast:192.168.40.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fed2:e1df/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:630 (630.0 b)
Interrupt:193 Base address:0x2024
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1612 errors:0 dropped:0 overruns:0 frame:0
TX packets:1612 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1879242 (1.7 MiB) TX bytes:1879242 (1.7 MiB)
Guest VMX File
.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "7"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "512"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "impact-cl1-000003.vmdk"
ide1:0.present = "TRUE"
ide1:0.fileName = "auto detect"
ide1:0.deviceType = "cdrom-raw"
floppy0.startConnected = "FALSE"
floppy0.autodetect = "TRUE"
ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
ethernet0.wakeOnPcktRcv = "FALSE"
usb.present = "TRUE"
ehci.present = "TRUE"
sound.present = "TRUE"
sound.fileName = "-1"
sound.autodetect = "TRUE"
mks.enable3d = "TRUE"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
roamingVM.exitBehavior = "go"
displayName = "oracle10g"
guestOS = "rhel4"
nvram = "oracle10g.nvram"
virtualHW.productCompatibility = "hosted"
ft.secondary0.enabled = "TRUE"
tools.upgrade.policy = "useGlobal"
extendedConfigFile = "oracle10g.vmxf"
floppy0.fileName = "A:"
ide1:0.startConnected = "FALSE"
ethernet0.addressType = "generated"
tools.syncTime = "FALSE"
uuid.location = "56 4d 7b 74 40 8b 8e 2b-75 bc d3 a4 21 d2 e1 df"
uuid.bios = "56 4d 7b 74 40 8b 8e 2b-75 bc d3 a4 21 d2 e1 df"
scsi0:0.redo = ""
vmotion.checkpointFBSize = "134217728"
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "33"
sound.pciSlotNumber = "34"
ehci.pciSlotNumber = "35"
vmci0.pciSlotNumber = "36"
ethernet0.generatedAddress = "00:0c:29:d2:e1:df"
ethernet0.generatedAddressOffset = "0"
vmci0.id = "364141626"
policy.vm.mvmtid = ""
inVMTeam = "FALSE"
ide1:0.autodetect = "TRUE"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To be frank thats most likley a redhat problem.
Redhat likes to tie mac addresses in the config to the network cards, while it has a purpose and I know all of that, if you do something like clone the box, or change the card, of course the networking then doesnt work.
Easiest answer is to strip the mac addresses out of the network config and it should work fine, Id expect this to be the root cause of your lack of networking until you rerun the script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So far i have tried:
- removing the mac address from the vmx config file...nothing changes
- completly removing and re-adding the guests network hardware and device from within the guest, rebooting, and recreating the hardware/device
- network begins to communicate but has the same problem after a reboot - cannot ping gateway or host
It cannot/should not be this hard to create and use a linux clone.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the only things that works thus far is to run the vmware tools config script or restart the guests network services (services network restart). Once either of these is done, communication can happen between the host, and guests.
Any ideas?