[10:32] <rmg51> Morning
[11:07] <JonathanD> hi
[13:09] <teddy-dbear> Morning peoples, dogs, turkeys, hamsters and everything else
[13:53] <InHisName> Morning all
[14:31] <InHisName> I read through the man pages for ifconfig but cannot find where to show when the IP from ISP expires ?
[14:52] <ChinnoDog> ifconfig doesn't handle DHCP leases. dhclient does
[14:58] <ChinnoDog> InHisName:  cat /var/lib/dhcp/dhclient.eth0.leases
[15:58] <InHisName> great for internal IPs, but seeking the IP from ISP for its expire time
[16:05] <ChinnoDog> If you have a router then the router is holding the lease and has the expire time.
[16:05] <pvl1> i think fios holds until terminal resets
[16:05] <InHisName> 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] <pvl1> perhaps router, but ive power cycled router and it leasewd same ip
[16:06] <InHisName> router is linux box   not in ifconfig of eth0 facing the isp.   Where to look ?
[16:06] <pvl1> call isp
[16:06] <ChinnoDog> If you don't have a static ip the DHCP could just be really slow. I've seen it before.
[16:07] <pvl1> and raise hell
[16:12] <InHisName> 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] <jedijf> try curl 'icanhazip.com' for your outward facing ip
[16:16] <InHisName> 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] <InHisName> Might stuff be in rc.conf ?  Or somewhere else ?
[16:35] <InHisName> 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] <InHisName> Notice the src is 71.225.216.235     The icanhazip.com shows 71.225.221.235   Both withing the same subnet.
[16:37] <InHisName> Just exactly what does the src IP in above command really do ?
[16:37] <InHisName> s/withing/within/
[16:43] <pvl1> InHisName: ask on ##networking
[16:57] <Azeban> Hello, hello, hello