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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
344 Views
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 Kudos
1 Solution
320 Views
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.

View solution in original post

0 Kudos
4 Replies
333 Views
jimmychan
NXP TechSupport
NXP TechSupport

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

0 Kudos
331 Views
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 Kudos
321 Views
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 Kudos
316 Views
ssuresh
Contributor I

Thanks NXP for the answer !

 

BR.

0 Kudos