Solved

dhcpd & Internet connection sharing

Posted on 2002-03-24
4
285 Views
Last Modified: 2010-03-18
Hi all,
I have a linux machine connected to the cable-modem through my eth1. I want to use eth0 for my home network. This machine will act as the router. The client machines are mainly Windows 2000 Professional. I managed to setup the dhcpd server on my linux and the Windows client can successfully get an address from the server. I verified that using the debug mode for the dhcpd.
The problem is that I don't seem to have an internet connection sharing on the linux machine. The Windows clients cannot make it to the internet.

Any suggestions?
Thanks
0
Comment
Question by:hsaqallah
4 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 100 total points
ID: 6892359
Have you also configured the Linux box to masquerade the inside network onto your cable connection? Is the Linux box configured to route traffic (/proc/sys/net/ipv4/ip_forward
 = 1)? When assiging the DHCP leases to your inside machines did you specify the correct gateway IP (that of your eth0) as the default route? And are you telling the clients the correct IP for the  nameservers (probably the same IP that the Linux box has in /etc/resolv.conf).

You don't say what Linux you are using, so I can't tell if IPchains or IPtables is the appropriate firewall for masquerading. You'll likely find http://www.redhat.com/mirrors/LDP/HOWTO/IP-Masquerade-HOWTO/index.html 
to be helpful in setting you the Linux box as a gateway router.
0
 

Expert Comment

by:CleanupPing
ID: 9078524
hsaqallah:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question