This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Does the UTM log when ISP issues new IP address? (external IP address change)

Home user Issued a dynamic IP address from ISP that changes. Does the UTM log when the external IP address changes? For reference I want to know how often it changes if at all.



This thread was automatically locked due to age.
Parents
  • DHCP offered ip's come with an expiration date. Your utm will attempt to renew it starting at the halfway point.  IE if offer is good for a day, it will start renewing at 12 hrs.

    The actual lease file is in /var/sec/chroot-dhcpc/var/db (my wan interface is eth2)

    # cat eth2.leases

    There will be a bunch of entries, most recent is at the bottom.  Time is in UTC

    }
    lease {
      interface "eth2";
      fixed-address {PUBLIC IP};
      option subnet-mask 255.255.252.0;
      option routers {GATEWAY IP};
      option dhcp-lease-time 3600;
      option dhcp-message-type 5;
      option domain-name-servers blah,blah;
      option dhcp-server-identifier {DHCP SERVER IP};
      option broadcast-address {BROADCAST IP};
      renew 0 2022/05/08 22:57:45;
      rebind 0 2022/05/08 23:21:01;
      expire 0 2022/05/08 23:28:31;

    Att's leases are good for 1 hr, renewals happen every ~30 min. WAN dhcp activity is logged in the system log.

    If you're a cable customer, with most providers you can force an IP change by spoofing the wan mac to something else.  I'm on fiber, my ip hasn't changed in over 4 years. Might as well be static.

Reply
  • DHCP offered ip's come with an expiration date. Your utm will attempt to renew it starting at the halfway point.  IE if offer is good for a day, it will start renewing at 12 hrs.

    The actual lease file is in /var/sec/chroot-dhcpc/var/db (my wan interface is eth2)

    # cat eth2.leases

    There will be a bunch of entries, most recent is at the bottom.  Time is in UTC

    }
    lease {
      interface "eth2";
      fixed-address {PUBLIC IP};
      option subnet-mask 255.255.252.0;
      option routers {GATEWAY IP};
      option dhcp-lease-time 3600;
      option dhcp-message-type 5;
      option domain-name-servers blah,blah;
      option dhcp-server-identifier {DHCP SERVER IP};
      option broadcast-address {BROADCAST IP};
      renew 0 2022/05/08 22:57:45;
      rebind 0 2022/05/08 23:21:01;
      expire 0 2022/05/08 23:28:31;

    Att's leases are good for 1 hr, renewals happen every ~30 min. WAN dhcp activity is logged in the system log.

    If you're a cable customer, with most providers you can force an IP change by spoofing the wan mac to something else.  I'm on fiber, my ip hasn't changed in over 4 years. Might as well be static.

Children
No Data