<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How to get the ip address of the nrf9160dk board.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/108757/how-to-get-the-ip-address-of-the-nrf9160dk-board</link><description>Hi, I need to know my standard ip address if i give AT command AT+CGPADDR? each and every time it is changing the ip address value ,for example 1st time i get 10.165.122.141,2nd time &amp;quot;10.165.5.136&amp;quot;,3rd time &amp;quot;10.165.27.43&amp;quot; what is the reason? how to get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Feb 2024 11:34:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/108757/how-to-get-the-ip-address-of-the-nrf9160dk-board" /><item><title>RE: How to get the ip address of the nrf9160dk board.</title><link>https://devzone.nordicsemi.com/thread/471502?ContentTypeID=1</link><pubDate>Thu, 29 Feb 2024 11:34:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:299e6508-c0dd-4fde-8f90-545673a81605</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I assume your nRF9160 should act as a client, ie. connect to a server in this case. The public IP should not have any impact unless you&amp;#39;re setting up an accepted IP range.&lt;/p&gt;
&lt;p&gt;If you are setting up a cloud-service / server to accept a given IP range, you must ask your network provider for their IP-ranges.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the ip address of the nrf9160dk board.</title><link>https://devzone.nordicsemi.com/thread/471302?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 13:01:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8854c4b-14e2-491c-b7b7-e443851886fd</guid><dc:creator>purushothaman</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the clarification.&lt;/p&gt;
&lt;p&gt;The reason I need to know the IP address is for establishing communication between my nRF9160 board (user equipment) and other connected devices, such as IoT devices. While I understand that the IP address provided by the network is typically a NAT&amp;#39;ed address and may not be my public IP address, it&amp;#39;s essential for configuring communication protocols like MQTT or sockets. Having a consistent IP address would simplify the configuration process and ensure stable communication between devices.&lt;/p&gt;
&lt;p&gt;If there are alternative methods or best practices for achieving this goal without relying on the dynamically assigned IP address, I would greatly appreciate any guidance or suggestions you can provide.&lt;/p&gt;
&lt;p&gt;Thank you for your assistance.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Purushothaman&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get the ip address of the nrf9160dk board.</title><link>https://devzone.nordicsemi.com/thread/471262?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2024 11:51:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a710ccfb-2b81-4147-8ce6-9218b0a7a5e9</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is the IP that the network assigns to the user equipment (UE), which is usually a NAT&amp;#39;ed address. This means that this is highly likely not your public IP address.&lt;/p&gt;
&lt;p&gt;Can you elaborate on why you need to know the IP address?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>