The main network configuration file is /etc/network/interfaces afeter you edit the network configuration file you should write sudo /etc/init.d/networking restart Wait some minutes to the network service to restart and it should be working as per your configuration.
Answers & Comments
The main network configuration file is /etc/network/interfaces
afeter you edit the network configuration file you should write
sudo /etc/init.d/networking restart
Wait some minutes to the network service to restart and it should be working as per your configuration.