You can setup a script in dhclient.conf, which will run every time
dhclient gets a lease.

check the man pages for dhclient-script and dhclient.conf.



On 2010 Oct 23 (Sat) at 21:23:27 -0400 (-0400), Ed  D. wrote:
:Hi Eveybody,
:      I have an AMD64 based OpenBSD 4.6 system in another town that's
:on a DSL account with a dynamically allocated IP address.
:
:The DSL provider uses standard DHCP to allocate the address, and
:I just use a dumb modem, 
:so the DHCP session is done by my  OpenBSD box.
:
:Back home at my base location I have a static IP and an
:OpenBSD based network with web and mail server.
:
:QUESTION: is there a way for my remote OpenBSD box
:in the other town, to send me it's new IP address when it updates
:it's IP address during a DHCP session?
:
:Or any other way that i can know when it's IP address changes and
:what the new one is?
:_______________________________________________
:Openbsd-newbies mailing list
:[email protected]
:http://mailman.theapt.org/listinfo/openbsd-newbies

-- 
McGowan's Madison Avenue Axiom:
        If an item is advertised as "under $50", you can bet it's not
        $19.95.
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to