LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-22-2003, 05:41 AM   #1
hakanicduygu
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 (192.168.1.1)
- 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, 06:10 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
moved: obviously a networking question so its been moved to the networking forum.
 
Old 01-22-2003, 08:14 PM   #3
born4linux
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:

http://www.yolinux.com/TUTORIALS/Lin...rkGateway.html

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 www.yahoo.com) 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).

hth.
 
Old 01-23-2003, 12:28 AM   #4
hakanicduygu
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.

MCSE
 
Old 01-25-2003, 01:18 PM   #5
cmisip
Member
 
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:12 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