> ************* dhcpd ************** > > # $OpenBSD: dhcpd.conf,v 1.2 2008/10/03 11:41:21 sthen Exp $ > # > # DHCP server options. > # See dhcpd.conf(5) and dhcpd(8) for more information. > # > > # Network: 192.168.1.0/255.255.255.0 > # Domain name: my.domain > # Name servers: 192.168.1.3 and 192.168.1.5 > # Default router: 192.168.1.1 > # Addresses: 192.168.1.32 - 192.168.1.127 > # option domain-name "my.domain"; option domain-name-servers 192.168.1.1;
subnet 192.168.0.0 netmask 255.255.255.0 { option routers 192.168.0.1; range 192.168.0.32 192.168.0.127; } network 192.168.0.0/24 for client > > > *********************** var_log_messages ********************** > > Dec 1 00:31:33 gateway dhcpd[21708]: Can't listen on xl1 - dhcpd.conf > has no subnet declaration for 192.168.0.1. > Dec 1 00:31:33 gateway dhcpd[21708]: No interfaces to listen on. > Dec 1 00:31:33 gateway dhcpd[21708]: exiting. > > xl1: flags=8a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:60:97:be:ca:2a priority: 0 media: Ethernet autoselect (none) ------> cable problem status: no carrier -------> cable problem inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::260:97ff:febe:ca2a%xl1 prefixlen 64 scopeid 0x2 thanks