Do I need to assign my router an ip address if I'm using dynamic dns?

Hi,

I'm having some confusion understanding when to assign my router and ip address.
I just setup dynamic dns and it pointed the host name with my external IP address.
I did this so that I can access my freenas machine from outside my network.

Am I suppose to assign that IP address to my router or is that only when I'm given an static IP address from my ISP?

Thank You.
techin4Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sam654Commented:
I would guess your external IP Address is static and from your ISP, so therefore yes, this should be associated with your router.

Your router should also have an internal local IP Address, so that you can use that or the host name to access it and configure it from your PC.

Make sure the firewall on your router is active.
0
techin4Author Commented:
Thanks Sam....So how about when my ISP assigns me a static IP address? Is that considered an Internal or External address?
0
Fred MarshallPrincipalCommented:
The most often reason to use DYNDNS is when you have a dynamic ip address from your ISP.  So, it's like DHCP from the ISP and you don't need to assign a static address manually.

The purpose of DYNDNS is to provide a static address that others can use.  The service keeps track of your *current* dynamic IP and routes packets directed to their/your static address to your dynamic (on site from ISP) address.

So thre router interface pointing to the ISP would normally be set to "get an IP address automatically" and might be using PPPOE or PPPOA or .......
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Defend Against the Q2 Top Security Threats

Were you aware that overall malware worldwide was down a surprising 42% from Q1'18? Every quarter, the WatchGuard Threat Lab releases an Internet Security Report that analyzes the top threat trends impacting companies worldwide. Learn more by viewing our on-demand webinar today!

Sam654Commented:
Static is external.
0
Fred MarshallPrincipalCommented:
Well, you *could* use dyndns with a static external IP address so that the dns would still point to the assigned static address from the service.  But, generally you don't have a static public IP to begin with and, if you did, then why would you want to route to a static public address provided by a 3rd party?  I'm not saying there would not be a reason but I'm asking you .. in this case?

It looks like this:

My ISP <>  My public IP address <> My Network.

If My public IP address is not static then you can't have normal name service so folks can address a URL like www.mysite.com.  In order to do that you need a static IP address.  That's where dyndns comes in.  They give you a URL and assign a static IP address to it.

Your URL www.mysite.com is assigned a static IP address that resides with the dyndns servers.  The service keeps track of My public IP address and forwards packets to you.

Now, if "My public IP address " is static, then that's OK too.   You can either set it up with the URL pointing directly to it or you can use dyndns as a passthrough with a different static IP.
0
techin4Author Commented:
Okay I see....So when am I suppose to assign an ip address to my router? In my router configuration,  there is a spot for me to enter an IP address.
0
ChiefITCommented:
Your ISP will give you a WAN IP address. That is a dynamic IP address. Don't mess around with your WAN settings.

On the LAN side, configure your INTERNAL ip addresses to Static. Then, your internal default gateway doesn't change and mess up networked communications...
0
Fred MarshallPrincipalCommented:
Normally the router will have a default internal static IP address like 192.168.1.1  
But, you could assign something else.  The point really is that it's assigned one way or another and it *is* static.
0
ChiefITCommented:
The problem with the default IP is, it's the default IP. Sometime, down the road, a user will plug another device on the network with that default IP address and knock you down. So, I would set the LAN IP to a non-default static IP address and leave the WAN IP up to the ISP.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.