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.
when i try to start dhcp server it fails , and gives me the error:
.
.
No subnet declaration for eth-<mac address of the external card> (0.0.0.0).
** Ignoring requests on eth-<mac address of the external card>. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth-<mac address of the external card> is attached. **
I'm guessing here, but it looks like your system has an additional interface that has not been configured. The output of "ifconfig" should verify this. If so, you can either add the subnet declaration as pointed out in the error message or simply specify a list of interfaces for dhcpd to bind to on startup through the dhcpd command line. i.e. dhcpd eth0
Either way you would like to set wich interface the DCHP server listens to as state above. This is a security issue as the DHCP server only should serve your local network.
The setting for NIC's to bind to usually is found in the /etc/sysconfig/ directory.
Originally posted by ugge Either way you would like to set wich interface the DCHP server listens to as state above. This is a security issue as the DHCP server only should serve your local network.
can i do that by an option in /etc/dhcpd.conf? what is that option?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.