I’m working on a beaglebone black with a debian system and i want change my ip by modifying “/etc/network/interfaces”, this is working but when I switch from DHCP method to static method my address, (atribuate by DHCP), is not “killed” so I end up with two IP addresses.
Advertisement
Answer
I found a way, i just use ip addr flush eth0
after modified “/etc/network/interfaces” and before ifdown eth0
ifup eth0
.