VMware Communities
NickH2
Contributor
Contributor

Getting networking to work in VMplayer 2.5.3 on SLES SP1. Generic help welcome

I have installed VMplayer 2.5.3 on SLES10 SP1 and am trying to run a .vmx (Novell Teaming). Networking is apparently supposed to work 'out-of-the-box' but it doesn't. I suspect this is because of the 2 NICs installed on the host, one of which goes nowhere but another SLES 10 box (eth1). I have spent a lot of time on this.

My networking knowledge re bridging and routing is sketchy and my SLES 10 knowledge is fairly basic, and this is my first VMplayer installation. Can someone please tell me how the bridging between a virtual machine and the host is supposed to work and give me any clues as to why it doesn't in my case. I want to have the guest machine on 192.168.0.242 and for it to be part of the same subnet as the rest of the system (192.168.0.x). With just 'Bridged' selected in the VMplayer Network Adapter settings I get no communication at all. With connectiontype as 'custom' in the vmx and a vnet of vmnet1I was able to ping the guest from the host but not the other way around.

As I have said just general help on bridging, firewalls under Linux would also be useful. The vmx is fairly limited, e.g. there is no Yast and no SUSE* commands), making it harder for me. And the VMplayer docs are non-existent.

Here are the key settings. tlb-standby is the HOST and teaming is the GUEST.

Thanks in advance

HOST

tlb-standby:~ # ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:1E:C9:33:C6:79

inet addr:192.168.0.241 Bcast:192.168.0.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

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

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

collisions:0 txqueuelen:1000

RX bytes:5438619639 (5186.6 Mb) TX bytes:8859306055 (8448.8 Mb)

Interrupt:177

eth1 Link encap:Ethernet HWaddr 00:10:18:33:41:F1

inet addr:1.1.1.2 Bcast:1.1.1.3 Mask:255.255.255.252

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

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

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

collisions:0 txqueuelen:1000

RX bytes:38364366 (36.5 Mb) TX bytes:25174097 (24.0 Mb)

Interrupt:169

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

UP LOOPBACK RUNNING MTU:16436 Metric:1

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

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

collisions:0 txqueuelen:0

RX bytes:4280259 (4.0 Mb) TX bytes:4280259 (4.0 Mb)

vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01

inet addr:192.168.0.243 Bcast:192.168.0.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

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

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

collisions:0 txqueuelen:1000

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

vmnet8 Link encap:Ethernet HWaddr 00:50:56:C0:00:08

inet addr:172.16.55.1 Bcast:172.16.55.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

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

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

collisions:0 txqueuelen:1000

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

tlb-standby:/opt # iptables -L

Chain INPUT (policy ACCEPT)

target prot opt source destination

Chain FORWARD (policy ACCEPT)

target prot opt source destination

Chain OUTPUT (policy ACCEPT)

target prot opt source destination

tlb-standby:/opt #

GUEST

teaming:~ # ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:0C:29:DE:FA:41

inet addr:192.168.0.242 Bcast:192.168.0.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fede:fa41/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

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

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

collisions:0 txqueuelen:1000

RX bytes:732418 (715.2 Kb) TX bytes:33612 (32.8 Kb)

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

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

collisions:0 txqueuelen:0

RX bytes:2701143 (2.5 Mb) TX bytes:2701143 (2.5 Mb)

teaming:~ # iptables -L

Chain INPUT (policy DROP)

target prot opt source destination

ACCEPT all -- anywhere anywhere

ACCEPT all -- anywhere anywhere state ESTABLISHED

ACCEPT icmp -- anywhere anywhere state RELATED

input_ext all -- anywhere anywhere

input_ext all -- anywhere anywhere

LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-IN-ILL-TARGET '

DROP all -- anywhere anywhere

Chain FORWARD (policy DROP)

target prot opt source destination

LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-FWD-ILL-ROUTING '

Chain OUTPUT (policy ACCEPT)

target prot opt source destination

ACCEPT all -- anywhere anywhere

ACCEPT all -- anywhere anywhere state NEW,RELATED,ESTABLISHED

LOG all -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-OUT-ERROR '

Chain forward_ext (0 references)

target prot opt source destination

Chain input_ext (2 references)

target prot opt source destination

DROP all -- anywhere anywhere PKTTYPE = broadcast

ACCEPT icmp -- anywhere anywhere icmp source-quench

ACCEPT icmp -- anywhere anywhere icmp echo-request

LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:https flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP '

ACCEPT tcp -- anywhere anywhere tcp dpt:https

LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:http flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP '

ACCEPT tcp -- anywhere anywhere tcp dpt:http

LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:pcsync-https flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP '

ACCEPT tcp -- anywhere anywhere tcp dpt:pcsync-https

LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:http-alt flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP '

ACCEPT tcp -- anywhere anywhere tcp dpt:http-alt

LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:smtp flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP '

ACCEPT tcp -- anywhere anywhere tcp dpt:smtp

LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:ms-v-worlds flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP '

ACCEPT tcp -- anywhere anywhere tcp dpt:ms-v-worlds

LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp dpt:ssh flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-ACC-TCP '

ACCEPT tcp -- anywhere anywhere tcp dpt:ssh

reject_func tcp -- anywhere anywhere tcp dpt:ident state NEW

LOG all -- anywhere anywhere limit: avg 3/min burst 5 PKTTYPE = multicast LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT '

DROP all -- anywhere anywhere PKTTYPE = multicast

LOG tcp -- anywhere anywhere limit: avg 3/min burst 5 tcp flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT '

LOG icmp -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT '

LOG udp -- anywhere anywhere limit: avg 3/min burst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT '

LOG all -- anywhere anywhere limit: avg 3/min burst 5 state INVALID LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT-INV '

DROP all -- anywhere anywhere

Chain reject_func (1 references)

target prot opt source destination

REJECT tcp -- anywhere anywhere reject-with tcp-reset

REJECT udp -- anywhere anywhere reject-with icmp-port-unreachable

REJECT all -- anywhere anywhere reject-with icmp-proto-unreachable

teaming:~ #

Reply
0 Kudos
1 Reply
NickH2
Contributor
Contributor

It is clear from the replies :smileymischief: that networking is straightforward, transparent and it's only me that has any issues. I have found the solution to the network issue on SLES 10 SP1

1. Uninstall VmPlayer 2.5.3

2. Install Vmplayer 2.0.5

3. Run vmplayer-config.pl (that you now have)

4. Start vmplayer, select the image and watch in amazement as networking suddenly all works.

Reply
0 Kudos