Connecting Cisco Router to home cable modem

I have just completed my CCNA and just finished ISCW of my CCNP, I have a cisco 870 router and would like to connect it to my home cable modem (my isp is rogers in canada) to replace my linksys and also be able to play around on it and setup vpn's and so on and so on. My question is my ISP is assigning me an ip dynamically and it will change every now and then. How do i setup the router interface for a dynamic ip, I am able to do it with a static IP but that is not an option in this case.

thanks in advance.
Who is Participating?
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.

You can use DHCP on the interface connected to the cable modem.

conf t
int e0
ip address dhcp

The router should also install a default route based on the DHCP gateway option learned from your ISP.  Configure NAT and you should be able to connect to the Internet from the inside.
rockafella77Author Commented:
Awesome, one last thing how do I know what routing protocol to run?
You won't run a routing protocol with your ISP.  You can internally if desired.

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
rockafella77Author Commented:
thanks again,
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

From novice to tech pro — start learning today.