VMware Communities
nusa
Contributor
Contributor

KDE 3.5.5 on openSuse 10.2 : Can not ping from outside into VM

Hi,

I just downloaded the "KDE 3.5.5 on openSuse 10.2".

Using VMware Player 1.0.3 to run it, it works very well.

I can browse, download, etc.

But the problem is from outside ( from another computer ),

I can not ping into that VM !

Here are some output that I hope you could help me :

Windows :

ipconfig /all[/b]

Z:\>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : myusernamepc

Primary Dns Suffix . . . . . . . : www.mycompany.com

Node Type . . . . . . . . . . . . : Hybrid

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

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

DNS Suffix Search List. . . . . . : www.mycompany.com

mycompany.com

mycompany.com

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix . : mycompany.com

Description . . . . . . . . . . . : Broadcom NetXtreme Fast Ethernet

Physical Address. . . . . . . . . : 00-14-85-A6-4E-7A

Dhcp Enabled. . . . . . . . . . . : Yes

Autoconfiguration Enabled . . . . : Yes

IP Address. . . . . . . . . . . . : 192.168.0.17

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

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

DHCP Server . . . . . . . . . . . : 192.168.0.1

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

Primary WINS Server . . . . . . . : 192.168.0.1

Lease Obtained. . . . . . . . . . : 25 March 2007 08:38:13

Lease Expires . . . . . . . . . . : 02 April 2007 08:38:13

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.198.1

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

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

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.246.1

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

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

.vmx file[/b]

#!/usr/bin/vmware

config.version = "8"

virtualHW.version = "4"

scsi0.present = "TRUE"

scsi0.virtualDev = "lsilogic"

memsize = "1024"

scsi0:0.present = "TRUE"

scsi0:0.fileName = "KDE 3.5.5 on openSUSE 10.2.vmdk"

scsi0:0.writeThrough = "TRUE"

scsi0:1.present = "TRUE"

scsi0:1.fileName = "opt2.vmdk"

ide1:1.present = "TRUE"

ide1:1.fileName = "ide_disk_100gb.vmdk"

ide1:0.present = "TRUE"

ide1:0.fileName = "auto detect"

ide1:0.deviceType = "atapi-cdrom"

floppy0.startConnected = "FALSE"

floppy0.fileName = "Auto detect"

displayName = "KDE 3.5.5 on openSUSE 10.2"

guestOS = "suse"

priority.grabbed = "normal"

priority.ungrabbed = "normal"

powerType.powerOff = "hard"

powerType.powerOn = "hard"

powerType.suspend = "hard"

powerType.reset = "hard"

floppy0.autodetect = "TRUE"

usb.present = "TRUE"

usb.generic.autoconnect = "FALSE"

sound.present = "TRUE"

sound.fileName = "-1"

sound.autodetect = "TRUE"

scsi0:0.redo = ""

sound.virtualDev = "es1371"

ide1:0.startConnected = "TRUE"

tools.remindInstall = "FALSE"

tools.syncTime = "FALSE"

ide1:0.autodetect = "TRUE"

Ethernet0.present = "TRUE"

Ethernet0.connectionType = "nat"

ethernet0.addressType = "static"

ethernet0.address = "00:50:56:0D:d8:6d"

uuid.location = "56 4d f5 03 12 fb 64 ca-86 2b 67 d9 bd b4 0f 66"

uuid.bios = "56 4d f5 03 12 fb 64 ca-86 2b 67 d9 bd b4 0f 66"

ide0:0.redo = ""

scsi0:1.redo = ""

scsi0:2.redo = ""

ide1:1.redo = ""

openSuse :

myusername@myusernamepc:> ps ax|grep -i bridge

4197 pts/4 R+ 0:00 grep -i bridge

myusername@myusernamepc:>

myusername@myusernamepc:> /sbin/ifconfig -a

eth1 Link encap:Ethernet HWaddr 00:50:56:0D:D8:6D

inet addr:192.168.246.128 Bcast:192.168.246.255 Mask:255.255.255.0

inet6 addr: fe80::250:56ff:fe0d:d86d/64 Scope:Link

UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1

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

TX packets:538 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:370317 (361.6 Kb) TX bytes:53030 (51.7 Kb)

Interrupt:185 Base address:0x1400

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:42 errors:0 dropped:0 overruns:0 frame:0

TX packets:42 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:2760 (2.6 Kb) TX bytes:2760 (2.6 Kb)

sit0 Link encap:IPv6-in-IPv4

NOARP MTU:1480 Metric:1

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

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

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

I appreciate any help/suggestion.

Thanks.

0 Kudos
5 Replies
nusa
Contributor
Contributor

This is really strange ...

I can browse, download, & ping outside world from inside VM but not the other way around. I've checked whether the firewall is on, no, it's OFF !

Any takers please ?

Thanks

0 Kudos
RDPetruska
Leadership
Leadership

The guest is configured to use NAT networking... therefore it is hidden from the rest of the network. Everything is working perfectly as configured.

0 Kudos
nusa
Contributor
Contributor

So what should I change in order outside world able to ping into that VM ?

Thanks.

0 Kudos
RDPetruska
Leadership
Leadership

You will need to change the VM to use bridged mode. Change the line 'ethernet0.connectionType = "nat"' from nat to bridged.

You also \*may* need to reconfigure the NIC inside the guest after you do this. You'll have to try it and see.

0 Kudos
nusa
Contributor
Contributor

Yes, changing from nat to bridged allows me to ping from outside into VM.

Then, I need to reconfigure the NIC. It's all OK now.

Thanks.

0 Kudos