Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2000 14:19:21 -0700 (PDT)
From:      David Daugherty <doc@wcug.wwu.edu>
To:        stephen <stephen@neosphere.yi.org>
Cc:        free BSD <questions@freebsd.org>
Subject:   Re: assign a static dhcp ip
Message-ID:  <Pine.LNX.3.96.1000411141634.6021B-100000@sloth>
In-Reply-To: <000a01bfa3f9$ab6d1460$0202a8c0@neosphere.yi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 11 Apr 2000, stephen wrote:

> how do i assign an ip to a puter dialing into my system ???
In your file /usr/local/etc/dhcpd.conf your subnet block should look like:

subnet 192.168.1.0 netmask 255.255.255.0
{
        range 192.168.1.245 192.168.1.250;
	#range 192.168.1.245 192.168.1.245; use this line to only use 1 IP
        default-lease-time 86400;               #24 hours by default
        max-lease-time 259200;                  #three day lease time
        option subnet-mask 255.255.255.0;
        option broadcast-address 192.168.1.255;
        option routers 192.168.1.1;
}

this is assuming you have dhcp installed and running.

David
Software Eng. - NetManage
Work email: david.daugherty@netmanage.com
Home email: doc@wcug.wwu.edu
ICQ 21106703
Washington State Resident



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?Pine.LNX.3.96.1000411141634.6021B-100000>