From owner-freebsd-questions Thu May 24 11:36:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from apollo.gti.net (apollo.gti.net [199.171.27.7]) by hub.freebsd.org (Postfix) with ESMTP id 48D6837B422 for ; Thu, 24 May 2001 11:36:34 -0700 (PDT) (envelope-from y3k@gti.net) Received: from apollo.gti.net (apollo.gti.net [199.171.27.7]) by apollo.gti.net (mail) with ESMTP id D4ADA1459A6; Thu, 24 May 2001 14:36:32 -0400 (EDT) Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary To: dochawk@psu.edu From: y3k@gti.net Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Reply-To: y3k@gti.net Date: Thu, 24 May 2001 18:36:32 GMT X-Mailer: EMUmail 2.70 Subject: Re: safely briding from internet to 'localnet' Message-Id: <20010524183632.D4ADA1459A6@apollo.gti.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hm. I'm using windows in vmware. I know you have to define a default route on the vmware side (in linux). That should be something like: route add default 192.168.0.1 (or whatever vmnet1 shows up as in freebsd). Also, i'm not sure, but I think you need to assign an ip address to eth0. I dont know the exact command in linux, but its something like ifconfig eth0 192.168.0.2 netmask 255.255.255.0 ^^^^^^^^^^--linux's ethernet address in vmware -mark On Thu, 24 May 2001 13:53:29 -0400 dochawk@psu.edu wrote: > [in the context of getting a virtual linux machine to talk to the > outside world under vmware] > hmm, this time (along with IPDIVERT) I kept my host machine's > networking. Also, I can contact the host with it's actual ip rather than > just the 192.168 number > > In the linux box, I get a route of > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 > > I also got one pass where I could ping the host machine by name > (defined in the guest /etc/hosts), and it successfully usecd the actual > IP number of the host machine (rather than the 192.168 number). > > But I still can't get to anything on the actual localnet. > > Do I need to do a "route add" or some such on the linux side? > > > also, I note > > > fac13ttyp3:/root#ps x | grep nat > 160 ?? Is 0:00.00 /sbin/natd -n fxp0 > fac13ttyp3:/root# > > > That's the *real* ehternet port. Shouldn't it be running on vnet1, > not the real port? > > hawk > > -- > Prof. Richard E. Hawkins, Esq. /"\ ASCII ribbon > campaign > dochawk@psu.edu Smeal 178 (814) 375-4700 \ / against HTML mail > These opinions will not be those of X and postings > Penn State until it pays my retainer. / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message