Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jan 1999 13:00:00 -0800
From:      Eric Hodel <hodeleri@seattleu.edu>
To:        junkmale@xtra.co.nz
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: DHCP - when the IP changes, how do I know?
Message-ID:  <369FAC50.EE28D519@seattleu.edu>
References:  <19990115003153.CRCW678125.mta2-rme@wocker>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Langille wrote:
> 
> I'm using DHCP.  If the IP changes, I'll want to run various things that
> depend upon the IP.  Is there something within FreeBSD which will help?
> 
> Or should I be directing this to the DHCP list?
> 
> cheers.
> 
> --
> Dan Langille
> The FreeBSD Diary
> http://www.FreeBSDDiary.com/freebsd
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

check /var/db/dhclient.leases it will contain all the info you are given by the
DHCP server, and any you request, at least for ISC DHCP2.

-- 
Eric Hodel
hodeleri@seattleu.edu

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?369FAC50.EE28D519>