LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 03-20-2004, 10:58 PM   #1
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
Sharing Internet with VMWare?


I'm using WinXP with vmware installed. Running linux in vmware. But how do I simultaneously connect to the internet with both XP and linux? I connect to the internet using a broadband connection with xp connection wizard. Not using any router, no DHCP etc.

In vmware, I have chosen NAT but had no idea what to configure in linux.

Thanks in advanced.
 
Old 03-21-2004, 04:03 AM   #2
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 545

Rep: Reputation: 40
what version of vmware are you using?
What distribution of linux are you running as guest?
Is your XP home or Professional?
I would strongly recommend using 'bridging' rather than NAT to start with. Do you have any firewalls active? What type of broadband (ADSL or cable)?

If you let me know I should be able to help
 
Old 03-21-2004, 05:13 AM   #3
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by minrich
what version of vmware are you using?
What distribution of linux are you running as guest?
Is your XP home or Professional?
I would strongly recommend using 'bridging' rather than NAT to start with. Do you have any firewalls active? What type of broadband (ADSL or cable)?

If you let me know I should be able to help
I'm using vmware workstation version 4.0.2, slackware 9.1 as guest, winxp pro edition.

I'm on adsl with only zonealarm firewall. Connect to the internet using an ethernet bridge (Efficient 5660).

Thanks
 
Old 03-21-2004, 08:20 AM   #4
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 545

Rep: Reputation: 40
Okay - not too dissimilar from part of my set-up I have an Efficient 5861 (one fixed static IP) and an Alcatel Speedtouch USB (dynamic IP) [connected to a Draytex Vigor 2200 USB {Broadband Router Switch}] both of which feed a Linksys RV082 8-port VPN router which in turn is connected to a Netgear 5-port fast ethernet switch. Thus I get 2x up and down speed with a fixed IP address for VPN purposes.

I have only been using RH and SuSE ( plus I have a Knoppix 3.3 CD as of yesterday) so, never having tried slackware, things may be a little different. That being said, if you have kde running the gui steps should be file system transparent.

Okay, all my machines - a 2K workstation a 2k laptop and an XP tablet have IP addresses in the range 192,168.1.1-253 and I can ping them from each other.

Start or resume your virtual machine. Using Redhat on a virtual machine I set up eth0, using System Settings/Network and get Network Configuration (after entering my root password). This gives me, under the Hardware tab, the vmware tools virtual NIC as an 'AMD PCnet32'. I am assuming here that you have VMware tools installed in your virtual machine. I then give the machine a hostname such as RH9V4 and a primary DNS of 192.168.1.1 which is the address of my Linksys Router and my link to the outside world (otherwise known as the internat). I am assuming here that you know what IP address you can use in an XP (Internet Explorer) browser to change the settings on your Efficient 5660 ... according to my Efficient 5861 manual it would be 192.168.254.254. Whatever it is for your box is what you must enter in the virtual machine's DNS IP setting. Return to the tab Devices: Edit the line eth0: check the first two boxes. Click on "Statically set IP addresses and enteran IP such as 192.168.1.23, a subnet mask such as 255.255.255.0 and the default gateway address as the number you first thought of such as 192.168.254.254 and then save and quit the settings window.

Open a Shell-konsole and type su - you will be prompted for your root password. then type: ifconfig hit enter

If you got it right you should see what you just set

You can then open konqueror web browser or Mozilla to check that you have access to the internet

let me know if you have any problems
 
Old 03-21-2004, 09:39 AM   #5
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
thanx for the suggestions, will try it later.

btw, what are the 2 vmware network adapter in network places for?
 
Old 03-30-2004, 04:09 AM   #6
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by subaruwrx
thanx for the suggestions, will try it later.

btw, what are the 2 vmware network adapter in network places for?
Anyone?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware network sharing Bart Decker Linux - Newbie 4 08-11-2005 05:30 AM
mandrake 10.1 sharing files and internet sharing xfiles_arram Linux - Networking 0 05-21-2005 02:22 PM
sharing internet connection between Fedora host and Win98 VMware guest NGShake Linux - Software 2 12-20-2003 12:13 PM
Sharing IP between VMWare and host OS Locura Linux - Networking 1 12-03-2003 12:58 PM
internet sharing with vmware win2k from linux host? tumnus Linux - Newbie 4 02-08-2003 09:37 PM


All times are GMT -5. The time now is 09:10 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration