A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Rate Thread Display Modes
  #301  
Old June 9th 19, 11:11 AM posted to comp.mobile.android,alt.internet.wireless,alt.os.linux,alt.comp.os.windows-10
Carlos E.R.[_3_]
external usenet poster
 
Posts: 1,356
Default How does setting a static IP on a mobile device prevent linuxrouter from assigning that IP address?

On 09/06/2019 10.38, Melzzzzz wrote:
On 2019-06-09, Johann Beretta 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.
Ads
  #302  
Old June 9th 19, 11:14 AM posted to comp.mobile.android,alt.internet.wireless,alt.os.linux,alt.comp.os.windows-10
Carlos E.R.[_3_]
external usenet poster
 
Posts: 1,356
Default How does setting a static IP on a mobile device prevent linuxrouter from assigning that IP address?

On 09/06/2019 09.26, Johann Beretta wrote:
On 4/11/17 3:10 PM, Tomos Davies wrote:
How does setting a static IP on a linux Android mobile device prevent the
linux router from assigning that IP address to another device?

snip

It doesn't and if you set a static IP on your device, without telling
the router, you risk an IP address conflict and can end up with
colliding packets, or packets addressed for one device that are
sporadically routed to two different devices. IP address conflicts are
miserable to work with.


While your post is interesting, why write now, after the thread died two
years ago? :-)


--
Cheers, Carlos.
  #303  
Old June 9th 19, 11:21 AM posted to comp.mobile.android,alt.internet.wireless,alt.os.linux,alt.comp.os.windows-10
Pascal Hambourg[_2_]
external usenet poster
 
Posts: 8
Default How does setting a static IP on a mobile device prevent linuxrouter from assigning that IP address?

Le 09/06/2019 Ã* 09:26, Johann Beretta a écritÂ*:
On 4/11/17 3:10 PM, Tomos Davies wrote:
How does setting a static IP on a linux Android mobile device prevent the
linux router from assigning that IP address to another device?


It doesn't


From dhcpd.conf manpage :
================================================== ======================
IP ADDRESS CONFLICT PREVENTION
The DHCP server checks IP addresses to see if they are in use before
allocating them to clients. It does this by sending an ICMP Echo request
message to the IP address being allocated. If no ICMP Echo reply is
received within a second, the address is assumed to be free.
================================================== ======================

Of course this works only if the device with the static address is
online and replies to ICMP echo (aka ping) requests.

and if you set a static IP on your device, without telling
the router, you risk an IP address conflict and can end up with
colliding packets


Can you explain the relationship between packet collision (physical
layer) and IP address conflict (network layer) ?
  #304  
Old June 9th 19, 03:13 PM posted to comp.mobile.android,alt.internet.wireless,alt.os.linux,alt.comp.os.windows-10
nospam
external usenet poster
 
Posts: 4,718
Default How does setting a static IP on a mobile device prevent linux router from assigning that IP address?

In article , Pascal Hambourg
wrote:

How does setting a static IP on a linux Android mobile device prevent the
linux router from assigning that IP address to another device?


It doesn't


From dhcpd.conf manpage :
================================================== ======================
IP ADDRESS CONFLICT PREVENTION
The DHCP server checks IP addresses to see if they are in use before
allocating them to clients. It does this by sending an ICMP Echo request
message to the IP address being allocated. If no ICMP Echo reply is
received within a second, the address is assumed to be free.
================================================== ======================

Of course this works only if the device with the static address is
online and replies to ICMP echo (aka ping) requests.


it only works if the dhcp server does that. not all do. most do not.
  #305  
Old June 11th 19, 08:07 AM posted to comp.mobile.android,alt.internet.wireless,alt.os.linux,alt.comp.os.windows-10
Johann Beretta
external usenet poster
 
Posts: 32
Default How does setting a static IP on a mobile device prevent linuxrouter from assigning that IP address?

On 6/9/19 3:14 AM, Carlos E.R. wrote:
snip

While your post is interesting, why write now, after the thread died two
years ago? :-)



My newsserver had a hiccup and I ended up downloading some ancient
articles (back to 2014).. I didn't notice until I had already posted.
  #306  
Old June 11th 19, 09:04 AM posted to comp.mobile.android,alt.internet.wireless,alt.os.linux,alt.comp.os.windows-10
Carlos E.R.[_3_]
external usenet poster
 
Posts: 1,356
Default How does setting a static IP on a mobile device prevent linuxrouter from assigning that IP address?

On 11/06/2019 09.07, Johann Beretta wrote:
On 6/9/19 3:14 AM, Carlos E.R. wrote:
snip

While your post is interesting, why write now, after the thread died two
years ago? :-)



My newsserver had a hiccup and I ended up downloading some ancient
articles (back to 2014).. I didn't notice until I had already posted.


Happens to us all now and then :-)

--
Cheers, Carlos.
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 09:29 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.