*INFO: The default Ethernet device is disabled on boot but it can easily be enabled by just issuing the above command. (You still need to configure it depending on your system’s structure). In order to activate the Ethernet card you need to call the above command from the Terminal.
On a CentOS server we own, we had to disable eth0 from starting at boot time To do so we needed to modify the file /etc/sysconfig/network-scripts/ifcfg-eth0 and set the value ONBOOT="yes" to ONBOOT="no". Using you favorite text editor, make this change and restart your machine to verify that the change…
Recently, we tried to take a network interface down on a VM, when we executed the command ifdown eth0 we got the following error: ERROR : [/etc/sysconfig/network-scripts/ifdown-eth] Device has MAC address 00:00:00:00:00:00 00:45:4D:04:02:36 00:45:4D:04:02:40, instead of configured address 00:45:4D:16:0B:29. Ignoring. We used ifconfig eth0 to check the information on the…
Assuming you want to make the following changes to the network device eth0 Change the IP to the static value 192.168.1.2 Set the Subnet Mask to 255.255.255.0 Set the Default Gateway for the device to be 192.168.1.1 and you want to avoid using ifconfig and route that are obsolete you…