LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-11-2004, 02:06 AM   #1
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
Networking with VMWare


Hi, I'm trying to networks WinXP(Host) and Slackware 9.1(Guest) using vmware.

On the host (WinXP), I connects to the internet using ADSL PPPoE. In the LAN properties, my ip is set to 10.0.0.3 and gateway is 10.0.0.1 (The ip address of my router/bridge Efficient 5660).

Can anyone tell me which do I use, NAT or bridge? And how do I connect them up?
 
Old 04-11-2004, 02:26 AM   #2
ugge
Senior Member
 
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
I guess your talking about the set up networking on the Guest machine.
I woud try to use "Host only" since you already has a router/dhcp.
 
Old 04-11-2004, 02:34 AM   #3
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by ugge
I guess your talking about the set up networking on the Guest machine.
I woud try to use "Host only" since you already has a router/dhcp.
Sorry, forgot to mention I'm using the 5660 as a bridge now (dials up to isp adsl).
 
Old 04-11-2004, 08:45 PM   #4
tekhead2
Member
 
Registered: Apr 2004
Distribution: slackware/FreeBSD/Vector
Posts: 291

Rep: Reputation: 52
Actually you would probably want to use bridged, since that would let your vmware machine actually have access the the nic , and get its own ip address. Thats what I do, and I can surf the web and everything.
 
Old 04-12-2004, 05:59 AM   #5
ncorreia
Member
 
Registered: Apr 2003
Distribution: Red Hat
Posts: 37

Rep: Reputation: 15
Hi,

Bridged is really your best shot. If you use NAT you have to configure a proxy to access the internet on the host OS. Using host-only makes things very hard and I don't even know if it's possible - at least in an elegant way...
Use bridged and both your host and guest OS's get an ip. And it makes things easier if you want to do firewalling on your router.

Hope this helps.
 
Old 04-12-2004, 11:25 AM   #6
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
How do I actually configure bridge connection? What kind of IP will the guest get? Local or internet IP?
 
Old 04-12-2004, 12:20 PM   #7
ncorreia
Member
 
Registered: Apr 2003
Distribution: Red Hat
Posts: 37

Rep: Reputation: 15
To configure the networking mode just go to the virtual machine's console, right click on the virtual machine you want to configure and select Virtual Machine Settings.
Then click NIC on the hardware devices and the network settings will display on the right.
Choose Bridged Mode. The Guest OS will get an IP in the very same way the host OS does (which means that if the host doesn't get the IP by means of a DHCP then you'll have to configure an IP address on the guest OS as well).
When you use Host-Only mode, both the host and guest get an IP from the DHCP service provided by VMWare. You can define the range of addresses and other things related to the DHCP service in the vmnetdhcp.conf file. Check the documentation for more info on that matter.
You can also change the NAT mode configurations in the file vmnat.conf.

Hope this is of any help.

Good luck.
 
Old 04-12-2004, 12:43 PM   #8
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by ncorreia

Choose Bridged Mode. The Guest OS will get an IP in the very same way the host OS does (which means that if the host doesn't get the IP by means of a DHCP then you'll have to configure an IP address on the guest OS as well).
err... currently my winxp is on static local ip (10.0.0.1) and dialup to adsl (internet ip).

You mean after I choose bridge mode, the guest OS will auto get the same internet ip and able to connect to the internet?
 
Old 04-13-2004, 09:52 AM   #9
ncorreia
Member
 
Registered: Apr 2003
Distribution: Red Hat
Posts: 37

Rep: Reputation: 15
Hi,

If your winxp has a static ip, then you must configure an ip on the guest os. Note that you'll have to provide a different ip for the virtual machine. For all that matters you'll have two different machines on the network.
In bridged mode you won't even be able to ping the guest from the host -or vice-versa - if you are not physically connected to a lan, even though they share the same network adapter. This mode makes both machines completely independent from the network point of view.

Feel free to bug me at will until you can solve your problem.
Hope to be of any use. ;-)
 
Old 04-13-2004, 12:07 PM   #10
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by ncorreia
Hi,

If your winxp has a static ip, then you must configure an ip on the guest os. Note that you'll have to provide a different ip for the virtual machine. For all that matters you'll have two different machines on the network.
In bridged mode you won't even be able to ping the guest from the host -or vice-versa - if you are not physically connected to a lan, even though they share the same network adapter. This mode makes both machines completely independent from the network point of view.

Feel free to bug me at will until you can solve your problem.
Hope to be of any use. ;-)
Actually I still have problem understanding the meaning of bridge mode.

Previously I was using a router (10.0.0.1), and gives my winxp and guest OS an ip each (10.0.0.2 and 10.0.0.3). Configured the guest OS to get ip from the DHCP of router. Both are able to surf net simultaneously. That was easy.

But now I am not using router anymore, hence theres no DHCP server. I'm dialing up to my adsl using user and pass. So had no idea how to make both OS able to surf the net simultaneously.
 
Old 04-13-2004, 08:57 PM   #11
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
Bridge mode mean that packets get passed on as if they were passing down a wire instead of being relayed by a computer. The packets flow through keeping the same source and setination MAC addresses.

>I'm dialing up to my adsl using user and pass. So had no idea how
>to make both OS able to surf the net simultaneously.

It's just the same as if you had two computers connected to one adsl connection. You either have to use a router or you have to use connection sharing software such as the crappy Internet Connection Sharing (ICS) that is part of some versions of windows.
 
Old 04-14-2004, 02:19 AM   #12
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by zaphodiv

It's just the same as if you had two computers connected to one adsl connection. You either have to use a router or you have to use connection sharing software such as the crappy Internet Connection Sharing (ICS) that is part of some versions of windows.
oh, so for my case, I have to do the ICS way?

Last edited by subaruwrx; 04-14-2004 at 02:21 AM.
 
  


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
vmware networking pete the crab Linux - Newbie 5 09-28-2004 03:53 PM
VMWARE Networking issues annointed3 Linux - Networking 1 09-04-2004 04:02 AM
VmWare / Networking Problem leverite Linux - Newbie 1 10-06-2003 11:11 AM
Mandrake 9.1 under vmware - networking Jaffy Linux - Networking 2 07-24-2003 06:12 PM
Mandrake 9.1 under vmware - networking Jaffy Linux - Software 1 07-23-2003 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:54 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