After changing the interface IP configuration, run /etc/init.d/networking restart
to restart the network service for the configuration to take effect.
3.3.2.1.2 Set up a dynamic IP address
If you want to set dynamic IP address for EC300, through the command
vim/etc/network/interfaces. D/eth1 or vim/etc/network/interfaces. D/for eth2
modify the corresponding network configuration file, Setting it to DHCP after inet
will automatically get the IP address.
Here is an example of setting a dynamic IP to the eth1 port.