User Tools

Site Tools


eduardo:linux:ip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
eduardo:linux:ip [2011/03/15 06:42] – created eduardoeduardo:linux:ip [2024/02/23 08:20] (current) – external edit 127.0.0.1
Line 48: Line 48:
 # ifup eth0 # ifup eth0
 </code> </code>
 +
 +====== Redhat 7.X ======
 +
 +===== ifconfig =====
 +
 +The minimal install does not include ifconfig. To install ifconfig run the following:
 +
 +<code>
 +yum install net-tools
 +</code>
 +
 +===== EnsXXX =====
 +
 +In Redhat 7.X, the interface naming convention has changed from ethX to EnsXXX. To restore the default behavior, do the following:
 +
 +  - Edit /etc/default/grub to add the lines to the kernel paramaters:
 +
 +<code>
 +GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
 +</code>
 +
 +  - grub2-mkconfig -o /boot/grub2/grub.cfg
 +  - Rename /etc/sysconfig/network-scripts/ifcfg-enXXX to ifcfg-eth0
 +  - Set Name=eth0 and Device=eth0 in /etc/sysconfig/network-scripts/ifcfg-eth0
 +  - reboot
eduardo/linux/ip.1300171343.txt.gz · Last modified: 2024/02/23 08:19 (external edit)