LinuxQuestions.org
Review your favorite Linux distribution.
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 11-24-2005, 04:32 AM   #1
annetteserrao
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Rep: Reputation: 0
Internet conn using VMware


hi
i am running VmWare under Windows XP with Red hat Linux 9

VMnet0 bridged to an automatically chosen adapter
Vmnet1(NAT) used 2 share Hosts IP address
VMNET 2 bridged to the USB interface for internet conn.
Vmnet8(host only) a private n/w shared by host

the problem is during boot it shows eth0 enabled but i am not able to connect to the inetrnet nor 2 windows

Help


annette

 
Old 11-26-2005, 11:08 PM   #2
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
Which is your host operating system (the one that VMWare runs under)?
 
Old 11-29-2005, 12:54 PM   #3
annetteserrao
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Original Poster
Rep: Reputation: 0
hey

i the host is winxp. and the linux i am using is red hat 9
 
Old 11-30-2005, 02:35 AM   #4
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 638
Blog Entries: 1

Rep: Reputation: 52
I have more questions and maybe some pointers:

(1) Can you connect to the internet directly from
windows xp?

(2) what do you specifically mean by "not being able to connect to windows?"

The problem may be in how your networking is set up in windows xp and could be an IP address conflict of some sort. This is a pure guess on my part but is what I would look for if I was confronted with the problem you are having.
 
Old 12-02-2005, 06:14 AM   #5
annetteserrao
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Original Poster
Rep: Reputation: 0
yes i can connect to the internet thru' winxp

i have given a ip address for winxp and for linux by adding a NIC adapter fro enabling eth0

it does not even show in the dmesg that it has recognised the DSL modem which is connected to the USB port

annette
 
Old 12-02-2005, 07:40 AM   #6
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
How have you setup eth0?

It should be setup as an NAT device since presumably Win XP and Linux will be sharing a physical ethernet device and it will only have 1 IP address.

If, however, winxp has it's own ethernet device and linux will be using a seperate ethernet device with its own IP then it should be a bridged device.
 
Old 12-04-2005, 06:31 AM   #7
annetteserrao
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Original Poster
Rep: Reputation: 0
yes i have set it as a nat device and have given the option to connect to the physical n/w.


the problem is the dsl is connected via a usb n not thru a lan card

how can i check if the devices connected to the usb are being recognized?
 
Old 12-08-2005, 06:34 AM   #8
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
That information would have been helpful to have earlier...

I direct you to the section entitled "Notes on USB support in version 5" at the bottom of page 417 in the vmware manual: VMWare Workstation 5.5

I'm assuming that's the version you're using?

Last edited by mickyg; 12-08-2005 at 06:37 AM.
 
Old 12-09-2005, 03:19 AM   #9
annetteserrao
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Original Poster
Rep: Reputation: 0
huh????????
the version of vmware i am using is 4.5.2.
 
Old 12-09-2005, 10:24 AM   #10
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
Again, that information would have been helpful earlier, although we, including myself, could have asked... anyway, in that case I direct you to the section entitled "Notes on USB support in version 4"

Looks like you can't use it then. If you want to use it you'll have to connect it the host OS via ethernet instead of USB.
 
Old 12-13-2005, 01:06 PM   #11
annetteserrao
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Original Poster
Rep: Reputation: 0
hey will i require 2 specifically configure the usb drivers for linux????????? or i will have 2 get a lan conn??????????????
 
Old 12-14-2005, 03:45 AM   #12
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
Well I've not actually heard of anyone using a cable or (A)DSL modem via USB in Linux, as far as I know it's not supported, but I might be wrong on that one.

I personally would always recommend using an Ethernet connection over USB for anything network related, i.e. LAN, Internet, etc. If you connect using Ethernet then you'll be able to use the Internet connection on pretty much any OS you install in a virtual machine.

In a nutshell, if you want to use your Internet connection from a virtual machine, beit VMWare, QEMU or PearPC, you need to connect your modem to you computer using an Ethernet connection, not USB.
 
Old 12-18-2005, 02:33 AM   #13
annetteserrao
LQ Newbie
 
Registered: Nov 2005
Posts: 13

Original Poster
Rep: Reputation: 0
k
thnx 4 da suggestion. now the conn is via the ethernet.but once u boot winxp will already get an ip address . how will u assign another ip addresss???
when i click the option saying "bridge to the physical n/w" it prompts saying "it will affect the physical n/w"
wat do i do? tell me from teh begginning 2 check if i have done it properly from start

Last edited by annetteserrao; 12-18-2005 at 03:12 AM.
 
Old 12-20-2005, 04:25 PM   #14
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
You can only use bridged networking if you have two physical network adapters. One for your host OS and the other for the VM, which you are 'building a bridge to', hence the term bridged network. All this means is creating a link, or bridge, between the virtual network adapter the VM is using and the physical network adapter that will actually be connected to your network.

If you only have one network adapter then you need to set up the VMs network adapter as a NAT device. NAT stands for Network Address Translation, this allows the VM to 'share' the IP address of the host OS via the one network adapter. The downside to this is because the VM doesn't have it's own IP address you can't use the VM as a server (web, smb, etc etc) because it's not uniquely identifiable on the network.

I'm guessing the reason you're getting that message is because you're trying to bridge to an already active network adapter, i.e. the one the host OS is using.

With the VM turned off, change the configuration of the network adapter from a Bridged device to the NAT device and see if that works.
 
Old 12-20-2005, 04:26 PM   #15
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
You need to use NAT networking, not bridged.
 
  


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
Using a tv out rca conn under mandrake tzonga1 Linux - Hardware 0 01-25-2005 01:17 PM
Vmware and Internet! NathanCohen2003 Linux - Software 3 07-05-2004 01:32 AM
Sharing Internet with VMWare? subaruwrx Linux - Networking 5 03-30-2004 04:09 AM
vmware Internet connection LinuxScott Linux - Software 2 05-12-2003 06:52 AM
VMware internet access -=[X101]=- Linux - Newbie 22 07-06-2002 08:47 AM

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

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