Networking Forums

Networking Forums > Computer Networking > Linux Networking > need help.. about local dns?

Reply
Thread Tools Display Modes

need help.. about local dns?

 
 
Sean Kim
Guest
Posts: n/a

 
      05-15-2007, 12:24 PM
What I want to do is...

I have one desktop with windows XP
XP has VMware workstation
several linux is running on vmware

so...
windows: 192.168.0.10
linux1: 192.168.0.11
linux2: 192.168.0.12
..
..
those IPs are assigned by router
And router has real IP address
sean.homeip.com is domain name for router IP

From out of home--
When I want to connect to specific linux, I need to change forwarding
address in router configuration page.
Then I can ssh (ssh sean.homeip.com) to linux that I want to login

My idea is that forwarding is always point to one linux1
and that linux1 is responsible for forwading traffics to sepecific linux
by domain name.
--> linux2.sean.homeip.com
or sean.homeip.com/linux2

Where can I start?

Thanks in advance

Sean


 
Reply With Quote
 
 
 
 
J.O. Aho
Guest
Posts: n/a

 
      05-15-2007, 03:54 PM
Sean Kim wrote:
> What I want to do is...
>
> I have one desktop with windows XP
> XP has VMware workstation
> several linux is running on vmware
>
> so...
> windows: 192.168.0.10
> linux1: 192.168.0.11
> linux2: 192.168.0.12


> My idea is that forwarding is always point to one linux1
> and that linux1 is responsible for forwading traffics to sepecific linux
> by domain name.
> --> linux2.sean.homeip.com
> or sean.homeip.com/linux2


ssh don't send request headers, so the the server is unaware of the ip-name
that the client used.


Wouldn't it be easier to just ssh from the linux you has the forward to to the
other linux? Then you don't have to do anything at all.

Another thing you can do if you want direct connect to the linuxes over ssh,
is to run ssh on an alternative port

linux1: port 22 and 6021
linux2: port 22 and 6022
linux3: port 22 and 6023
and so on

Then you do a port forward, so that port 6021 is forwarded to linux1, port
6022 is forwarded to linux2, 6023 is forwarded to linux3 and so on, from the
router.

Then when you can connect to the linux install you wish directly, eg
ssh -p 6022 sean.homeip.com

And at home, you can use both
ssh linux2
and
ssh -p 6022 linux2


--

//Aho
 
Reply With Quote
 
Whoever
Guest
Posts: n/a

 
      05-15-2007, 04:22 PM


On Tue, 15 May 2007, J.O. Aho wrote:

> Sean Kim wrote:
>> What I want to do is...
>>
>> I have one desktop with windows XP
>> XP has VMware workstation
>> several linux is running on vmware
>>
>> so...
>> windows: 192.168.0.10
>> linux1: 192.168.0.11
>> linux2: 192.168.0.12

>
>> My idea is that forwarding is always point to one linux1
>> and that linux1 is responsible for forwading traffics to sepecific linux
>> by domain name.
>> --> linux2.sean.homeip.com
>> or sean.homeip.com/linux2

>
> ssh don't send request headers, so the the server is unaware of the ip-name
> that the client used.
>
>
> Wouldn't it be easier to just ssh from the linux you has the forward to to the
> other linux? Then you don't have to do anything at all.
>
> Another thing you can do if you want direct connect to the linuxes over ssh,
> is to run ssh on an alternative port
>
> linux1: port 22 and 6021
> linux2: port 22 and 6022
> linux3: port 22 and 6023
> and so on
>
> Then you do a port forward, so that port 6021 is forwarded to linux1, port
> 6022 is forwarded to linux2, 6023 is forwarded to linux3 and so on, from the
> router.
>
> Then when you can connect to the linux install you wish directly, eg
> ssh -p 6022 sean.homeip.com
>
> And at home, you can use both
> ssh linux2
> and
> ssh -p 6022 linux2


If you have control over the "homeip.com" domain, you can add a number of
CNAMES that point to sean.homeip.com and then use the ssh config file to
make each of these CNAMES associated with a different port number. For
example, you create

linux1.homeip.com CNAME sean.homeip.com
linux2.homeip.com CNAME sean.homeip.com
linux2.homeip.com CNAME sean.homeip.com

and in ~/.ssh/config you have:

host linux1.homeip.com
port 6021
host linux2.homeip.com
port 6022
host linux3.homeip.com
port 6023

 
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
Local IP on DC Adamu Garba Windows Networking 1 01-22-2008 11:42 PM
Changing XP login from Local to Domain While Maintaining Local User. TomTech Windows Networking 13 10-03-2007 01:28 AM
VPN / RAS on local net Brochs Windows Networking 5 03-16-2007 05:13 AM
how to create a local share on local computer muelle60 Windows Networking 10 10-04-2006 06:45 PM
Howto redirect traffic from local machine to internet back to local machine? Martin Kahlert Linux Networking 0 11-25-2005 07:40 AM



1 2 3 4 5 6 7 8 9 10 11