LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   router - static and dhcp advice/help please (https://www.linuxquestions.org/questions/linux-networking-3/router-static-and-dhcp-advice-help-please-765635/)

KTMPixie 10-30-2009 01:58 PM

router - static and dhcp advice/help please
 
Hi,

This is my rather sad setup, I'd appreciate any advice you could give.

I have a computer which connects through a usb modem to my isp. I get my IP through dhcp from my ISP.

I also have a router (doesn't connect to the net at all) which connects to the computer above through the normal cable and lan ports.

There will be a few more computers connecting to the network through the router at a later stage.

So with having a changing ip on the computer how do I connect to the router!?

Thanks,

Justin.

repo 10-30-2009 02:20 PM

Your best bet would be to add an extra networkcard, then use masguerading.
Connect the router to the second network card, and the rest of the network to the router.
Your linuxbox will act as a router, and give internetaccess to he rest of the network.

modem => linux box => router => internal network.

http://www.cyberciti.biz/faq/rhel-fe...sharing-howto/
http://www.howtoforge.com/internet-c...ading-on-linux
http://tldp.org/HOWTO/IP-Masquerade-HOWTO/

KTMPixie 10-31-2009 06:16 AM

Thanks
 
Thanks for the response, I'll be reading up on those links you provided.


All times are GMT -5. The time now is 03:33 AM.