Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-15-2010, 08:25 AM   #1
Registered: Aug 2008
Location: India
Distribution: Fedora, RedHat
Posts: 101

Rep: Reputation: 17
VirtualBox - Connecting host and client


I am trying to config linux box as router.

I have CentOS 5.5 client and host in VBox. I can't connect them (I am using bridge adapter mode) as I don't have router in between.

I just created DHCPD on host, and followed

But that don't seem to work also. Host is and client is but when I ping host from client, it says Destination host unreachable.

Can anyone provide me with solution?

Last edited by n03x3c; 10-15-2010 at 02:38 PM.
Old 10-15-2010, 09:28 AM   #2
Registered: Oct 2010
Location: San Francisco, CA
Distribution: Snow Leopard, Ubuntu, RedHat
Posts: 64

Rep: Reputation: 14
Do you have a firewall up on either side?
Old 10-15-2010, 02:41 PM   #3
Registered: Aug 2008
Location: India
Distribution: Fedora, RedHat
Posts: 101

Original Poster
Rep: Reputation: 17
OK. This problem is solved and it created another confusion. (There were no firewall rules btw.)

This was great tut. So here's my network layout

Internet <-- EVDO Internet Data Card <-- Host (NAT) <-- Client 1
                                             ^   ^----- Client 2
                                             ^----------Client 3
There's no client 2 actually but it would work now. Config's done.

Now new confusion is...

route add -net netmask gw dev eth0
If I add same command (with needed modifications like ppp0 as dev and different gw) in my host machine, things don't work. And if I remove this particular custom route, things work. Any idea why????


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
WinXP VM on VirtualBox CentOS Host - no response of host during install?! ascfu Linux - Software 1 12-10-2009 12:45 PM
slack13 in virtualbox on a ubuntu host mutexe Slackware 4 12-01-2009 12:52 AM
VirtualBox - connect to remote host Mig21 Linux - Software 0 03-16-2009 06:09 PM
HOW TO : Host Interface Networking setup in VirtualBox simjii SUSE / openSUSE 1 08-01-2008 09:35 PM
connecting a host to internet thru another host (both running suse9.3) rcbell Linux - Networking 1 12-17-2005 05:35 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration