TDA4VM-Q1: lost ipv4 address when plug out ethernet cable

Part Number: TDA4VM-Q1

Tool/software:

He, ti's experts,

    We are using TDA4VM-Q1, the sdk version is "ti-processor-sdk-linux-j7-evm-08_06_01_02".

    We use 4 port ethernet in 'CPSW9g Native Ethernet' mode, and the ip4 address is set to static, the function is normal, but recently, we discovered a problem: we plug in a device on the Ethernet port and it's working fine, but when i plug out the ethernet cable, the ipv4 address will disappear,and the ipv4 address will not appear when i reconnect the cable.

    Can you help us analyze why, thanks.

the device is plug in the eth1 port, power on the board, the eth1 has ip4 address.

plug out the device, the ip4 address deappear.

We used the following method to set the IP address:

1、use ifconfig eth1 192.168.21.100 in start scripts when tda4 system boot

2、modify the eth1 ip4 address in /eth/network/interfaces

auto eth1

iface eth1 inet static

address 192.168.21.100

netmask 255.255.255.0