[SOLVED] Basic Kubuntu router, DHCP functioning. What about internet accessK
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Basic Kubuntu router, DHCP functioning. What about internet accessK
Hello!
I'm setting up a network for a project I'm working on. This network is to contain one primary computer with two NIC's, one to the interner one to a switch for several other computers (basically a router).
I have set up DHCP properly on Kubuntu, and it's working well. All of the clients are running Linux as well. However, what would be the best way to set up internet access on the client machines inside the network?
The primary machine itself is actually behind another Linksys router. Would this impede internet connection?
Thanks ahead of time.
**.... sorry about the extra "K" in the title... :P
Last edited by TwoGuesses; 06-22-2011 at 05:36 PM.
You have to enable packet forwarding on your DHCP server so that it can forward the packet that are destined for internet to your linksys router. Refer to this documentation: http://www.cyberciti.biz/faq/rhel-fe...sharing-howto/
I'm using Kubuntu, so I'm thinking that's why the stop/save/start commands for iptables didn't work, but I issued
Quote:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
.
So, on my client machines the DNS server is set up in /etc/resolv.conf, but prior to mentioning this it says, "Open your Windows / Mac / Linux computer networking GUI tool and point router IP to 192.168.1.254 (eth0 Linux IP)." In my situation, eth0 is to the router and eth1 is to a switch, and the static ip for eth1(underlined to show I did change the above command) is 10.0.0.1.
How exactly would I point the router ip to, presumably, 10.0.0.1?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.