Friday, April 25, 2008

Linux and VMware problem


The task was to simply assign an IP address to a Linux server running under VMware. No biggy, so I access the guest o/s, discover that the distro is SuSE and launch into Yast. Upon entering the network card config room, I am presented a listing of two NICs.

In editing the first NIC, an alert pops-up with a lovely 'duplicate IP address detected' warning. Hmmm... pinging from the host o/s shows no response from that IP address that I want to use (ICMP could be filtered, but other hosts on the NAT'd LAN are responding).
Poking around shows that the eth-id for each is unique, and I'm a thinkin' that the eth-id is their MAC address (they are). More consternation. I enter the Advanced room for both NICs and find that the bus-pci strings are the same for each. A small ah-ha! occurs, and I alter the second NIC's bus-pci string, changing it from :11.0 to :12.0, and give the server the boot. (Note: the full bus-pci string is: bus-pci-0000:00:11.0, very similar to a MAC address.)

The box comes back up, and now the eth1 is showing a DHCP address, eth0 is not showing (that's okay for now), and pinging local and remote hosts now functions. Editing eth1 for a static address et. al. goes as expected, and the next reboot shows success.

0 comments: