[10:32] Morning [11:07] hi === square-r10t is now known as square-r00t [13:09] Morning peoples, dogs, turkeys, hamsters and everything else === InHisName is now known as HowdyDoody === InHisName1 is now known as InHisName [13:53] Morning all [14:31] I read through the man pages for ifconfig but cannot find where to show when the IP from ISP expires ? [14:52] ifconfig doesn't handle DHCP leases. dhclient does [14:58] InHisName: cat /var/lib/dhcp/dhclient.eth0.leases [15:58] great for internal IPs, but seeking the IP from ISP for its expire time [16:05] If you have a router then the router is holding the lease and has the expire time. [16:05] i think fios holds until terminal resets [16:05] I had a cable modem die and comcast assisted to get an older modem linkedup to their data. When rebooting my router, no IP is assigned to eth0. I ran a script that sets the IP of the networkadapter (eth0) to the IP used previously under the old (dead) modem. It's all working. Does that mean that the old lease is still valid and renewed more ? Even with the cable modem change ? Seems at reboot the router should be getting assigned an IP. [16:05] perhaps router, but ive power cycled router and it leasewd same ip [16:06] router is linux box not in ifconfig of eth0 facing the isp. Where to look ? [16:06] call isp [16:06] If you don't have a static ip the DHCP could just be really slow. I've seen it before. [16:07] and raise hell [16:12] once linux (router) finishes booting up, should'n't the eth0 have an IP address set to it from dhcp services from the isp ? Something must be failing with my bootup process to have NO IP assigned. [16:15] try curl 'icanhazip.com' for your outward facing ip [16:16] I hard coded the old IP into ifconfig and all started to work. Just lucky. Being dynamic, it could change anytime. So, if I boot up with NEW IP, then I'd need to modify the script to setup my routing in router. Knowing the IP would be very handy to fix future issues. [16:16] Might stuff be in rc.conf ? Or somewhere else ? [16:35] Here is line from my script: ip route add 71.225.216.0/21 dev eth0 proto kernel scope link src 71.225.216.235 [16:36] Notice the src is 71.225.216.235 The icanhazip.com shows 71.225.221.235 Both withing the same subnet. [16:37] Just exactly what does the src IP in above command really do ? [16:37] s/withing/within/ [16:43] InHisName: ask on ##networking [16:57] Hello, hello, hello === rmg511 is now known as rmg51