LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-26-2009, 09:41 PM   #1
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
windows7 host, virtual box linux guest, trying to do samba


hi, windows 7 host, virtualbox 3.0.12, slackware 12.2 guest

i have virtualbox/slackware guest using dhcp and has a 10.0.... ip address

rc.firewall on gateway has 192.168.0.0/24 for local_net

how can i get the 192.... range to play samba with 10.... range?

i know i can get at host files using shared folders, i'd like to
get at network folders from the slackware guest

is it possible to static a guest 192.... ip address and not use dhcp? or some other config, like spoof the dhcp ip to 192....

i can provide additional info as needed

thank you
 
Old 12-27-2009, 01:25 PM   #2
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
i look into different ways of setting up nic within virtualbox to facilitate host/guest networking and dont feel like messing with it, i'm just going to use virtualbox shared folders
 
Old 12-28-2009, 08:12 AM   #3
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Well you could do host only networking and put a proxy on the host to proxy requests from the guest. You could also use bridged networking placing the guest on the same subnet and network as the host. Additionally with NAT networking you can go out but not come back. i.e. if guest network is 10.10.10.x and host network is 192.168.100.x I can access 192.168.100.x from the guest network but cannot access the guest network from the host network. So with this in mind, if you had a DNS server on the host network for instance typing a host DNS name into the guest browser would connect you to the host on the VM host network.
 
Old 12-28-2009, 03:43 PM   #4
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
hi scheidel21, thanks for your suggestions

i just wanted to try samba with the virtualbox/slackware setup if it didnt take too much trouble as i'm not that network experienced, i may follow up on what you said as i have time
 
Old 12-29-2009, 07:33 AM   #5
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
The easiest thing is to bridge your virtual adapter then they will be able to see each other only takes like 5 minutes to shut down VM change setting start-up again.
 
1 members found this post helpful.
Old 12-29-2009, 07:52 PM   #6
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,308

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
hi again scheidel21, got it working! thanks for your follow up

changed nic to bridge in vbox settings, changed dhcp to static in nic conf, started samba, i can now access all my shares

didnt think it would be so simple

cheers!

Last edited by glorsplitz; 12-29-2009 at 07:52 PM. Reason: formatting
 
  


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
Want to run Virtual Box in Ubuntu with Win98 as guest OS Won't install donrc Linux - General 16 12-13-2009 08:26 AM
BLFS in a Virtual Box guest... trying to get Xorg7.2 to run fdt93 Linux From Scratch 2 08-29-2009 08:25 PM
Configure virtual network settings in debian guest on xp host dual nics patrick2099 Debian 1 11-04-2008 07:10 PM
same IP ad of 2 guest OS in virtual box ic_torres Linux - Newbie 2 05-20-2008 06:06 PM
Samba to share between host and guest in VMware cncrazu Linux - Software 0 06-11-2004 10:02 AM

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

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