Date: Thu, 24 May 2001 18:36:32 GMT From: y3k@gti.net To: dochawk@psu.edu Cc: freebsd-questions@freebsd.org Subject: Re: safely briding from internet to 'localnet' Message-ID: <20010524183632.D4ADA1459A6@apollo.gti.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010524183632.D4ADA1459A6>
