Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-18-2005, 03:49 AM
|
#1
|
LQ Newbie
Registered: Feb 2005
Location: Jamaica
Distribution: Mandrake 10.1 Official
Posts: 24
Rep:
|
Connecting to internet through DHCP
I am running Mandrake 10.0 and have it on a LAN. The machine has 2 NIC's, one which connects directly to the internet and the other that connects to the switch/hub.
I set up a DHCP server to share and manage the net connections. The other machines on the network are running Windows XP, they can access the DHCp but cant access the internet.
Can anyone help me with this?
|
|
|
02-18-2005, 05:18 AM
|
#2
|
Senior Member
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170
Rep:
|
Isn't this a windows question then? Or doesn't your linux box connect to the internet either? Anyway this is more appropriate in the networking forum.
|
|
|
02-18-2005, 05:51 AM
|
#3
|
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672
Rep:
|
You need to set up internet sharing as well as dhcp... The mandrake wizard in the MCC should get it going for you....
|
|
|
02-18-2005, 05:54 AM
|
#4
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
You need to set up your DHCP server (is that on your Mandrake box? I didn't quite understand) to give your out the "default gateway". If you're trying to turn your Mandrake box into a router, then the default gateway you will need to give is the IP address of the Mandrake NIC that connects to the Switch.
|
|
|
02-18-2005, 06:28 AM
|
#5
|
LQ Newbie
Registered: Feb 2005
Location: Jamaica
Distribution: Mandrake 10.1 Official
Posts: 24
Original Poster
Rep:
|
The Mandrake box connects to the internet and I already set up the DHCP. I set up the internet connection sharing as well using the wizard in Mandrake CC but the other machines on the network cant seem to connect
|
|
|
02-18-2005, 06:52 AM
|
#6
|
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851
Rep:
|
You need to configure ip forwarding in iptables. There is a very good script generator for this here.
|
|
|
02-18-2005, 08:36 AM
|
#7
|
LQ Newbie
Registered: Feb 2005
Location: Jamaica
Distribution: Mandrake 10.1 Official
Posts: 24
Original Poster
Rep:
|
Yup, that did it. Thanks alot
|
|
|
All times are GMT -5. The time now is 09:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|