[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DHCP Problems



I'm having problems getting the DHCP server to work.  Here is some
output when the computer boots: (this part is for the internal nic)

Internet Software Consortium DHCP Client 2.0p15-OpenBSD
Listening on BPF/sis0/00:02:e3:1f:f7:c4
Sending on BPF/sis0/00:02:e3:1f:f7:c4
Sending on Socket/fallback/fallback-net
DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 1
DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 2
DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on sis0 to 255.255.255.255 port 67 interval 19

Then I hit control c to stop that and it continues booting up.  It gives
the other nic (external) it's ip and everything.  Then I get this error
near the end of the bootup process:

starting network daemons: dhcpdFeb 19 14:11:07 swap dhcpd: No subnet
 declaration for sis0 (0.0.0.0).
Feb 19 14:11:07 swap dhcpd: Please write a subnet declaration in your
 dhcpd.conf file for the
Feb 19 14:11:07 swap dhcpd: network segment to which interface sis0 is
 attached.
Feb 19 14:11:07 swap dhcpd: exiting.

How can I fix this.

Here is a copy of my dhcpd.conf file:

shared-network LOCAL-NET {
        option  domain-name "customsystems.dns2go.com";
        option  domain-name-servers 192.168.1.1;

        subnet 192.168.1.0 netmask 255.255.255.0 {
                option routers 192.168.1.1;

                range 192.168.1.2 192.168.1.4;
        }
}

Here is a copy of my dhclient.conf:

initial-interval 1;
send host-name "swap";
request subnet-mask, broadcast-address, routers,
       domain-name, domain-name-servers, host-name;

Let me know how to fix these problems.

-- 
Ryan Spangler
428 N Harmony Ln, Apt. 3
Whitewater, WI 53190
(262) 473-8392
SpanglerRP22_(_at_)_uww_(_dot_)_edu