Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to determine remaining lease time for WAN? (Canadian/Teksavvy)

    DHCP and DNS
    6
    9
    778
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      guardian Rebel Alliance
      last edited by

      Can anyone tell me how I can determine the remaining lease time for WAN?

      I am in the process of switching from Rogers to Teksavvy, and I am trying to determine how long the leases are that cable modem hands out. I am fortunate that I can just swap the modems to switch between the 2 services while I am trying things out, but I have to make a choice of which service to keep.

      If there are any Teksavvy users that can provide any input, it would be much appreciated.

      If you find my post useful, please give it a thumbs up!
      pfSense 2.7.2-RELEASE

      KOMK 1 Reply Last reply Reply Quote 0
      • KOMK
        KOM @guardian
        last edited by

        @guardian I've been with Teksavvy for about 10 years. I've never needed to know the lease expiry time. As for which to keep, it's a no-brainer: Teksavvy. You get more for less every time, and their support is great.

        G 1 Reply Last reply Reply Quote 0
        • G
          guardian Rebel Alliance @KOM
          last edited by

          @KOM said in How to determine remaining lease time for WAN? (Canadian/Teksavvy):

          @guardian I've been with Teksavvy for about 10 years. I've never needed to know the lease expiry time. As for which to keep, it's a no-brainer: Teksavvy. You get more for less every time, and their support is great.

          Thanks @KOM for the reply (I'm in the GTA/York Region Area), just wondering if we are in the same part of the country?

          I have spoken with tech support a couple of times just to get a bit of technical information and they seem to be quite good. I hope things will continue - IIUC they have been bought out.

          I had rogers (TV/Internet for years), but they are pushing "Ignite" service (jacked the price way up on the legacy cable TV product, so I ditched cable). To get a decent price on the Rogers internet I would be forced to have multiple active WiFi transmitters running that I can't turn off, which for me is a hard no. Teksavvy was happy to send me a dumb modem which only does bridge mode which make things real easy--just plug into pfSense and it's up and running.

          How often does your IP address change?

          With Robbers my IP address stayed static for years, and they had a nice cryptic reverse DNS that I could use for my road warrior VPN without attracting any attention because of a custom DNS entry. With Teksavvy, I need to figure out how to do dynamic DNS, but that's not a big issue. Just not as stealthy.

          If you find my post useful, please give it a thumbs up!
          pfSense 2.7.2-RELEASE

          johnpozJ JKnottJ 2 Replies Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @guardian
            last edited by johnpoz

            @guardian if you want the lease time for your wan interface.. just look in /var/db you will see a dhclient.leases.interface file

            lease.jpg

            On my pfsense the wan is igb1, if I look at that file I can see the lease is for 604800 seconds or 7 days.

            That being said, it really has never changed.. Same IP for years, it only changed once when isp merged with another company and they redid all their ip space.

            My previous cable isp had that IP for years and years and it never changed. Sure some isp my force and IP change, but with dhcp as long as you renew it, you should always get the same IP.

            The expire there at the end tells you how much time you have left on that lease before it expires, unless renewed.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            A 1 Reply Last reply Reply Quote 1
            • JKnottJ
              JKnott @guardian
              last edited by

              @guardian said in How to determine remaining lease time for WAN? (Canadian/Teksavvy):

              With Robbers my IP address stayed static for years, and they had a nice cryptic reverse DNS that I could use for my road warrior VPN

              Yep, my IPv4 address is virtually static and the host name only changes when I change hardware, as it's based on the MAC addresses. I've also had my IPv6 prefix for almost 5 years. I don't know how Teksavvy does with that.

              PfSense running on Qotom mini PC
              i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
              UniFi AC-Lite access point

              I haven't lost my mind. It's around here...somewhere...

              G 1 Reply Last reply Reply Quote 0
              • G
                guardian Rebel Alliance @JKnott
                last edited by

                @johnpoz said in How to determine remaining lease time for WAN? (Canadian/Teksavvy):

                @guardian if you want the lease time for your wan interface.. just look in /var/db you will see a dhclient.leases.interface file

                Thanks @johnpoz that is very helpful and exactly what I was looking for, and then some.

                @JKnott said in How to determine remaining lease time for WAN? (Canadian/Teksavvy):

                @guardian said in How to determine remaining lease time for WAN? (Canadian/Teksavvy):

                With Robbers my IP address stayed static for years, and they had a nice cryptic reverse DNS that I could use for my road warrior VPN

                Yep, my IPv4 address is virtually static and the host name only changes when I change hardware, as it's based on the MAC addresses. I've also had my IPv6 prefix for almost 5 years. I don't know how Teksavvy does with that.

                Hi @JKnott, I assume that you are on Rogers based on our previous discussion. I just signed up for Teksavvy, and so far it looks good. Only downside so far is that I had to set up Dynamic DNS since the Teksavvy reverese DNS is not linked to the subscriber - just the IP address.

                Time will tell how long the IP address stays the same. I must admit that there is a benefit to turning over an IP address as it makes the IP address useless for corporate tracking - AFAIK customer/IP mapping is not being sold to data brokers, so only with long term holding of an IP address can the user of that IP address be used for long term tracking.

                What I found really refreshing about my dealing with Teksavvy was (1) tech support could actually provide me with useful information, and (2) when I said I didn't want their WiFi, and I wanted to use my own router, they gladly sent me a dumb modem that only runs in bridge mode and had no WiFi hardware.

                Time will tell how long they stay good based on market forces.

                If you find my post useful, please give it a thumbs up!
                pfSense 2.7.2-RELEASE

                1 Reply Last reply Reply Quote 0
                • A
                  azdeltawye @johnpoz
                  last edited by

                  @johnpoz

                  Sorry to revive this thread from the dead.. But, how do you read the contents of the dhclient.leases. file?

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    azdeltawye @azdeltawye
                    last edited by azdeltawye

                    NVM, I figured it out.

                    I just type the following string in the command prompt window (SG-4100):

                    more /var/db/dhclient.leases.ix3
                    

                    It sure would be nice if WAN lease time information was an option in the Gateway monitoring widget...

                    GertjanG 1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @azdeltawye
                      last edited by

                      @azdeltawye

                      tail -n 4 /var/db/dhclient.leases.ix3
                      

                      😊

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.