Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jul 2002 23:58:18 +1000
From:      "Danny" <dannyho@bigpond.net.au>
To:        "FreeBSD" <freebsd@wizguys.com>, "Support" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: DHCP config -- ports/net/isc-dhcp2 & isc-dhcp3
Message-ID:  <003201c225be$5945dd40$bf01a8c0@win2000>
References:  <006e01c22544$96ec2f20$9508c80a@topptelecom>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_002F_01C22612.2ACED4E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Why don't you try ports/net/isc-dhcp3 ?
What does your /usr/local/etc/dhcpd.conf

I am running isc-dhcp version 3
It should look something simlar to=20

 max-lease-time 72000;
 default-lease-time 6000;
 ddns-update-style interim;


# option defintion for one subnet


subnet 192.168.1.0 netmask 255.255.255.0 {

        range 192.168.1.3 192.168.1.199;
        max-lease-time 72000;
        default-lease-time 6000;
        option domain-name-servers xx.xx.xx.xx; #DNS-Servers
        option routers 192.168.1.196; #Default Gateway
        }

Does the startup file (isc-dhcpd.sh) have excuteable permission. Maybe =
type in chmod 755 isc.dhcpd.sh as superuser?
  ----- Original Message -----=20
  From: FreeBSD=20
  To: Support=20
  Sent: Sunday, July 07, 2002 9:26 AM
  Subject: DHCP config -- ports/net/isc-dhcp2 & isc-dhcp3


  DHCP daemon not working...
  =20
  1.  go to /usr/ports/net/isc-dhcp2
  2. /usr/ports/net/isc-dhcp2/make install
  3. go to /usr/local/etc
  4. edit dhcpd.config
  5. go to usr/local/etc/rc.d
  6. dhcpd.config start...?
  =20
  DHCP is still not starting ...any ideas ?  I tried re-starting BSD no =
luck yet ...
  =20
  Any ideas are appreciated...=20
  =20
  Thanks,
  =20
  Manny


------=_NextPart_000_002F_01C22612.2ACED4E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Why don't you try ports/net/isc-dhcp3=20
?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>What does your=20
/usr/local/etc/dhcpd.conf</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am running isc-dhcp version =
3</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>It should look something simlar to =
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;max-lease-time=20
72000;<BR>&nbsp;default-lease-time 6000;<BR>&nbsp;ddns-update-style=20
interim;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><BR># option defintion for one =
subnet</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><BR>subnet 192.168.1.0 netmask =
255.255.255.0=20
{</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; range=20
192.168.1.3 192.168.1.199;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

max-lease-time 72000;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
default-lease-time 6000;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
option=20
domain-name-servers xx.xx.xx.xx;=20
#DNS-Servers<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; option =
routers=20
192.168.1.196; #Default =
Gateway<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
}</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2>Does the startup file =
(isc-dhcpd.sh) have=20
excuteable permission. Maybe type in chmod 755 isc.dhcpd.sh as=20
superuser?</FONT></DIV></FONT>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A href=3D"mailto:freebsd@wizguys.com" =
title=3Dfreebsd@wizguys.com>FreeBSD</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  href=3D"mailto:freebsd-questions@FreeBSD.ORG"=20
  title=3Dfreebsd-questions@FreeBSD.ORG>Support</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Sunday, July 07, 2002 =
9:26 AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> DHCP config --=20
  ports/net/isc-dhcp2 &amp; isc-dhcp3</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>DHCP daemon not =
working...</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>1.&nbsp; go to=20
  /usr/ports/net/isc-dhcp2</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>2. /usr/ports/net/isc-dhcp2/make=20
  install</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>3. go to /usr/local/etc</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>4. edit dhcpd.config</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>5. go to =
usr/local/etc/rc.d</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>6. dhcpd.config =
start...?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>DHCP is still not starting ...any =
ideas ?&nbsp; I=20
  tried re-starting BSD no luck yet ...</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Any ideas are appreciated... =
</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Manny</FONT></DIV>
  <DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_002F_01C22612.2ACED4E0--


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?003201c225be$5945dd40$bf01a8c0>