Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
starting network daemons: dhcpd Jan 7 11:35:43 BSDrouter dhcpd: No subnet declaration for rl0 (XXX.XXX.XXX.XXX)
Please write a subnet declaration in your dhcpd.conf file for the network segment to which interface rl0 is attached.
Those XX's are covers for my real external IP address. But dhcpd shouldn't be having anything to do with that NIC nor that IP address - as best as I know. After this error, dhcpd reports that it is exiting, thus not working for rl1 (the nic it SHOULD be serving on).
The very last section (subnet MY.EXTERN...) was added because I was still receiving the same error message as before - so I thought I'd add this to see if it would fix it. But alas, no. Thanks for the great link I didn't know about the static setting of IP's using the hostname and MAC address, this wil prove VERY useful. Thank you. Any more clues as to why I'm getting this error?
That'd be great. Could be anything in the way dhcpd is running? I mean as far as I can tell dhcpd shouldn't care less about rl0 as it's my external NIC. Is there somewhere I should be telling dhcpd which NIC or address to listen on?
I was just on my way in to let you guys know that I figured it out. I had a feeling I had to pass reference to the correct NIC when I started dhcpd. As you just said "-q rl1". Everything is fine now. Thanks for your help. Out of three howtos I went to in order to find out what was going wrong, none of them told me that I had to tell dhcpd which NIC, or more appropriately HOW to tell dhcpd. Anyway, all good now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.