Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Networking > Help Sought For IP Adressing Confusion

Help Sought For IP Adressing Confusion
Thread Tools
Mac Enthusiast
Join Date: Jun 2001
Location: Lancaster, CA
Status: Offline
Reply With Quote
Apr 20, 2006, 03:01 AM
 
I've been setting up SSH and wanted to try it out, but I've run into a networking issue that I don't understand with regards to addressing. I'm wondering what a computer's address is that is assigned an IP address by a router that get's it's network IP address through a DHCP setup. For example I am working from computer A which connects to the internet via a wireless connection to a router that gets it's IP address from some ISP via a DHCP server. As far as other computers and devices that are on the same subnet are concerned my domain name is ${HOSTNAME}.local.

But, what if I want to open a secure shell, or secure ftp session with another computer, computer B, that is also behind a router that is connected to a different ISP and gets it's IP address through a DHCP server? Since the IP addresses that the routers obtain from their respective ISP's are changing and not static and the computers are assigned IP addresses that, for all intents and purposes, could be the same, how do you go about connecting to the other machine (e.g. sftp <domain name>)?

I hope I've articulated my question, and it isn't too confusing. Any help would be appreciated.

Thanks.
     
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Online
Reply With Quote
Apr 20, 2006, 04:29 AM
 
If you're trying to reach a server that is behind a router, you have to configure the receiving router to forward the proper port to the internal IP of the server. I'm not trying to make that sound simple, either - I know it is complex in practice. I have not dealt with such configuration issues personally.

"The natural progress of things is for liberty to yield and government to gain ground." TJ
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 06:13 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2