Re: [SLE] config of dhcpd server under 9.1

From: Leendert Meyer (leen.meyer_at_home.nl)
Date: 06/03/04

  • Next message: Rob Freeman: "[SLE] What web browser works when check outlook for web access mail"
    To: suse-linux-e@suse.com
    Date: Thu, 3 Jun 2004 16:19:32 +0200
    
    

    On Thursday 03 June 2004 12:30, Ulrich Leopold wrote:
    > On Thu, 2004-06-03 at 12:19, Leendert Meyer wrote:
    > > On Thursday 03 June 2004 11:19, Ulrich Leopold wrote:
    > > > On Thu, 2004-06-03 at 11:09, poeml@cmdline.net wrote:
    > > > > On Thu, Jun 03, 2004 at 09:51:36AM +0200, Ulrich Leopold wrote:
    > > > > > No subnet declaration for eth1 (192.168.100.99).
    > > > > > ** Ignoring requests on eth1. If this is not what
    > > > > > you want, please write a subnet declaration
    > > > > > in your dhcpd.conf file for the network segment
    > > > > > to which interface eth1 is attached. **
    > >
    > > ...
    > >
    > > > # dhcpd.conf
    > > > #
    > > > # Sample configuration file for ISC dhcpd
    > >
    > > ...
    > >
    > > 1. What is the output of '/sbin/ifconfig eth1'?
    > > 2. What is the output of 'egrep "192\.168\.[0-9]+\.[0-9]+"
    > > /etc/dhcpd.conf'?
    >
    > That's the ouput:
    >
    > -------------------------------------------------------
    >
    > uleopold@iceland:~> /sbin/ifconfig eth1
    > eth1 Link encap:Ethernet HWaddr 52:54:05:FE:C2:D7
    > inet addr:192.168.100.99 Bcast:192.168.100.255
    ...
    >
    > uleopold@iceland:~> egrep "192\.168\.[0-9]+\.[0-9]+" /etc/dhcpd.conf
    > uleopold@iceland:~>
    >
    > -------------------------------------------------------
    >
    > So there is no output for the egrep command? Do I have to adapt somehow the
    > the eth1 ip-address to the /etc/dhcpd.conf file?

    Indeed that is /one/ solution, but not the one that dhcpd meant. Read the
    error message again:

    > > > > > No subnet declaration for eth1 (192.168.100.99).
    > > > > > ** Ignoring requests on eth1. If this is not what
    > > > > > you want, please write a subnet declaration
    > > > > > in your dhcpd.conf file for the network segment
    > > > > > to which interface eth1 is attached. **

    "If this is not what you want, please write a subnet declaration in your
    dhcpd.conf file"...

    Actually, dhcpd tells you the solution. ;)

    Hint: 'grep "subnet" /etc/dhcpd.conf'

    Cheers,

    Leen

    -- 
    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: Rob Freeman: "[SLE] What web browser works when check outlook for web access mail"