LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-20-2010, 12:48 PM   #1
adrian2009
Member
 
Registered: May 2009
Posts: 40

Rep: Reputation: 15
Virtualbox on slackware 13 - where is the network ?


I installed successfully virtualbox on slackware 13 and i am using windows xp as a guest os. But there's a problem: Everything's working fine (the network too) but i can't see the virtual machine ? I type ifconfig but no other adapter shows up except the usual ones. The network configuration of the guest os - windows xp says that 10.0.2.2 is used as default gateway and the actual ip is 10.0.2.15 - i pinged 10.0.2.2 from the guest, i pinged google and everything's fine but when i ping 10.0.2.2/15 from my host os - slackware, it's saying they are dead.
Why ? In the windows network config it says ips are assigned by dhcp. Is this the problem or what ?
 
Old 03-20-2010, 01:11 PM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
It looks like you have the Windows client machine setup for Nat networking under VirtualBox. This uses a VirtualBox driver on the host to handle dhcp and nat so effectively the network address translations and address allocation is done internally on the host. If you want the guest OS to be visible to the host select bridged networking. If your host box gets it's ip via dhcp then set the guest similarly - it should get another IP via dhcp in the same subnet. This assumes the host network can cope with this,(if you get your IP's from an attached router then this is usually OK). The other way of setting up bridged networking is to have the guest statically assign an IP on the same subnet as the host i.e. set the guests IP address yourself. This still needs bridged networking to be chosen for the guest.
 
Old 03-20-2010, 05:19 PM   #3
adrian2009
Member
 
Registered: May 2009
Posts: 40

Original Poster
Rep: Reputation: 15
I tried bridge networking but again the same problem - i can ping from the guest and i can't ping from the host. I checked almost everything, and in ifconfig it doesn't show me any additional adapter.
How to properly configure the network between the guest and the host so i can access "remotely" the guest from my host via the network between them ?
 
Old 03-20-2010, 05:47 PM   #4
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
A question first. Are you getting the guest's IP via DHCP or setting it statically? In either case make sure the guest and host are on the same subnet i.e. not the Nat supplied 10.0.2.0 subnet.
On the guest only existing adapters will be shown as the bridging/nat work is done internally by the VirtualBox drivers. You are loading the drivers aren't you?
 
  


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
Slackware 13 on VirtualBox cosmicd Slackware 3 02-01-2010 03:22 AM
Installed Virtualbox OSE in Slackware 12.2, but not able to run or setup network. pcsmasher Slackware 3 07-01-2009 02:07 AM
[SOLVED] weird network problem of slackware in virtualbox zyli2006 Slackware 2 06-29-2009 06:57 AM
Slackware 12.2 on VirtualBox 2.1.0 BerzinTehvs Slackware 1 01-10-2009 06:03 AM
Slackware in VirtualBox gmartin Slackware 6 07-03-2008 11:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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