I have create a connection from network manager GUI with wired connection and in IPv4 setting tab, with all details like IP address,netmask,gateway and DNS server.
Also change the /etc/network/interface file with below details:
auto eth0 iface eth0 inet static address 172.xx.xxx.xxx netmask 255.255.xxx.x gateway 172.xx.xxx.x dns-nameservers 22.214.171.124 172.xx.x.x
After restarting the machine I got the network connected and from ifconfig output got the IP address as I provided in network manager GUI or in interfaces file.
But the main issue is,this internet connection got disconnected after 10/15 mins. And this time ip address got change to dynamic ip like 169.XXX.XXX.XXX.
Please help me to resolve this issue.