What's the difference between en0
and eth0
?
In my CentOS 6 VM, there is list of network-scripts:
[root@localhost /]# ls /etc/sysconfig/network-scripts/
ifcfg-en0 ifdown-ipv6 ifup ifup-plip ifup-wireless
ifcfg-eth0 ifdown-isdn ifup-aliases ifup-plusb init.ipv6-global
ifcfg-lo ifdown-post ifup-bnep ifup-post net.hotplug
ifdown ifdown-ppp ifup-eth ifup-ppp network-functions
ifdown-bnep ifdown-routes ifup-ippp ifup-routes network-functions-ipv6
ifdown-eth ifdown-sit ifup-ipv6 ifup-sit
ifdown-ippp ifdown-tunnel ifup-isdn ifup-tunnel
you see there are ifcfg-en0
and ifcfg-eth0
, does it have any difference between them? the ifcfg-eth0
I have used(configured data in it), now I want to add a more IP address, which file I can configured?
EDIT-01
The enoX and the ethX is not related to my post, mine is enX
.
ifconfig -a
orip link show
to see which interface name you have and use it. – muru Sep 26 '18 at 05:26ethtool -i en0
andethtool -i eth0
might provide useful information too (the PCI device ID and the name of the driver responsible for the NIC). – telcoM Sep 26 '18 at 08:06