Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running Mandrake 9.1 and thier DHCP server setup automatically runs Shorewall. I have no need for a firewall, infact it's more of a headache then it's worth at this point.
When I turn shorewall off all the rest of the machines on the network have no internet access at all...
My Setup is pretty standard...
eth0 connects to my cable modem
eth1 connects to my hub, which several other windows machines dhcp from.
I just want to run DHCP without blocking ANY ports!!!!! Anyway to run it without Shorewall?!?!?
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
I have dhpcd running without a firewall of any kind. just edit /etc/dhcpd.conf and run /usr/sbin/dhcpd -- at least on my slack boxes, that's the way to do it -- I assume dhpcd is hiding in the same place on Mandrake.
Well, thank you for your assistance, however I'm not exactly sure what you mean... I've been around linux for some time now, but this FIrewall and DHCP stuff is all new to me. Could you be a bit more descriptive, maybe even post examples of what your refering to as far as what settings I should have in the dhcpd.conf, etc ...
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
You need to read the following man pages:
dhcpd
dhcpd.conf
Blindly copying configuration files will just get you into trouble, things can be very site specific. There are numerous examples in the dhcpd.conf man page, some of which are, actually, usefull. Once you've edited /etc/dhcpd.conf to your satisfaction, you run (as root) /usr/sbin/dhcpd. It's a relatively smart daemon and will probably tell you if the settings are grossly wrong. If you've already set up your firewall and dhcpd stuff using shorewall, you may not have to bother with editing /etc/dhcpd.conf.
Once you've decided that the settings are right, you may want to make dhcpd run at startup. To do this, you have to add it to the startup scripts. There is probably some GUI config tool that will "help" you do this, but if you want to be certain it works, you can edit files in /etc/sysconf and /etc/rc#.d (# is a number, probably 3 for you).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.