Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

No Network Connection

0 views
Skip to first unread message

Marco Steinacher

unread,
Nov 24, 2000, 3:00:00 AM11/24/00
to
Hi

I'm in trouble. I want to set up bridged networking, like that:
[VM win98] ---- [My Linuxbox] ---- My ehternet
172.16.183.2 172.16.183.1 192.168.2.0/24

I set the IP,Netmask+Gateway in the VM, and configured vmware on the
Linux-Box. The config looks ok:

ipconfig on VM:
**********************
Windows 98 IP-Konfiguration

0 Ethernet Adapter :

IP-Adresse. . . . . . . . . : 172.16.183.2
Subnet Mask . . . . . . . . : 255.255.255.0
Standard-Gateway . . . . . . : 172.16.183.1

ifconfig on Linux:
**********************
eth0 Link encap:Ethernet HWaddr 00:E0:98:16:20:FD
inet addr:129.132.86.195 Bcast:129.132.86.223
Mask:255.255.255.224
UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1
RX packets:139015 errors:0 dropped:1 overruns:0 frame:10
TX packets:5641 errors:0 dropped:0 overruns:0 carrier:0
collisions:646 txqueuelen:100
Interrupt:3 Base address:0x320

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:47 errors:0 dropped:0 overruns:0 frame:0
TX packets:47 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0

vmnet1 Link encap:Ethernet HWaddr 00:50:56:01:00:00
inet addr:172.16.183.1 Bcast:172.16.183.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:58 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100

Mods on linux:
*****************
Module Size Used by
vmnet 15188 4
vmppuser 5400 0 (unused)
parport_pc 7472 0 [vmppuser]
parport 7464 0 [vmppuser parport_pc]
vmmon 16480 1
snd-pcm-oss 18632 0 (autoclean)
snd-pcm-plugin 12904 0 (autoclean) [snd-pcm-oss]
snd-mixer-oss 4436 0 (autoclean) [snd-pcm-oss]
snd-card-opl3sa2 9036 0 (autoclean)
isapnp 27316 0 (autoclean) [snd-card-opl3sa2]
snd-cs4231 25216 0 (autoclean) [snd-card-opl3sa2]
snd-pcm 35704 0 (autoclean) [snd-pcm-oss snd-pcm-plugin
snd-cs4231]
snd-mixer 28048 0 (autoclean) [snd-mixer-oss
snd-card-opl3sa2 snd-cs4231]
snd-opl3 2596 0 (autoclean) [snd-card-opl3sa2]
snd-hwdep 3692 0 (autoclean) [snd-opl3]
snd-timer 10464 0 (autoclean) [snd-cs4231 snd-pcm snd-opl3]
snd-mpu401-uart 3276 0 (autoclean) [snd-card-opl3sa2]
snd-rawmidi 10808 0 (autoclean) [snd-mpu401-uart]
snd-seq-device 3680 0 (autoclean) [snd-rawmidi]
snd 42188 1 [snd-pcm-oss snd-pcm-plugin snd-mixer-oss
snd-card-opl3sa2 snd-cs4231 snd-pcm snd-mixer snd-opl3 snd-hwdep snd-timer
snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 2564 4 [snd]
nfsd 146188 4 (autoclean)
pcnet_cs 9248 1
8390 6228 0 [pcnet_cs]
ds 6568 2 [pcnet_cs]
i82365 23220 2
pcmcia_core 45664 0 [pcnet_cs ds i82365]
serial 42484 2 (autoclean)
memstat 1476 0 (unused)
nls_iso8859-1 2268 2 (autoclean)

/etc/vmware/config
**********************
vmware.fullpath = "/usr/bin/vmware"
wizard.fullpath = "/usr/bin/vmware-wizard"
dhcpd.fullpath = "/usr/bin/vmnet-dhcpd"
loop.fullpath = "/usr/bin/vmware-loop"
libdir = "/usr/lib/vmware"
vmnet1.HostOnlyAddress = "172.16.183.1"
vmnet1.HostOnlyNetMask = "255.255.255.0"
smbpasswd.fullpath = "/usr/bin/vmware-smbpasswd"

~/vmware/win98/win98.cfg
******************************
#!/usr/bin/vmware
config.version = 2

# CD-ROM
ide1:0.present = TRUE
ide1:0.fileName = /dev/cdrom
ide1:0.deviceType = atapi-cdrom
ide1:0.startConnected = TRUE

# Virtual hard disk on primary master
ide0:0.present = TRUE
ide0:0.fileName = /home/marco/vmware/win98/win98.dsk
ide0:0.deviceType = ata-hardDisk
ide0:0.mode = persistent

# Floppy
floppy0.present = TRUE
floppy0.fileName = "/dev/fd0"
floppy0.startConnected = TRUE

# Networking bridged to real ethernet
ethernet0.present = TRUE
ethernet0.connectionType = bridged

# Memory size
memsize = 72

# Nvram
nvram = /home/marco/vmware/win98/win98.nvram

# Log file
log.fileName = /home/marco/vmware/win98/win98.log

# Hints
guestOS = win98

toolsFloppyInserted = FALSE
floppy0.fileType = "device"
mouse.hostType = "MouseMan serial"
tools.remindInstall = FALSE
save_floppy0.present = TRUE
save_floppy0.fileName = "/dev/fd0"
save_floppy0.fileType = "device"
save_floppy0.startConnected = TRUE
save_floppy0.connectedState = TRUE

THE BIG PROBLEM:
***************************
I can ping the virtual device of the OS, but not the virtual device of the
other:
In Linux:
ping 172.16.183.1 -> OK
ping 172.16.183.2 -> No response
In Win98:
ping 172.16.183.1 -> No response
ping 172.16.183.2 -> OK

What am I doing wrong?
Can anybody help me?

Thanks in advance
Marco Steinacher
--------------------------------------------------------------------------------
WebSource Internet Services
Baumschulweg 2
CH-8254 Basadingen
Phone: ++41 (0)52 646 09 06      in...@websource.ch
Fax:      ++41 (0)52 646 09 08      www.websource.ch
WebSource-Hotline: ++41 (0)78 795 82 80
PGP-Keys: www.websource.ch/pgp
--------------------------------------------------------------------------------

Petr Vandrovec

unread,
Nov 24, 2000, 3:00:00 AM11/24/00
to
Marco Steinacher wrote:
> IP-Adresse. . . . . . . . . : 172.16.183.2
> Subnet Mask . . . . . . . . : 255.255.255.0
> Standard-Gateway . . . . . . : 172.16.183.1
>
> eth0 Link encap:Ethernet HWaddr 00:E0:98:16:20:FD
> inet addr:129.132.86.195 Bcast:129.132.86.223
> Mask:255.255.255.224
> vmnet1 Link encap:Ethernet HWaddr 00:50:56:01:00:00
> inet addr:172.16.183.1 Bcast:172.16.183.255 Mask:255.255.255.0
> # Networking bridged to real ethernet
> ethernet0.present = TRUE
> ethernet0.connectionType = bridged

> What am I doing wrong?

You are using bridged networking, not host only. So you must assing
129.132.86.{193-222} address to your virtual box. If you want to use
host-only networking, you'll have to set it in configuration of your
virtual machine (and if you want to have Win98 accessible from
other machines, you'll have to enable ip_forwarding on your host,
and correctly setup 172.16.183.* route on all boxes.
Petr

Chuck Gladu

unread,
Nov 24, 2000, 12:25:31 PM11/24/00
to
Change your vmware configuration from bridged to host-only

Rupert Heesom

unread,
Dec 13, 2000, 2:10:31 PM12/13/00
to
I'm having problems getting a network connection as well. However I'm trying for a
host - only connection.

My Host OS is Linux, Guest OS is NT 4 WS.

In my /opt/vmware/nt4/nt4.cfg file are the following networking lines:

ethernet0.present = TRUE
ethernet0.connectionType = "hostOnly"

On my linux OS, when I use "ps -aux", I get the following output for vmware:

vmnet-bridge
vmnet-netifup
vmnet-dhcpd


I think the "vmnet-bridge" module may be there because when I initially installed
vmware, I think I specified bridged networking, but changed that later.
Maybe I didn't change it properly.

The dhcp server I don't need, although I think I did specify it to begin with. How
do I get rid of it?

Linux NT

Virtual net for both OSs

192.168.25.1 192.168.25.2
255.255.255.0 255.255.255.0

DSL static ip on Linux.

162.33.244.196
255.255.255.128

I have a DSL connection to the internet and this has a gateway, I haven't
specified gateways for
the host only networking because I didn't want their comms to get to the
internet. Is this correct?

I can ping the Linux OS from NT, but not the other way round.

The startup script for vmware seems to work fine; I gather that Vmware's Samba is
started from the
VMware script, rather than a Samba script.

Reading the VMware docs, I need to specify the "interfaces" line in the
/etc/smb.conf file.
This I've done using: "interfaces = 162.33.244.196/255.255.255.0
192.168.25.1/255.255.255.0"
Is this correct? This is specifying vmware-smbd to service both my DSL connection
(which I don't really
it to) and the virtual network according to the VMware manual.

Any more info needed?

regs
rupert heesom

0 new messages