Solved

dhcpd & Internet connection sharing

Posted on 2002-03-24
4
280 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

746 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now