Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to access Guest OS with NAT

Reply
Thread Tools Display Modes

How to access Guest OS with NAT

 
 
tech_geek
Guest
Posts: n/a

 
      01-10-2009, 08:34 PM

> Hi,
>
> I have configured a virtual machine (guest os being Centos 5.0) with NAT
> configuration. The Guest OS has an ip address of 10.0.x.x and my Host
> machine has IP address of 192.168.x.x. From my guest os, I am able to see
> the outside network - meaning I am able to browse websites. But, I am not
> able to access the Guest machine from the host - what can I access my
> centos VM from my windows/host using SSH. I am using Sun Virtual Box.
>
> Any help or pointers to help would be appreciated.
>
> thanks
>


 
Reply With Quote
 
 
 
 
Kevin.Gui
Guest
Posts: n/a

 
      01-11-2009, 02:40 AM
tech_geek wrote:
>
>> Hi,
>>
>> I have configured a virtual machine (guest os being Centos 5.0) with
>> NAT configuration. The Guest OS has an ip address of 10.0.x.x and my
>> Host machine has IP address of 192.168.x.x. From my guest os, I am
>> able to see the outside network - meaning I am able to browse
>> websites. But, I am not able to access the Guest machine from the
>> host - what can I access my centos VM from my windows/host using SSH.
>> I am using Sun Virtual Box.
>>
>> Any help or pointers to help would be appreciated.
>>
>> thanks
>>

>

I think you might need to set multiple ip in your windows/host which
means one ip address same as guest os, it's not the best solution, but
it is let you go ahead with ssh, maybe, hehehe!



 
Reply With Quote
 
Mrichael John Ruff
Guest
Posts: n/a

 
      01-11-2009, 07:22 AM
Hi Tech

Yep I use the same, first depending on what access you have you need to
allow port forward on your router i.e. for ssh it is port 22, you have
to place a route in that transfers port 22 to you PC (IP). Then to allow
you to connect in case your external IP changes you also need to have
some form of Dynamic Dns service personally I use DynDNS, this will give
you a free Domain Name and you can then use domain name.

Regards Michael

tech_geek wrote:
>
>> Hi,
>>
>> I have configured a virtual machine (guest os being Centos 5.0) with
>> NAT configuration. The Guest OS has an ip address of 10.0.x.x and my
>> Host machine has IP address of 192.168.x.x. From my guest os, I am
>> able to see the outside network - meaning I am able to browse
>> websites. But, I am not able to access the Guest machine from the
>> host - what can I access my centos VM from my windows/host using SSH.
>> I am using Sun Virtual Box.
>>
>> Any help or pointers to help would be appreciated.
>>
>> thanks
>>

>

 
Reply With Quote
 
Mrichael John Ruff
Guest
Posts: n/a

 
      01-11-2009, 07:25 AM
Hi Sorry didnt read it, you need to use bridged networking not NAT.

Michael

Mrichael John Ruff wrote:
> Hi Tech
>
> Yep I use the same, first depending on what access you have you need to
> allow port forward on your router i.e. for ssh it is port 22, you have
> to place a route in that transfers port 22 to you PC (IP). Then to allow
> you to connect in case your external IP changes you also need to have
> some form of Dynamic Dns service personally I use DynDNS, this will give
> you a free Domain Name and you can then use domain name.
>
> Regards Michael
>
> tech_geek wrote:
>>
>>> Hi,
>>>
>>> I have configured a virtual machine (guest os being Centos 5.0) with
>>> NAT configuration. The Guest OS has an ip address of 10.0.x.x and my
>>> Host machine has IP address of 192.168.x.x. From my guest os, I am
>>> able to see the outside network - meaning I am able to browse
>>> websites. But, I am not able to access the Guest machine from the
>>> host - what can I access my centos VM from my windows/host using
>>> SSH. I am using Sun Virtual Box.
>>>
>>> Any help or pointers to help would be appreciated.
>>>
>>> thanks
>>>

>>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Advice - Guest wireless internet access without file access Netorius77 Wireless Networks 1 05-04-2008 01:48 AM
Securing Guest Access Elguapaul Windows Networking 1 06-08-2006 05:28 PM
Linksys WRT54G with WPA: guest access? Z Man Wireless Internet 3 01-04-2006 09:51 AM
Linksys WRT54G with WPA: guest access? Z Man Wireless Internet 7 01-03-2006 04:30 PM
Guest account on ME for XP Pro Access paul.j.moore@comcast.net Windows Networking 1 12-01-2003 07:37 PM



1 2 3 4 5 6 7 8 9 10 11