LinuxQuestions.org
Visit Jeremy's Blog.
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-02-2007, 08:19 PM   #1
Brian5
Member
 
Registered: Dec 2006
Posts: 34

Rep: Reputation: 15
Internal network static IP, dyndns account connects to wrong home server


Hello,

If this is more of a server issue, please respond so that I can move it to the "server" section of the site.

Anyway, I've recently set up a dyndns account that connects to my home server on my network. I used a tutorial the other day that allowed me to set up a cronjob that would update dyndns ever so often.

Today, when I tried to connect to the server from school, the connection would not respond, and would eventually drop -- I figured that my server turned itself off, but this was not the case. I got home to find that my server had changed it's internal network IP from 192.168.0.2 to 192.168.0.3. SSH forwarding (from my router only goes to 192.168.0.3 now). I was wondering how it would be able for me to set up an internal static IP that goes from my router to my server (so that my server's IP never changes) and that my dyndns hostname will always make sure it connects to the server no matter what (because the internal network IP will always stay the same).

I was talking to a friend that told me that cronjobs are not responsible for a service that updates my router ever so often to tell it to forward port 22 to a different internal IP (the location of the server).

Any thoughts on this would be greatly appreciated! Thanks!
 
Old 10-02-2007, 08:45 PM   #2
louieb
Member
 
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu 8.04
Posts: 94

Rep: Reputation: 17
I let my router a Netgear WGR614v6 handle static ip assignment via the lan IP setup. It assigns the IP I want it to have based on the MAC address of the Ethernet card. The router also handles updating www.dyndns.org when my isp changes the external IP. May want to look closer at your router setup program. http://louieb.isa-geek.net/ is hosted on a PC siting in my den.

Last edited by louieb; 10-03-2007 at 01:59 AM.
 
Old 10-02-2007, 09:32 PM   #3
Brian5
Member
 
Registered: Dec 2006
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks so much!

I got it figured out due to your advice. On my router (a WGT624)in the Router setup/configure lan webpage (I'm not exactly sure what this is called), there was a LAN config option that I selected. After going here, there was an Address reservation option which allowed me to reserve 192.168.0.3 specifically for the MAC address of the network card that my server was operating from.

Without making me recheck my router's setup I would have missed address reservation.

Thanks again, problem solved!
 
  


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
Home Network with mixed static ip and dynamic ip clients using linksys wrt54gs router ghostrider.002 Linux - Networking 6 05-14-2007 02:01 PM
Help setting up a static IP on a home network sharkus Linux - Networking 15 01-05-2007 07:48 PM
Can't connect to Internet after attempting home web server with Dyndns istheman5 Slackware 4 08-08-2006 04:22 PM
Internal Firewall/Gateway problems on complex home network WarmFlatSprite Linux - Wireless Networking 3 02-19-2004 09:33 PM
Contacting INTERNAL LAN server via domain name/full IP? STATIC ROUTES? Please Help!! Bungo2000 Linux - Networking 8 06-27-2003 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration