Ukuser30
Contributor
Contributor

Ubuntu networking issues

Hi Folks,

I've setup a Ubuntu server virtual machine running on my Windows Vista host pc. The situation is:

I can ping the virtual pc from the host
I can ping the adapter IP from the virtual machine
I cannot ping the web from the virtual machine or ping my host IP

I hope the following details help clarify the situation and I think its simply to do with the gateways, but can't see exactly what.

Any help would be great.

Many thanks

Antony

Host: Windows Vista

Wireless Lan Adapter
IP: 192.168.1.2
Sub: 255.255.255.0
GW: 192.168.1.1

VMnet1
IP: 192.168.168.1
Sub: 255.255.255.0

VMnet8
IP: 192.168.0.1
Sub: 255.255.255.0

/etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.0.200
netmask 255.255.255.0
network 192.168.0.0
Broadc  192.168.0.255
Gateway 192.168.0.1 [I believe this is wrong I just don't know what it should be!]

Network adapter (VMplayer settings): NAT

0 Kudos
1 Reply
Ukuser30
Contributor
Contributor

Hi Folks,

Well I fixed it. I downloaded a GUI vmware and set that up and all worked - so I reaslied it was a setting in my Ubuntu server.

I changed 2 key things - firstly the gateway is now 192.168.0.2 and I'm broadcasting on 192.168.0.254 and that seemed to fix it.

I have changed the order the entries appear in but I'm not sure if that plays a part?

Updates are running and all appears ok!

Antony

0 Kudos