Error starting DHCP: No subnet declaration for eth0 (192.168.0.1

Source: Internet
Author: User

Xubuntu 8.04 i386. Loaded with Dhcp3-server.
Error using Sudo/etc/init.d/dhcp3-server start:
APR 14:24:03 s Dhcpd:wrote 0 leases to leases file.
APR 14:24:03 s DHCPD:
APR 14:24:03 S Dhcpd:no Subnet declaration for eth0 (192.168.0.1).
APR 14:24:03 S DHCPD: * * Ignoring requests on eth0. If this isn't what
APR 14:24:03 s dhcpd:you want, please write a subnet declaration
APR 14:24:03 s Dhcpd:in your dhcpd.conf file for the network segment
APR 14:24:03 s dhcpd:to which interface eth0 is attached. **
APR 14:24:03 s DHCPD:
APR 14:24:03 s DHCPD:
APR 14:24:03 s Dhcpd:not configured to listen on any interfaces!

Eth0 connection of the system to the intranet
inet Address: 192.168.0.1 Broadcast: 192.168.0.255 Mask: 255.255.255.0
The eth1 of the system is connected with the external network

/etc/dhcpd.conf content is

Option Subnet-mask 255.255.255.000;
Default-lease-time 600;
Max-lease-time 7200;
Log-facility Local7;

Subnet 192.168.0.0 netmask 255.255.255.0 {
Range 192.168.0.101 192.168.0.200;
Option routers 192.168.0.1;
Option broadcast-address 192.168.0.255;
Option ip-forwarding off;
}

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.