+ RHEL7 ¿¡¼´Â ±âÁ¸°ú´Â ´Þ¸® ¾Æ·¡¿Í °°Àº ¹æ¹ýÀ¸·Î NIC À̸§À» º¯°æÇÒ ¼ö ÀÖ´Ù.
- ÇöÀç¼³Á¤µÈ NIC È®ÀÎÇϱâ
[root@OS-15 ~]##ifconfig
eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.10.20.15 netmask 255.0.0.0 broadcast 10.255.255.255
inet6 fe80::20c:29ff:feb1:70 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:b1:00:70 txqueuelen 1000 (Ethernet)
RX packets 176 bytes 15740 (15.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 135 bytes 18879 (18.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- vim /etc/sysconfig/grub ÆÄÀÏ ¼öÁ¤Çϱâ
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=vg_sys/lv_swap vconsole.font=latarcyrheb-sun16 rd.lvm.lv=vg_sys/lv_root crashkernel=auto vconsole.keymap=us rhgb quiet net.ifnames=0 biosdevname=0"
GRUB_DISABLE_RECOVERY="true"
- grub2-mkconfig -o /boot/grub2/grub.cfg ¸í·ÉÀ¸·Î grub config ÆÄÀÏ »ý¼º
[root@OS-15 ~]# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-123.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-123.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-5fc06167651441e2a58d30816aee8333
Found initrd image: /boot/initramfs-0-rescue-5fc06167651441e2a58d30816aee8333.img
done
- ifcfg-eno16777736 ÆÄÀϳ» NAME ¹× ifcfg-eno16777736 ÆÄÀÏ¸í º¯°æÇϱâ
- ¼¹ö Àç½ÃÀÛ
[root@OS-15 ~]#reboot
- º¯°æµÈ NIC À̸§ È®ÀÎÇϱâ
[root@OS-15 ~]#ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.10.20.15 netmask 255.0.0.0 broadcast 10.255.255.255
inet6 fe80::20c:29ff:feb1:70 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:b1:00:70 txqueuelen 1000 (Ethernet)
RX packets 57 bytes 5847 (5.7 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 77 bytes 10994 (10.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0