Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

dhcpd & Internet connection sharing

Posted on 2002-03-24
4
Medium Priority
?
290 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 400 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

618 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