Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2000 23:48:36 +0200
From:      =?iso-8859-1?Q?Michael_Lyngb=F8l?= <lyngbol@candid.dk>
To:        freebsd-emulation@FreeBSD.ORG
Subject:   How to make vmware+networking working?
Message-ID:  <20000904234836.A85754@tigerdyr.candid.dk>

next in thread | raw e-mail | index | archive | help
Hi,

The last couple of days I've been trying to setup networking the
vmware2-port. No luck so far.

Here's what I've done:

- cvsup'ed and "make world" of 4.1-STABLE
- compiled a kernel including "options         BRIDGE"
- installed the latest vmware2 port (vmware2/Makefile,v 1.22)

I'm using 192.168.0/24 on my local lan. Using user-ppp to connect to
internet.

Configured "xl0":

xl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255
...

Configured "vmnet1":

vmnet1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.20 netmask 0xffffff00 broadcast 192.168.0.255
...

Started ppp with the -nat option: "# ppp -auto -nat <my-conf>"

Enabled ip forwarding:

root@bla: sysctl -w net.inet.ip.forwarding=1
net.inet.ip.forwarding: 1 -> 1


I'm running Windows 95 under vmware. Configured win95 to use ip address
192.168.0.20 (same as vmnet1 - is this correct?) and setup default
gateway to 192.168.0.10 (is this correct?)

Under FreeBSD I'm able to ping my Win95 machine (running under vmware):

lyngbol@bla ~$ ping 192.168.0.20
PING 192.168.0.20 (192.168.0.20): 56 data bytes
64 bytes from 192.168.0.20: icmp_seq=0 ttl=32 time=32.030 ms
...

And in Win95 I'm able to ping my FreeBSD box:

ping 192.168.0.10


But I'm _not_ able to connect to anything outside my lan from Win95?!?


What am I doing wrong?


Thank you!

- Michael







To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000904234836.A85754>