LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 10-15-2010, 08:25 AM   #1
n03x3c
Member
 
Registered: Aug 2008
Location: India
Distribution: Fedora, RedHat
Posts: 101

Rep: Reputation: 17
VirtualBox - Connecting host and client


Hello,

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

http://users.telenet.be/mydotcom/how...uter/linux.htm

But that don't seem to work also. Host is 192.168.1.10 and client is 192.168.1.100 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
Stephannn
Member
 
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
n03x3c
Member
 
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.)

http://www.itoperationz.com/2009/07/...-network-card/

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

Code:
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...

Code:
route add -net 192.168.1.0 netmask 255.255.255.0 gw 61.5.156.146 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????
 
  


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
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/Novell 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


All times are GMT -5. The time now is 03:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration