OK,then try changing the IP address of your virtual machine.

For example, the default subnet that Vmware uses is 172.16.16.0. It is common
for people to assign their virtual machine 172.16.16.1. This doesn't work.
Change the IP address to 172.16.16.2.

Also do you have IP Masq installed and configured correctly? Thats whats going
to get IP forwarding going. If not you will need to create a file like
/etc/rc/d/rc.masq and put the following in it:

echo -n "Setting IP chains..."
echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 172.16.16.0/24 -j MASQ
/sbin/ipchains -A forward -j DENY -p tcp -s 0.0.0.0/0 137:139
/sbin/ipchains -A forward -j DENY -p udp -s 0.0.0.0/0 137:139
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_irc
/sbin/modprobe ip_masq_raudio
echo "Ready to go!"

Then call rc.masq from rc.local. 

You can get more information from www.mandrakeuser.org about getting IP Masq
working correctly.

-Chris


On Thu, 15 Jun 2000, you wrote:
> chris :
> 
> vmware has the linux machine as default gateway ....
> still does not work...
> the pinging and the file sharing is working ok
> and yes, i have only one nic installed..
> 
> 
> At 07:01 14/06/2000 -0500, you wrote:
> >Are you using host based networking? If not, and you only have one NIC card,
> >you should be. Then, within the TCP/IP properties in Vmware, make sure the
> >default gateway is set to the IP address of your Linux machine...
> >
> >-Chris
> >
> >
> >On Tue, 13 Jun 2000, LinuxMan :-) wrote:
> > >
> > > hi all !  :-)
> > >
> > > well ,  here goes :
> > >
> > > a am running mandrake 7.1 on my amd 700mhz box , and i have vmware
> > > installed
> > > running win2k.
> > > samba is working just fine and the 2 Os's are pinging each other and
> > > sharing files.
> > > i can browse from the vm to Linux but i cannot browse from the vm to the
> > > internet.
> > > i think i went over everything , but i still cant figure why (the hell)
> > > i cant ping anywhare outside
> > > my local machine.
> > >
> > > the linux box is also the gateway to the vm machine...
> > > any thought's ?
> > >
> > >
> > >
> > > --
> > > ----------------------------------
> > > Best Regard's ,
> > > Amir Tal,
> > > System Administrator
> > > Intercomp Ltd.
> > >
> > > Cell : 051-473382
> > > Office : 09-9526993.
> > >
> > > Have a Nice Day...    :-)
> > > ----------------------------------
> > >
> > >
> > >
> >
> >----------------------------------------
> >Content-Type: text/html; name="unnamed"
> >Content-Transfer-Encoding: 7bit
> >Content-Description:
> >----------------------------------------
> 
> ----------------------------------
> Best Regard's ,
> Amir Tal,
> System Administrator
> Intercomp Ltd.
> 
> Office : 09-9526993.
> ICQ : 15748705
> Email : [EMAIL PROTECTED]
> 
> 
> Have a Nice Day...    :-)
> ----------------------------------

Reply via email to