Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-22-2003, 06:41 AM   #1
LQ Newbie
Registered: Jan 2003
Posts: 2

Rep: Reputation: 0
Unhappy Internet Sharing & DHCP problem? Help!

I'm running Mandrake 9.0 on my server with 2 ethernet cards.

1) I would like to install and manage DHCP server,
2) I would like my clients (dhcp enabled) to share my 512k cable modem internet connection.

- I have installed the system with higher priority, server
- Installed common server applications
- Installed webmin (as I sure am a NEWBIE)

In the Mandrake Configuration menu
- eth0 configured to get an IP automatically from my ISP
- My server can hook up to internet (no problem)
- eth1 configured to have a standart static IP (
- I chose Internet sharing under Networking. It automatically installed DHCP server software.

Right now I can hook up 253 PC's behind my server. Each one gets a correct IP number (from my DHCP IP pool).

None of them connects to the internet.

What am I doing wrong?

Please help!
Old 01-22-2003, 07:10 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 256Reputation: 256Reputation: 256
moved: obviously a networking question so its been moved to the networking forum.
Old 01-22-2003, 09:14 PM   #3
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
first the basic stuff:
1. from your cilent PCs, check if they can ping your linux machine.

2. If your LAN is ok, follow the steps here to share the internet connection:

I am giving the link as I am not familiar with the sharing wizard of Mandy.

in the above link, look for the dsl/cable section.

your client pcs can't browse? check if they can ping outside hostnames (like if they have some hostname problems, try the IP addresses. if they can ping the IPs, u have a DNS problem. The best way to solve this is to implement a local dns forwarder via the named.conf file (u need the DNS ip adds of your ISP).

Old 01-23-2003, 01:28 AM   #4
LQ Newbie
Registered: Jan 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Thanx for your kind solution.

I'll browse through those pages, luckly find an answer.

Old 01-25-2003, 02:18 PM   #5
Registered: Aug 2002
Posts: 189

Rep: Reputation: 30
i wonder if your client pcs are getting the correct dns ips from your dhcp server. In my lan, i fixed this by adding the isp's dns numbrs to option domain-name-servers in my /etc/dhcpd.conf.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dhcp and internet sharing connectin problem melinda_sayang Linux - Networking 5 11-05-2004 07:13 AM
Internet Sharing w/o DHCP Server Mookid77 Mandriva 1 07-20-2004 08:18 AM
Problem with internet sharing with mandrake 10 & shorewall woutervdbos Mandriva 8 04-12-2004 09:22 PM
Internet sharing and dhcp trouble iceaway Mandriva 2 03-12-2004 04:50 PM
Sharing internet between DHCP protocol? tr4nce Linux - Networking 10 03-25-2003 07:38 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:14 AM.

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