LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-12-2009, 12:38 PM   #1
ShadowReaper
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Rep: Reputation: 0
Vmware and Intenet problem


Hello,

i have installed Slackware in a virtual machine, but i have problems connecting to internet.

I used a NAT with the following settings (in VMware):
Vmnet host VMnet8
Gateway IP: 192.168.75.2
Netmask: 255.255.255.0

and the following in the netconfig command (i used staticIP)
Ip adress of the machine: 192.168.75.10
Gateway: 192.168.75.2
Netmask: 255.255.255.0

the problem is that i cannot connect to the internet.
However if i enter 192.168.1.254 (the adress i use to configure my thomson router) it opens my router configuration (in windows the internet works perfectly)
 
Old 01-12-2009, 01:17 PM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
I have always found it easier to set up bridged networking with VMware rather than Nat. Just setup the netmask, gateway and name servers to be the same as the host and for the VM's IP supply a spare IP address on the same subnet as the host's IP.

Personally I use DHCP on the virtual machine to get the IP's from my router's DHCP server. This works well but setting up static IP addressing as I have descibed should work.

I've not tried much with Nat setup's in VMware but I've had some problems with it.
 
Old 01-12-2009, 01:58 PM   #3
ShadowReaper
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Original Poster
Rep: Reputation: 0
Well i quite didn't understand what should i do.
Can you give me instructions step by step?
 
Old 01-13-2009, 02:26 AM   #4
ShadowReaper
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Original Poster
Rep: Reputation: 0
If i use a Bridged connection i can access my router settings (entering 192.168.1.254 in firefox) but i still cannot access the internet
 
Old 01-13-2009, 02:42 AM   #5
3dMaster
LQ Newbie
 
Registered: Jan 2008
Posts: 23

Rep: Reputation: 15
If you configured manually, you have to setup the DNS server, too.
What is there in the /etc/resolv.conf file?
 
Old 01-13-2009, 04:24 AM   #6
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Set the VM to "bridged networking". On the virtual machine run "netconfig" as root and :
Quote:
Just setup the netmask, gateway and name servers to be the same as the host and for the VM's IP supply a spare IP address on the same subnet as the host's IP.
You'll need to copy the settings from the host. So, for example. if you host is running XP then open a command window on the host with Start->run->cmd and enter "ipconfig /all". Copy the gateway, subnet mask and dns server settings to the VM.
 
Old 01-15-2009, 11:30 AM   #7
ShadowReaper
LQ Newbie
 
Registered: Jan 2009
Posts: 22

Original Poster
Rep: Reputation: 0
Well i tried the ipconfig /all but i have 2 physical network adapters (the one is which i use to connect the router) and 2 virtual VMware adapters. I copied the settings from the adapter which i use to connect the router but i still cannot connect to internet
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can not access intenet vishalg Linux - Newbie 2 01-27-2008 04:31 AM
unable to configure intenet bhusare Slackware - Installation 1 03-24-2007 07:30 AM
Intenet Sharing on Linux friendklay Linux - Networking 7 06-08-2005 12:04 PM
i can't connect linux to the intenet!! please help imkrazysk8er123 Mandriva 12 09-30-2003 06:33 PM
Intenet Proxy Server VJ2003 Linux - Networking 2 05-03-2003 02:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration