imx8mplus : Random IP getting assigned to ethernet interface when the link is UP

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx8mplus : Random IP getting assigned to ethernet interface when the link is UP

ソリューションへジャンプ
640件の閲覧回数
ssuresh
Contributor I

Hi NXP Team,

 

Please find the test procedure:

1. Connect the board eth0 port to a Linux PC via ethernet cable

2. After one minute, check the ethernet interface using ifconfig

A random IP is seen for eth0 interface as shown below:

ssuresh_0-1710312829392.png

 

Is this an expected behaviour?

 

Thank you!

0 件の賞賛
返信
1 解決策
616件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

It is normal. When no dhcp, no IP assign to the board. Then it will set this 169.xx.xx.xx. You could set the IP to board manually.

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
629件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

You could connect the board to a router. So, it could get the IP from the router.

0 件の賞賛
返信
627件の閲覧回数
ssuresh
Contributor I

Yes, that is true !! When board is connected to a router, it will get IP from router.

But, when we connect our board to another board or laptop over ethernet, we see an IP is getting set in the range 169.xx.xx.xx.

We would like to know who is assigning this IP; is it NXP itself or the other end i.e lap/board? Does this happen since ethernet is expecting a dynamic IP when the link is UP?

0 件の賞賛
返信
617件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

It is normal. When no dhcp, no IP assign to the board. Then it will set this 169.xx.xx.xx. You could set the IP to board manually.

0 件の賞賛
返信
612件の閲覧回数
ssuresh
Contributor I

Thanks NXP for the answer !

 

BR.

0 件の賞賛
返信