Follow the below steps to remove default static IP.

Take access through putty


Steps to follow:

  • To Edit /etc/dhcpcd.conf file as follows: 
  1.  admin@DATConNXgateway:~ $ sudo nano /etc/dhcpcd.conf
          a. Search for # Example static IP configuration: in this file.

 

  • Commit below points using "#" character to disable default        static IP (192.168.1.240). 'Add "#" before below points'.
  1. profile
  2. profile static_eth0
  3. static ip_address=192.168.1.240/24
  4. interface eth0
  5. arping 172.17.242.1
  6. fallback static_eth0

   

  • Remove '#' character from below point
  1. interface eth0


  • Save the changes (ctrl+s) and reboot DATCon (sudo reboot).

   


   

Refer to attached screenshot, you can see the changes I have made.