Find the answer to your Linux question:
Results 1 to 2 of 2
how can i fix this error? i really have no idea what it wants me to do, i am no networking guru thats for sure:) bash-2.05b# dhcpd eth0 Internet Software ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Stockholm, Sweden
    Posts
    1,296

    dhcp setup eth0


    how can i fix this error? i really have no idea what it wants me to do, i am no networking guru thats for sure:)

    bash-2.05b# dhcpd eth0
    Internet Software Consortium DHCP Server V3.0pl2
    Copyright 1995-2003 Internet Software Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/products/DHCP
    Wrote 0 leases to leases file.

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


    here is the config file:

    # Sample /etc/dhcpd.conf
    # (add your comments here)
    default-lease-time 600;
    max-lease-time 7200;
    option subnet-mask 255.255.255.0;
    option broadcast-address 192.168.1.255;
    option routers 192.168.1.254;
    option domain-name-servers 192.168.1.1, 192.168.1.2;
    option domain-name "mydomain.org";
    ddns-update-style ad-hoc;

    subnet 192.168.1.0 netmask 255.255.255.0 {
    range 192.168.1.10 192.168.1.100;
    range 192.168.1.150 192.168.1.200;
    }

    subnet 0.0.0.0 netmask 255.255.255.0 {

    range 0.0.0.0 0.0.0.2;
    }

  2. #2
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Stockholm, Sweden
    Posts
    1,296
    thnx all i fixed it by reading the manpage properly!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •