-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 10 October 2004 18:02, Dick Hoogendijk wrote: > 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 (220.127.116.11) - 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) > > -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?
In your case /dev/vmnet1 is used for bridging (line vmnet1.Bridged = "YES" in your VMware config). It bridges the network traffic from the inside of your virtual machine (win-guest) to your physical NIC and vice versa. win-vm <--> bridge [vmnet1/rl0] <--> rl0 (phys) <--> localnet/gateway The easiest solution is to assign a free ip-address of your localnet (192.168.11.nnn) to your win-guest. Try to avoid a setup of two subnets on one physical NIC. As /dev/vmnet1 acts as bridge it's ip-address isn't relevant. There is only the requirement that it's ip-address should not conflict with any already 'in-use' ip-address on your network. So I would leave it as is (in theory a bridge doesn't need any ip-address - it operates on layer2). > -did I get the ipnat rules correct? If you decide to use a ip-address in your localnet ip-range, just duplicate the host-specfic rules and change the host-ip(192.168.11.22) to your win-guest-ip (192.168.11.nnn) in theese rules. You maybe want to do some extra-blocking of unwanted win-specific traffic. I only use ipfw, so I'm not the one that can answer your ipnat question in detail. Cheers, ch - -- Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBadHx09WjGjvKU74RAn1tAJ9YmLUTghPghwgd6K5ufw8A2O0mQACaA/Ms yk+P4NGF86/rjgtPpTJYvng= =kmCL -----END PGP SIGNATURE----- _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"