<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IP address losing even when eth0 up in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IP-address-losing-even-when-eth0-up/m-p/1957936#M228671</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products,&lt;/P&gt;
&lt;P&gt;How is the network set? What cables are connected to what.&lt;/P&gt;
&lt;P&gt;Try resetting the interface and then assign the IP.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$ ip link set eth0 down
$ ip link set eth0 up
$ ip addr add &amp;lt;address&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2024 18:31:24 GMT</pubDate>
    <dc:creator>JosephAtNXP</dc:creator>
    <dc:date>2024-09-19T18:31:24Z</dc:date>
    <item>
      <title>IP address losing even when eth0 up</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IP-address-losing-even-when-eth0-up/m-p/1956612#M228572</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;I am using SPEAR-MX8, I am losing IP even when the eth0 link is up.&lt;/P&gt;&lt;P&gt;imx8qm-var-som-lcd login:&lt;BR /&gt;imx8qm-var-som-lcd login: root&lt;BR /&gt;Last login: Sun Sep 20 10:44:03 UTC 2020&lt;BR /&gt;root@imx8qm-var-som-lcd:~#&lt;BR /&gt;root@imx8qm-var-som-lcd:~# ip a&lt;BR /&gt;1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000&lt;BR /&gt;link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;BR /&gt;inet 127.0.0.1/8 scope host lo&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;inet6 ::1/128 scope host&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;2: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP group default qlen 1000&lt;BR /&gt;link/ether f8:dc:7a:b4:f0:56 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;inet6 fe80::6550:e95b:67d5:4d08/64 scope link noprefixroute&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;root@imx8qm-var-som-lcd:~# ifconfig eth0 10.0.0.10&lt;BR /&gt;root@imx8qm-var-som-lcd:~# ip a&lt;BR /&gt;1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000&lt;BR /&gt;link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;BR /&gt;inet 127.0.0.1/8 scope host lo&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;inet6 ::1/128 scope host&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;2: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP group default qlen 1000&lt;BR /&gt;link/ether f8:dc:7a:b4:f0:56 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;inet 10.0.0.10/8 brd 10.255.255.255 scope global eth0&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;inet6 fe80::6550:e95b:67d5:4d08/64 scope link noprefixroute&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;root@imx8qm-var-som-lcd:~# ip a&lt;BR /&gt;1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000&lt;BR /&gt;link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;BR /&gt;inet 127.0.0.1/8 scope host lo&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;inet6 ::1/128 scope host&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;2: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP group default qlen 1000&lt;BR /&gt;link/ether f8:dc:7a:b4:f0:56 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;inet6 fe80::6550:e95b:67d5:4d08/64 scope link noprefixroute&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;root@imx8qm-var-som-lcd:~# dmesg | grep eth0&lt;BR /&gt;[ 2.163732] fec 5b040000.ethernet eth0: registered PHC device 0&lt;BR /&gt;[ 10.931511] fec 5b040000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx&lt;BR /&gt;[ 10.931553] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready&lt;BR /&gt;&lt;A href="mailto:root@imx8qm-var-som-lcd:~" target="_blank"&gt;root@imx8qm-var-som-lcd:~# &lt;/A&gt;&lt;/P&gt;&lt;P&gt;What is causing the issue.&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Muthyam D.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 11:19:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IP-address-losing-even-when-eth0-up/m-p/1956612#M228572</guid>
      <dc:creator>Muthyam</dc:creator>
      <dc:date>2024-09-18T11:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: IP address losing even when eth0 up</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IP-address-losing-even-when-eth0-up/m-p/1957936#M228671</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products,&lt;/P&gt;
&lt;P&gt;How is the network set? What cables are connected to what.&lt;/P&gt;
&lt;P&gt;Try resetting the interface and then assign the IP.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$ ip link set eth0 down
$ ip link set eth0 up
$ ip addr add &amp;lt;address&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 18:31:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IP-address-losing-even-when-eth0-up/m-p/1957936#M228671</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2024-09-19T18:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: IP address losing even when eth0 up</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IP-address-losing-even-when-eth0-up/m-p/1958404#M228693</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;We are using NetworkManager,&lt;BR /&gt;When assigning IP dynamically through a switch, no problem is occurring. But When trying assign static IP using "ifconfig eth0 10.0.0.10 up" the above mentioned problem occurred.&lt;/P&gt;&lt;P&gt;Same with your suggested commands also,&lt;/P&gt;&lt;P&gt;We have connected a four pin ethernet cable from laptop to SoM.&lt;/P&gt;&lt;P&gt;root@imx8qm-var-som:~#&lt;BR /&gt;root@imx8qm-var-som:~# ip link set eth0 down&lt;BR /&gt;root@imx8qm-var-som:~# ip link set eth0 up&lt;BR /&gt;root@imx8qm-var-som:~# ip addr add 10.0.0.10/24 dev eth0&lt;BR /&gt;root@imx8qm-var-som:~# ip a&lt;BR /&gt;1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000&lt;BR /&gt;link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;BR /&gt;inet 127.0.0.1/8 scope host lo&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;inet6 ::1/128 scope host&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;2: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP group default qlen 1000&lt;BR /&gt;link/ether f8:dc:7a:b4:f0:56 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;inet 10.0.0.10/24 scope global eth0&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;inet6 fe80::fab9:5ef7:a8e:bb73/64 scope link noprefixroute&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;root@imx8qm-var-som:~# ping 10.0.0.5&lt;BR /&gt;PING 10.0.0.5 (10.0.0.5) 56(84) bytes of data.&lt;BR /&gt;64 bytes from 10.0.0.5: icmp_seq=1 ttl=64 time=3.88 ms&lt;BR /&gt;.....&lt;BR /&gt;64 bytes from 10.0.0.5: icmp_seq=29 ttl=64 time=2.02 ms&lt;BR /&gt;ping: sendmsg: Network is unreachable&lt;BR /&gt;ping: sendmsg: Network is unreachable&lt;BR /&gt;^C&lt;BR /&gt;--- 10.0.0.5 ping statistics ---&lt;BR /&gt;43 packets transmitted, 29 received, 32.5581% packet loss, time 42356ms&lt;BR /&gt;rtt min/avg/max/mdev = 1.705/2.023/3.881/0.362 ms&lt;BR /&gt;root@imx8qm-var-som:~# ip a&lt;BR /&gt;1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000&lt;BR /&gt;link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;BR /&gt;inet 127.0.0.1/8 scope host lo&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;inet6 ::1/128 scope host&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;2: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP group default qlen 1000&lt;BR /&gt;link/ether f8:dc:7a:b4:f0:56 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;inet6 fe80::fab9:5ef7:a8e:bb73/64 scope link noprefixroute&lt;BR /&gt;valid_lft forever preferred_lft forever&lt;BR /&gt;root@imx8qm-var-som:~# dmesg | grep eth0&lt;BR /&gt;[ 2.206788] fec 5b040000.ethernet eth0: registered PHC device 0&lt;BR /&gt;[ 10.546412] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready&lt;BR /&gt;[ 10.548625] fec 5b040000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx&lt;BR /&gt;[ 49.682668] fec 5b040000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx&lt;BR /&gt;[ 49.682721] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready&lt;BR /&gt;&lt;A href="mailto:root@imx8qm-var-som:~" target="_blank"&gt;root@imx8qm-var-som:~# &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Muthyam D.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 06:09:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IP-address-losing-even-when-eth0-up/m-p/1958404#M228693</guid>
      <dc:creator>Muthyam</dc:creator>
      <dc:date>2024-09-20T06:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: IP address losing even when eth0 up</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IP-address-losing-even-when-eth0-up/m-p/1960056#M228784</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Do you router assign a 10.0.0 subnet address when an IP is dynamically given?&lt;/P&gt;
&lt;P&gt;Have you tried to statically assign an IP within the subnet? It could be that there is no route for a 10.0.0 host.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 17:08:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IP-address-losing-even-when-eth0-up/m-p/1960056#M228784</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2024-09-23T17:08:15Z</dc:date>
    </item>
  </channel>
</rss>

