LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 02-18-2005, 02:49 AM   #1
Tr@ce
LQ Newbie
 
Registered: Feb 2005
Location: Jamaica
Distribution: Mandrake 10.1 Official
Posts: 24

Rep: Reputation: 15
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?
 
Old 02-18-2005, 04:18 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
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.
 
Old 02-18-2005, 04:51 AM   #3
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
You need to set up internet sharing as well as dhcp... The mandrake wizard in the MCC should get it going for you....
 
Old 02-18-2005, 04:54 AM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
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.
 
Old 02-18-2005, 05:28 AM   #5
Tr@ce
LQ Newbie
 
Registered: Feb 2005
Location: Jamaica
Distribution: Mandrake 10.1 Official
Posts: 24

Original Poster
Rep: Reputation: 15
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
 
Old 02-18-2005, 05:52 AM   #6
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
You need to configure ip forwarding in iptables. There is a very good script generator for this here.
 
Old 02-18-2005, 07:36 AM   #7
Tr@ce
LQ Newbie
 
Registered: Feb 2005
Location: Jamaica
Distribution: Mandrake 10.1 Official
Posts: 24

Original Poster
Rep: Reputation: 15
Yup, that did it. Thanks alot
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
Connecting to a DHCP wireless network Calltor Linux - Wireless Networking 15 10-13-2005 07:08 PM
Connecting to DHCP... Tuxluver Linux - Wireless Networking 3 09-01-2005 11:34 AM
New router, new problems, not connecting dhcp Cleric Linux - Networking 8 01-10-2004 01:20 PM
problems connecting to dhcp server qanopus Linux - General 15 12-20-2002 02:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration