LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 02-10-2010, 07:29 AM   #1
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
VirtualBox: WXP guest loses CIFS file system when real net cable unplugged


Hello

Here's the setup: VirtualBox 3.0.10 on Slackware 13.0 running WXP in a virtual machine with bridged adapter on eth0, an onboard RTL8111B. Host: 192.168.1.47, guest: 192.168.1.48, both static. Host runs samba including config
Code:
[home]
   comment = Home directories
   writable = yes
   locking = yes
   path = /home
   public = no
The guest mounts "home" as D:. Has been working for a long time.

Here's the issue: when the real network cable is unplugged, D: is no longer connected.

Thoughts: is this normal? Do packets normally go out to the switch and come back when the host puts the NIC in promiscuous mode?

Best

Charles

Last edited by catkin; 02-10-2010 at 07:30 AM. Reason: Comatose comma
 
Old 02-10-2010, 07:20 PM   #2
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 99
This sounds right to me. When the cable is unplugged, the interface
goes down, so no traffic can go through it. I know there is a "host
only" networking option, although I can't remember what it is called.
You could set up a host only interface to connect between guest and
host, and it would work even when the network cable is unplugged.
 
1 members found this post helpful.
Old 02-10-2010, 09:22 PM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Thanks carltm

That makes sense now.

The WXP system is used as a server so needs a LAN address but host-only is a good workaround when needs must.
 
Old 02-11-2010, 04:20 AM   #4
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 99
I have several virtual machines that have two interfaces, one bridged
to the host adapter and the other host-only. That assures me that
the guest and host can connect no matter what else is going on with
the network.
 
Old 02-12-2010, 01:31 AM   #5
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by carltm View Post
I have several virtual machines that have two interfaces, one bridged
to the host adapter and the other host-only. That assures me that
the guest and host can connect no matter what else is going on with
the network.
That's a nice solution, thanks
 
  


Reply

Tags
cable, cifs, samba, virtualbox



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install Guest additions and run fullscreen mode on VirtualBox Guest OS | Linux LXer Syndicated Linux News 0 01-17-2010 05:30 PM
Screen resolution in XP as guest system on VirtualBox altella Linux - Virtualization and Cloud 2 12-01-2009 10:43 AM
Kernel upgrade lost virtualbox guest system BACTRATE Ubuntu 4 07-28-2009 10:22 AM
problem installing guest additions in Fedora 11 guest (virtualbox) mia_tech Linux - Desktop 9 07-28-2009 12:15 AM
Cannot install virtualbox addition inside a linux guest system hkl8324 Linux - Software 4 12-31-2008 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:47 AM.

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