I installed CentOS into my laptop's harddisk while detaching it from laptop and connecting it to my server via USB cable. The CentOS is installed and when i plug the harddisk back to my laptop, it simple started working.
The problem is that
ifcfg-em1,ifcfg-em2, ifcfg-em3, ifcfg-em4
which are the 4 gigabit interfaces on my server, now as i put this harddisk into my laptop and plugged network cable, tough it started working but I am unable to find ifcfg-eth0 in network-scripts directory.
The ifconfig shows
which successfully obtains IP from one of my dhcp servers in my LAN.
I dont want dynamic IP and am unable to find ifcfg-eth0 so I configure it with my required IP. I tried
but couldnt locate the file. I guess its in running configuration.
What can I do to have ifcfg-eth0 so i configure it with my required IP.