route vmnet1 host server

Dick Hoogendijk dick at nagual.st
Sun Oct 10 09:02:44 PDT 2004


I read a lot of paperwork but can't get it to work.

I installed vmware3 on my fbsd-4.1 box. This machine has one
ethernetcard and is a part of my local network (192.168.11.22)

The situation:

Server	-- internet (217.122.132.217) - eth0
	-- localnet (192.168.11.1) - eth1
		(gw, dnsserver)

fbsdbox	-- localnet (192.168.11.22) - rl0
	-- subnet2 (192.168.22.1) - vmnet1 (vmware3)
	-- windows on vmware3 (192.168.22.201)

As I understood vmware had to be configured as a second subnet, so I
did. But things don't work as expected and I don't know where to look
for the error(s).

I hope someone else has installed vmware3 on a local client too.

Questions:
-does vmnet1 indeed have to be configured as a different subnet?
-is vmnet1 the gateway for the vm win machines to be installed yet.
-how do I get the diff subnets talking to each other?
-did I get the ipnat rules correct?

I enclosed some files that are related to my question.
I really hope to get some tips that'll push me in the right direction.
The windows machines work great, but I want internet access ;-)

=-= vmware confiuration =-=
vmware.fullpath = "/usr/local/lib/vmware/bin/vmware"
wizard.fullpath = "/usr/local/lib/vmware/bin/vmware-wizard"
dhcpd.fullpath = "/usr/local/lib/vmware/bin/vmnet-dhcpd"
loop.fullpath = "/usr/local/lib/vmware/bin/vmware-loop"
libdir = "/usr/local/lib/vmware"
vmnet1.Bridged = "YES"
vmnet1.BridgeInterface = "rl0"
vmnet1.HostOnlyAddress = "192.168.22.1"
vmnet1.HostOnlyNetMask = "255.255.255.0"

=-= ipnat config =-=
map rl0 192.168.22.0/24 -> 192.168.11.22/32 portmap tcp/udp 40000:65000
map rl0 192.168.22.0/24 -> 192.168.11.22/32

=-= rc.conf on pooh =-=
defaultrouter="192.168.11.1"
hostname="pooh.nagual.st"
ifconfig_rl0="inet 192.168.11.22  netmask 255.255.255.0"
kern_securelevel_enable="NO"
clear_tmp_enable="YES"
linux_enable="YES"
nfs_client_enable="YES"
nfs_reserved_port_only="YES"
named_enable="YES"
sendmail_enable="NONE"
courier_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
lpd_enable="YES"
moused_type="auto"
moused_enable="YES"
moused_flags="-a 2.2"
apm_enable="YES"
#IPFilter firewall settings
gateway_enable="YES"
ipfilter_enable="YES"
ipmon_enable="YES"
ipmon_flags="-Dsvn"
ipnat_enable="YES"
#international keyboard
font8x8="iso-8x8"
font8x14="iso-8x14"
font8x16="iso-8x16"
keymap="us.iso"
=-= end =-=

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.10 ++ Debian GNU/Linux (Woody)
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja


More information about the freebsd-questions mailing list