/srv/irclogs.ubuntu.com/2014/02/24/#ubuntu-us-pa.txt

rmg51Morning10:32
JonathanDhi11:07
=== square-r10t is now known as square-r00t
teddy-dbearMorning peoples, dogs, turkeys, hamsters and everything else13:09
=== InHisName is now known as HowdyDoody
=== InHisName1 is now known as InHisName
InHisNameMorning all13:53
InHisNameI read through the man pages for ifconfig but cannot find where to show when the IP from ISP expires ?14:31
ChinnoDogifconfig doesn't handle DHCP leases. dhclient does14:52
ChinnoDogInHisName:  cat /var/lib/dhcp/dhclient.eth0.leases14:58
InHisNamegreat for internal IPs, but seeking the IP from ISP for its expire time15:58
ChinnoDogIf you have a router then the router is holding the lease and has the expire time.16:05
pvl1i think fios holds until terminal resets16:05
InHisNameI 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
pvl1perhaps router, but ive power cycled router and it leasewd same ip16:05
InHisNamerouter is linux box   not in ifconfig of eth0 facing the isp.   Where to look ?16:06
pvl1call isp16:06
ChinnoDogIf you don't have a static ip the DHCP could just be really slow. I've seen it before.16:06
pvl1and raise hell16:07
InHisNameonce 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:12
jedijftry curl 'icanhazip.com' for your outward facing ip16:15
InHisNameI 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
InHisNameMight stuff be in rc.conf ?  Or somewhere else ?16:16
InHisNameHere is line from my script:  ip route add 71.225.216.0/21 dev eth0  proto kernel  scope link  src 71.225.216.23516:35
InHisNameNotice the src is 71.225.216.235     The icanhazip.com shows 71.225.221.235   Both withing the same subnet.16:36
InHisNameJust exactly what does the src IP in above command really do ?16:37
InHisNames/withing/within/16:37
pvl1InHisName: ask on ##networking16:43
AzebanHello, hello, hello16:57
=== rmg511 is now known as rmg51

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!