Date: Sat, 5 May 2001 23:26:36 +1000 From: "Gavin Cameron" <gavin@itworks.com.au> To: "G D McKee" <freebsd@gdmckee.com>, <freebsd-questions@freebsd.org> Subject: Re: DHCPD Problems Message-ID: <026f01c0d567$02ac54d0$6401a8c0@itworks.com.au> References: <002c01c0d566$11346200$0500a8c0@gdmckee.local>
next in thread | previous in thread | raw e-mail | index | archive | help
Put a dummy definition in your dhcpd.conf file for xl0
subnet 62.30.209.0 netmask 255.255.255.0 {
}
Cheers
Gavin
----- Original Message -----
From: "G D McKee" <freebsd@gdmckee.com>
To: <freebsd-questions@freebsd.org>
Sent: Saturday, 5 May 2001 23:19
Subject: DHCPD Problems
Hi
Want to set up a local DHCP server for my internal PC's. Will hard code the
MAC addresses into the config file.
The only problem I have is I have a cable modem that also uses DHCP. Can
the two nic look for different DHCP server? ep0 is the local card and xl0
is the external nic.
I have got a config file, see below, and every time I try to fire up DHCP it
comes up with the following error:
Listening on BPF/ep0/00:a0:24:f0:b3:98/192.168.0.0
Sending on BPF/ep0/00:a0:24:f0:b3:98/192.168.0.0
No subnet declaration for xl0 (62.30.209.11).
Please write a subnet declaration in your dhcpd.conf file for the
network segment to which interface xl0 is attached.
exiting.
DHCPD.conf:
subnet 192.168.0.0 netmask 255.255.255.0 {
option domain-name-servers 192.168.0.6;
option broadcast-address 192.168.0.255;
option subnet-mask 255.255.255.0;
option routers 192.168.0.6;
range 192.168.0.25 192.168.0.35;
}
Lines in rc.conf
###DHCPD#####
dhcpd="YES"
dhcpd_flags="-q ep0"
Also, can the machine running the DHCP server get its address from the DHCP
server running on it.
Gordon
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?026f01c0d567$02ac54d0$6401a8c0>
