VMware Communities
JeremyCade
Contributor
Contributor

Ubuntu Server 6.10 - Networking Issues

Hi all,[i][/i]

I've downloaded the Ubuntu Server 6.10 Appliance from here:

http://www.vmware.com/vmtn/appliances/directory/694

I'm trying to run it in VMware Player 1.0.3 build-34682

I've now tried it on two separate machines on two separate networks and at no time have I been able to get it to access the network or the internet.

Both machines are WinXP Pro SP2. Fully patched and updated, Both machines only have 1 NIC.

[b]Other information:[/b][/u]

/etc/network/interfaces[/b]

\# The loopback netowrk interface

auto lo

iface lo inet loopback

\# The primary network interface

auto eth0

iface eth0 inet dhcp

Ubuntu-6.10-server-i386.vmx[/b]

config.version = "8"

virtualHW.version = "4"

scsi0.present = "TRUE"

scsi0.virtualDev = "lsilogic"

memsize = "128"

scsi0:0.present = "TRUE"

scsi0:0.fileName = "Ubuntu-6.10-server-i386.vmdk"

scsi0:0.writeThrough = "TRUE"

ide1:0.present = "TRUE"

ide1:0.fileName = "auto detect"

ide1:0.deviceType = "cdrom-raw"

floppy0.startConnected = "FALSE"

floppy0.fileName = "/dev/fd0"

Ethernet0.present = "TRUE"

displayName = "Ubuntu-6.10-server-i386"

guestOS = "ubuntu"

priority.grabbed = "normal"

priority.ungrabbed = "normal"

powerType.powerOff = "hard"

powerType.powerOn = "hard"

powerType.suspend = "hard"

powerType.reset = "hard"

ide1:0.autodetect = "TRUE"

uuid.action = "create"

tools.remindInstall = "FALSE"

scsi0:0.redo = ""

ethernet0.addressType = "generated"

uuid.location = "56 4d a7 6b 72 3f 92 47-10 fd e3 fb 3f 3e 77 f8"

uuid.bios = "56 4d a7 6b 72 3f 92 47-10 fd e3 fb 3f 3e 77 f8"

ethernet0.generatedAddress = "00:0c:29:3e:77:f8"

ethernet0.generatedAddressOffset = "0"

tools.syncTime = "FALSE"

checkpoint.vmState = ""

ethernet0.connectionType = "nat"

Host Machine ipConfig[/b]

Windows IP Configuration

Ethernet adapter VMware Network Adapter VMnet8:

Connection-specific DNS Suffix . :

IP Address. . . . . . . . . . . . : 192.168.44.1

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet1:

Connection-specific DNS Suffix . :

IP Address. . . . . . . . . . . . : 192.168.121.1

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . :

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :

IP Address. . . . . . . . . . . . : 192.168.0.2

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 192.168.0.1

Help much appreciated.

0 Kudos
15 Replies
RDPetruska
Leadership
Leadership

Re-run the network configuration in the guest. Newer Linux distros store the network configuration info in a file with the MAC address of the NIC in the file name. When you copy a VM and turn it on, and create a new UUID it creates a new MAC address for the virtual NIC.

0 Kudos
JeremyCade
Contributor
Contributor

Thanks for that.

Does anyone know the command to re-run the network configuration?

0 Kudos
KevinG
Immortal
Immortal

Post the output of " ifconfig -a " from the Ubuntu guest

In the case of Ubuntu the MAC address is not stored as part of the interface configuration

0 Kudos
JeremyCade
Contributor
Contributor

-a isn't a valid switch for ipconfig :S

Do you mean ipconfig /all?

0 Kudos
KevinG
Immortal
Immortal

Sorry, it was a type O Smiley Happy

Post the output of " ifconfig -a " from the Ubuntu guest

0 Kudos
Peter_vm
Immortal
Immortal

No, "ifconfig -a"

0 Kudos
JeremyCade
Contributor
Contributor

eth1

Link encap:Ethernet HWaddr 00:0C:29:3E:77:F8

BRAOADCAST MUTLICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 frame:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

interrupt:177 Base address: 0x1400

lo

Link encap:Local Loopback

inet addr:127.0.0.1 Mask: 255.0.0.0

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 frame:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

0 Kudos
Peter_vm
Immortal
Immortal

Can you also post "ipconfig /ALL[/b]" from your host?

0 Kudos
JeremyCade
Contributor
Contributor

Windows IP Configuration

Host Name . . . . . . . . . . . . : xxxxxxxx

Primary Dns Suffix . . . . . . . :

Node Type . . . . . . . . . . . . : Unknown

IP Routing Enabled. . . . . . . . : No

WINS Proxy Enabled. . . . . . . . : No

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.44.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.121.1

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . :

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : SiS 900-Based PCI Fast Ethernet Adapter

Physical Address. . . . . . . . . : 00-0C-6E-75-9B-BB

Dhcp Enabled. . . . . . . . . . . : No

IP Address. . . . . . . . . . . . : 192.168.0.2

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 192.168.0.1

DNS Servers . . . . . . . . . . . : 192.168.0.1

0 Kudos
Peter_vm
Immortal
Immortal

Can you check if you have DHCP and NAT services running on host?

net start |find "VMware" /i[/code]

0 Kudos
KevinG
Immortal
Immortal

Hi Jeremy,

Your /etc/network/interfaces has only eth0 defined.

You could copy/paste the following into your /etc/network/interfaces file

\# The secondary network interface

auto eth1

iface eth1 inet dhcp

OR

Change the existing entry to

\# The primary network interface

auto eth1

iface eth1 inet dhcp

A reboot of the OS or restarting the network services should take care of the issue

0 Kudos
JeremyCade
Contributor
Contributor

Thanks Kevin, that did it.

Thank you everyone for your help..

0 Kudos
KevinG
Immortal
Immortal

Gald to hear that it resolved your issue Smiley Happy

0 Kudos
SchoolYard
Contributor
Contributor

I am using VMware-Server 1.02 and encountered same problem. I followed the instruction 2, a) of

http://www.thoughtpolice.co.uk/vmware/howto/ubuntu-server-6.10-edgy-eft-vmware-tools-install.html

to update VMware-Tools for the appliance. After that eth0 works like a charm.

I think this is because the appliance was installed with VMware-Tools 1.01 and you are using VMware Player 1.03. Each VMware player/server has its own version of VMware-tools.

0 Kudos
optical
Contributor
Contributor

Hi,

I got the a similiar issue but can't get mine to work after following the suggestions. I'm running the same vm player version as the original poster.

When I do a ifconfig, the only nic that shows up is the L0 although if all the ifonfig -a both eth0 and L0 shows up. I've configured my eth0 for static with a static IP.

Any other suggestions? Windows does show the virtual nic from the vm player.

0 Kudos