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.
My Mandrake 10.1 box has 3 NIC's (utp, modem, coax). On the first NIC i use a crossed UTP to connect my laptop. When i connect the laptop before starting dhcpd, all works fine. But when dhcpd starts without the laptop it doesn't listen on that NIC.
I've experimented with plugging and unplugging the cable after starting dhcpd with the laptop on. This works fine too. So the problem just seems to be that the server doesn't start correctly.
So i'd like dhcpd to listen on eth0 when i start it.
Is there something i must add to dhcpd.conf or mayby the ifcfg-ethX file???
I have been googling for clues for a couple of hours now. Getting nowere. Hope one of you guys can help...
in the command line you can do it via 'dhcpd -d -f eth0 &'
or to do that automatically, check your dhcpd startup scripts. in my CentOS box, i edit /etc/sysconfig/dhcpd and add the interface where i want dhcpd to listen to.
I tried both born4linux idea's but no succes. Edditing INTERFACES in /etc/sysconfig/dhcpd seems to have no effect at all. If I use "dhcpd eth0" dhcpd only tries to start that one interface, but fails.
Dhcpd indead seems to start listening to interfaces for witch subnets are defined like DoubleOTeC mentioned. So the problem perhaps has notthing to do with dhcpd itself. The staticly defined IP's for my NIC only show when the NIC is plugged. This causes dhcpd not to find the correctly (i guess) defined subnet. Some experimenting shows that this is only a problem on my PCI NIC's not on the older ISA NIC's they seem to have an IP wether or not they are plugged.
Is this perhaps a problem with NIC configuration...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.