[SLE] dhcpd problem

From: Alex Angerhofer (alex_at_chem.ufl.edu)
Date: 12/30/04

  • Next message: Alex Angerhofer: "Re: [SLE] dhcpd problem"
    Date: Thu, 30 Dec 2004 16:09:47 -0500 (EST)
    To: SuSE Linux List <suse-linux-e@suse.com>
    
    

    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_sysconfig.html
    ).
    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.

    -- 
    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
    

  • Next message: Alex Angerhofer: "Re: [SLE] dhcpd problem"

    Relevant Pages

    • Re: Promiscuous BOOTP server?
      ... I'm trying to set up a BOOTP/tftpd server so that I can boot diskless ... I've read the dhcpd docs, ... require MAC addresses. ... Is there a way to set up a server without requiring the MAC addresses? ...
      (comp.os.linux.setup)
    • RE: Restricting DHCP services by MAC address
      ... I'm assuming your using dhcpd services from www.ics.org. ... This allows the router to relay directly to the dhcp ... I would like to restrict DHCP services by workstation MAC address. ... I used iptables rules to ACCEPT requests to the DHCP server only from ...
      (RedHat)
    • RE: Restricting DHCP services by MAC address
      ... addresses unless it is from MAC addresses that I have specified. ... I'm assuming your using dhcpd services from www.ics.org. ... This allows the router to relay directly to the dhcp ... Restricting DHCP services by MAC address ...
      (RedHat)
    • finding bootp client
      ... I am getting log entries: ... Sep 12 10:17:38 gabriel dhcpd: Ignoring BOOTP request from client ... These happen every couple of seconds and my log files are huge. ... file does not show an entry for this MAC adress. ...
      (RedHat)
    • Re: Promiscuous BOOTP server?
      ... I'm trying to set up a BOOTP/tftpd server so that I can boot diskless ... machines on my LAN. ... I've read the dhcpd docs, ... require MAC addresses. ...
      (comp.os.linux.setup)