Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.mobile.android > #62097 > unrolled thread

Re: How does setting a static IP on a mobile device prevent linux router from assigning that IP address?

Started byJohann Beretta <beretta@nun-ya-bizness.com>
First post2019-06-09 00:03 -0700
Last post2019-06-09 20:01 +0200
Articles 4 — 4 participants

Back to article view | Back to comp.mobile.android

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: How does setting a static IP on a mobile device prevent linux router from assigning that IP address? Johann Beretta <beretta@nun-ya-bizness.com> - 2019-06-09 00:03 -0700
    Re: How does setting a static IP on a mobile device prevent linux router from assigning that IP address? Melzzzzz <Melzzzzz@zzzzz.com> - 2019-06-09 08:38 +0000
      Re: How does setting a static IP on a mobile device prevent linux router from assigning that IP address? "Carlos E.R." <robin_listas@es.invalid> - 2019-06-09 12:11 +0200
      Re: How does setting a static IP on a mobile device prevent linux router from assigning that IP address? Piet <www.godfatherof.nl/@opt-in.invalid> - 2019-06-09 20:01 +0200

#62097 — Re: How does setting a static IP on a mobile device prevent linux router from assigning that IP address?

FromJohann Beretta <beretta@nun-ya-bizness.com>
Date2019-06-09 00:03 -0700
SubjectRe: How does setting a static IP on a mobile device prevent linux router from assigning that IP address?
Message-ID<qdiavq$665$1@dont-email.me>
On 4/11/17 3:22 PM, Mike Easter wrote:
<snip>
> 
> For the same reason that when a cable modem releases its leased IP, 
> waits a short while, and then renews its lease with the DHCP, it gets 
> the exact same dyanmic IP back again.  Normally.
> 
<snip>
Not entirely accurate. Generally any device on a network, if it follows 
the RFCs, will request a renewal of a lease at the 1/2 way point of the 
lease.

i.e. if the lease is valid for 10 hours, then the device will attempt to 
renew the lease after 5 hours.

If the renewal is denied, the current lease is still valid for the 
remaining 5 hours at which point the device will generally request the 
new address at some point before the current lease has actually expired.

If a device (cable modem included) released an IP address before getting 
a new one, there would be a break in traffic.

[toc] | [next] | [standalone]


#62099

FromMelzzzzz <Melzzzzz@zzzzz.com>
Date2019-06-09 08:38 +0000
Message-ID<4A3LE.648162$QT2.355959@fx16.am4>
In reply to#62097
On 2019-06-09, Johann Beretta <beretta@nun-ya-bizness.com> wrote:
> On 4/11/17 3:22 PM, Mike Easter wrote:
><snip>
>> 
>> For the same reason that when a cable modem releases its leased IP, 
>> waits a short while, and then renews its lease with the DHCP, it gets 
>> the exact same dyanmic IP back again.  Normally.
>> 
><snip>
> Not entirely accurate. Generally any device on a network, if it follows 
> the RFCs, will request a renewal of a lease at the 1/2 way point of the 
> lease.
>
> i.e. if the lease is valid for 10 hours, then the device will attempt to 
> renew the lease after 5 hours.
>
> If the renewal is denied, the current lease is still valid for the 
> remaining 5 hours at which point the device will generally request the 
> new address at some point before the current lease has actually expired.
>
> If a device (cable modem included) released an IP address before getting 
> a new one, there would be a break in traffic.
>
I noticed that on cable they associate IP address with MAC and then if
you change MAC you get different address. Return MAC, and you get
previous address :P

-- 
press any key to continue or any other to quit...
U ničemu ja ne uživam kao u svom statusu INVALIDA -- Zli Zec
Na divljem zapadu i nije bilo tako puno nasilja, upravo zato jer su svi 
bili naoruzani. -- Mladen Gogala

[toc] | [prev] | [next] | [standalone]


#62100

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-06-09 12:11 +0200
Message-ID<7j2vsf-76s.ln1@Telcontar.valinor>
In reply to#62099
On 09/06/2019 10.38, Melzzzzz wrote:
> On 2019-06-09, Johann Beretta <beretta@nun-ya-bizness.com> wrote:
>> On 4/11/17 3:22 PM, Mike Easter wrote:
>> <snip>
>>>
>>> For the same reason that when a cable modem releases its leased IP, 
>>> waits a short while, and then renews its lease with the DHCP, it gets 
>>> the exact same dyanmic IP back again.  Normally.
>>>
>> <snip>
>> Not entirely accurate. Generally any device on a network, if it follows 
>> the RFCs, will request a renewal of a lease at the 1/2 way point of the 
>> lease.
>>
>> i.e. if the lease is valid for 10 hours, then the device will attempt to 
>> renew the lease after 5 hours.
>>
>> If the renewal is denied, the current lease is still valid for the 
>> remaining 5 hours at which point the device will generally request the 
>> new address at some point before the current lease has actually expired.
>>
>> If a device (cable modem included) released an IP address before getting 
>> a new one, there would be a break in traffic.
>>
> I noticed that on cable they associate IP address with MAC and then if
> you change MAC you get different address. Return MAC, and you get
> previous address :P
> 

That is not a property of cable: it is just an option that management
has. The dhcp server daemon can do that.

-- 
Cheers, Carlos.

[toc] | [prev] | [next] | [standalone]


#62118

FromPiet <www.godfatherof.nl/@opt-in.invalid>
Date2019-06-09 20:01 +0200
Message-ID<qdjhhf$khk$1@gioia.aioe.org>
In reply to#62099
Melzzzzz wrote:
> I noticed that on cable they associate IP address with MAC

Not neccessarily and not on cable only.

> Na divljem zapadu i nije bilo tako puno nasilja, upravo zato
> jer su svi bili naoruzani.

Bullshit.

-p

[toc] | [prev] | [standalone]


Back to top | Article view | comp.mobile.android


csiph-web