Part Number: AM5718
Tool/software: Linux
I have a AM5718 custom board.
PDK Ver: ti-processor-sdk-linux-rt-am57xx-evm-05.02.00.10
Q. Why is the IP address gone when the link down of eth0?
I want to keep the IP address even if the link is down.
~# ifconfig eth0 192.168.123.50 up
~# ifconfig
eth0 Link encap:Ethernet HWaddr 3C:A3:08:FE:65:DC
inet addr:192.168.123.50 Bcast:192.168.123.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:12509 errors:0 dropped:0 overruns:0 frame:0
TX packets:322 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:937677 (915.7 KiB) TX bytes:32309 (31.5 KiB)
Interrupt:88
~#
~# cpsw 48484000.ethernet eth0: Link is Down
~# ifconfig
eth0 Link encap:Ethernet HWaddr 3C:A3:08:FE:65:DC
inet6 addr: fe80::3ea3:8ff:fefe:65dc%775872/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1861 errors:0 dropped:0 overruns:0 frame:0
TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:129879 (126.8 KiB) TX bytes:11319 (11.0 KiB)
Interrupt:88