Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 1999 19:22:57 +0100
From:      Guido van Rooij <guido@gvr.org>
To:        freebsd-emulation@freebsd.org
Subject:   Re: FAQ: how to set up networking transparently
Message-ID:  <19991220192257.A92941@gvr.gvr.org>
In-Reply-To: <19991220191919.A92871@gvr.gvr.org>; from Guido van Rooij on Mon, Dec 20, 1999 at 07:19:19PM %2B0100
References:  <19991220191919.A92871@gvr.gvr.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Eh...I forgot to mention that this refers to the VMWare port ;-)

-Guido

On Mon, Dec 20, 1999 at 07:19:19PM +0100, Guido van Rooij wrote:
> 
> What I do is the following:
> 
> Suppose the FreeBSD box has interface if0 on your ethernet.
> Suppose further it has ip address x.1 where x is the network number.
> Suppose further that you want your guest os to be known as ip x.2.
> 
> You then do the following:
> 
> 1) Setup the vmnet interface in the guest OS with ip x.2 and ip alias
> 192.168.254.1 (in any case an ip number on an unused network in your
> environment)
> 2) Set up the FreeBSD box with vmnet interface 192.168.254.2 and ping
> the guest. 
> 3) do an arp -na and write down the mac address (say M) that matches
> 192.168.254.1
> 4) On the FreeBSD box do:
> 	arp -s 192.168.254.1 M pub
> 	arp -s x.2 M pub
> 	route add x.2 192.168.254.1
> 	sysctl -w net.inet.ip.forwarding=1
> 	sysctl -w net.link.ether.inet.proxyall=1
> 
> This should do it. Remember that ethernet broadcasts will not be passed through
> the FreeBSD box. If you need that, don't set the proxyall and fowarding
> sysctls, but use dummynet on the FreeBSD box.
> 
> With Windows NT you will want to hard configure your WINS server.
> 
> -Guido
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-emulation" in the body of the message

-- 
Guido van Rooij                 |  guido@gvr.org
Herman heijermanslaan 21        |  Phone:    ++31.40.2127794
5644 TG Eindhoven               |  
The Netherlands                 |  FreeBSD ex-core-team member


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?19991220192257.A92941>