LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Internet Sharing & DHCP problem? Help! (https://www.linuxquestions.org/questions/linux-networking-3/internet-sharing-and-dhcp-problem-help-42392/)

hakanicduygu 01-22-2003 05:41 AM

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!

trickykid 01-22-2003 06:10 PM

moved: obviously a networking question so its been moved to the networking forum.

born4linux 01-22-2003 08:14 PM

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.

hakanicduygu 01-23-2003 12:28 AM

Thanx for your kind solution.

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

MCSE

cmisip 01-25-2003 01:18 PM

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.


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