On Thu, 30 Dec 2004 16:28:44 -0500 (EST), Alex Angerhofer
On Thu, 30 Dec 2004, Alex Angerhofer wrote:
Hi list,
I have a strange problem with dhcpd.
1. the setup: nibbio (SuSE 9.2 on amd64) is connected to a DSL modem with ethernet device 1. Device 2 connects to my local network on which two other PCs are connected. I am running dhcpd (from the stock distribution) on nibbio which hands out leases on the private subnet. So far so good.
2. the initial problem: Just recently, out of the blue, the eth device order decided to change, i.e., device 1 is now eth1 and device 2 is now eth0 where they were previously coming up the other way. This foiled my dhcpd server which was tied to eth1. After googling a bit I found that with kernel 2.6.x the devices were now called eth-id-MAC whith the proper MAC addresses in order to positively identify them and that aliases introduced in modprobe.conf wouldn't really make any sense anymore or would tend to be irrelevant (see for example: http://support.novell.com/cgi-bin/search/searchtid.cgi?/en/2004/05/91_syscon... ). So, I decided that the way to go would be to tie dhcpd to eth-id-MAC_of_device_2 rather than eth1 which it had been set before. However, this makes dhcpd fail with the following error message in the logs:
Dec 30 15:52:38 nibbio dhcpd: No subnet declaration for eth-id-00:09:5b (0.0.0.0).
Obviously, eth-id-00:09:5b is not the entire interface name. Apparently, dhcpd only takes the 15 first characters of whatever is given to it. I confirmed this behavior by leaving out eth- in the DHCPD_INTERFACE field and by trying just the MAC address. dhcpd fails to run in any case and only 15 characters are given.
Has anybody else seen this problem, and perhaps found a solution?
Best regards, Alex.
Following up on my own message, I see that this problem has been found in SuSE 9.1 already and fixed with the dhcp-relay 3.0.1rc13-28.7 YOU patch. Apparently, the bug fix didn't make it into 9.2? Would it be alright to simply install the rpm in the 9.1 distribution?
Best regards, Alex.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Hi, recently there was a thread on the list with subject "SuSE 9.2 Pro changing eth0 to eth1". The discussion was long, and there were a lot of good ideas to solve the problem, maybe you should take a look. Here is a link: http://lists.suse.com/archive/suse-linux-e/2004-Dec/index.html#3110 Cheers and Happy New Year Sunny -- Get Firefox http://www.spreadfirefox.com/?q=affiliates&id=10745&t=85