LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial 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 08-28-2009, 09:56 AM   #1
odessy
LQ Newbie
 
Registered: Aug 2009
Posts: 4

Rep: Reputation: 0
Question Problem on assigning static ip address.. RHEL 5 as guest OS on Virtualbox


Hi folks,

I'm just new to Linux and I need some help.

I setup a small network at home that comprise of:

1. Desktop
OS = Windows XP
IP = 192.168.1.101
Using Virtualbox, I installed RHEL 5 as guest OS.
Virtualbox host-only Network: IP=192.168.56.1

2. Laptop
OS = Windows XP
IP = 192.168.1.102
Using Virtualbox, I also installed RHEL 5 as guest OS.
Virtualbox host-only Network: IP=192.168.56.1

The router's address is 192.168.1.254 and is connected to the internet.

With those settings, everything is working fine. The RHEL5-Desktop can connect to the internet, and to 192.168.1.101(Desktop XP) and 192.168.1.102(Laptop XP) through smbclient. The RHEL5-Laptop can also do the same. Both RHEL5-Desktop and RHEL5-Laptop are using DHCP.

The problem is I want to connect RHEL5-Desktop to RHEL5-Laptop through ssh. I tried assigning static IP to either RHEL5-Desktop or RHEL5-Laptop with the router's address as default gateway and the connection became pretty messed-up. I tried other things like leaving the default gateway blank or changing the Virtualbox host-only to 192.168.56.2 but still no luck.

I hope somebody can give me a detailed instruction on how to do this correctly. I'd really appreciate it.
 
Old 08-28-2009, 10:22 AM   #2
evilted
Member
 
Registered: Aug 2009
Location: Ouagadougou, Burkina Faso
Distribution: centos
Posts: 92

Rep: Reputation: 18
Quote:
Originally Posted by odessy View Post
1. Desktop
OS = Windows XP
IP = 192.168.1.101
Using Virtualbox, I installed RHEL 5 as guest OS.
Virtualbox host-only Network: IP=192.168.56.1

2. Laptop
OS = Windows XP
IP = 192.168.1.102
Using Virtualbox, I also installed RHEL 5 as guest OS.
Virtualbox host-only Network: IP=192.168.56.1


you cant have 2 machines on the same network with the same ip address... change one of your virtual machines and it should work fine...

Last edited by evilted; 08-28-2009 at 11:20 AM.
 
  


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
[SOLVED] Problem on assigning static ip address.. RHEL 5 as guest OS on Virtualbox odessy Linux - Newbie 4 08-28-2009 12:51 PM
problem installing guest additions in Fedora 11 guest (virtualbox) mia_tech Linux - Desktop 9 07-28-2009 01:15 AM
Virtualbox Gentoo Guest - Can't get guest additions working MALDATA Gentoo 3 06-19-2009 12:43 AM
Assigning a static IP address hangs system??? dmangal Linux - Networking 2 05-16-2007 05:12 PM
Assigning Static IP Problem canuck_barlow Linux - Newbie 5 01-06-2006 03:54 PM


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