LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-03-2007, 03:49 PM   #1
starmonche
Member
 
Registered: Jan 2007
Location: Overland Park
Distribution: Centos6
Posts: 60

Rep: Reputation: 15
vmware networking


when accessing shares from one vmware client to another on the same host (or from a client OS to the host) does the network traffic ever hit the host's physical NIC or does vmware process it all in-house?

case in point: i have xp media center running in a vmware client on my slack box. when my 360 streams video from media center is the the data crossing the physical NIC three times?

<<=== video file read from slack share
===>> media center reads and processes video
<<=== media center sends converted stream to xbox
 
Old 02-03-2007, 04:27 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Try running ethereal/wireshark or tcpdump on the Linux host and see if it shows traffic arriving at the NIC. If it does, then VMWare isn't doing it all in-house...
 
Old 02-03-2007, 04:41 PM   #3
starmonche
Member
 
Registered: Jan 2007
Location: Overland Park
Distribution: Centos6
Posts: 60

Original Poster
Rep: Reputation: 15
i assume i can set up a virtual private network between my slackware host and the media center client and all network traffic between them will be done internally on the pc. but i'm not sure how to force media center to read the shared files through that virtual network instead.
 
Old 02-03-2007, 04:59 PM   #4
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Funny that you ask this question as I was thinking this a few minutes ago! I also use VMware to experiment with Linux distros. In fact, I just did a network install between two virtual linux distros and I saw my router blinking so it is doing that 3-point data transfer. I also wonder if there is a way to do a virtual network connection to avoid the "middle man"
 
Old 02-03-2007, 05:15 PM   #5
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Vmware sets up a VPN using samba for sharing with the host, and it sets up another VPN for some reason or another (the shared files feature, I think). The default address ranges are 192.168.40. and 172.16.247.

You can see this by doing an ifconfig.
 
Old 02-03-2007, 06:28 PM   #6
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
If you setup network with the "host-only" adaptor, it should use the loopback device. I believe the same is true for NAT networking. If you use bridged networking it will traverse your network interface.
 
Old 02-03-2007, 10:18 PM   #7
starmonche
Member
 
Registered: Jan 2007
Location: Overland Park
Distribution: Centos6
Posts: 60

Original Poster
Rep: Reputation: 15
i fear this is turning into more of a windows question then...

adding a virtual host-only adapter is easy enough to do; but that raises the question of forcing media center to read the shares off of that connection instead. any suggestions?

a "band-aid" solution would be to block media center's primary IP address in smb.conf but that's not "really" solving it, right?
 
Old 02-03-2007, 11:00 PM   #8
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
I would imagine that unbinding File & Printer Sharing from the external adaptor and only having it bound on the host-only adaptor would do the trick...
 
Old 02-05-2007, 03:08 PM   #9
starmonche
Member
 
Registered: Jan 2007
Location: Overland Park
Distribution: Centos6
Posts: 60

Original Poster
Rep: Reputation: 15
ha i always skipped right to IP config from that drop down list. i'll try that. thanks.
 
Old 02-12-2007, 10:11 PM   #10
starmonche
Member
 
Registered: Jan 2007
Location: Overland Park
Distribution: Centos6
Posts: 60

Original Poster
Rep: Reputation: 15
worked like a charm (mostly).

i added a server-side host-only network adapter using vmware-config.pl and added a host-only adapter to my media center install. then i took file/printer sharing off of the "public" nic and added it to the new (host-only) nic.

BUT then my 360 extender couldn't see any shares anymore. the public network my shares are on is "cybertron" and rather than figuring out how to fix remote announce to announce on both nics (assuming that's the solution) i just added an entry to my media center hosts file pointing "cybertron" to the host-only ip.

network traffic is decreased quite a bit now. nice.

media center through my extender takes a little longer to load and vmware doesn't seem to be smart enough to activate my new host-only adapter before auto-starting media center (so i have to start the virtual os manually)

more info than anyone cared for i'm sure.
 
  


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



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 problems unknown111 Linux - Software 1 08-10-2004 09:32 PM
Networking with VMWare subaruwrx Linux - Networking 11 04-14-2004 02:19 AM
networking - win98 in vmware baronlynx Linux - Networking 0 03-18-2004 09:43 AM
VmWare / Networking Problem leverite Linux - Newbie 1 10-06-2003 11:11 AM

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

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