OS/Linux
CENTOS 맥주소 및 NIC UUID gen
Dev. Tool
2018. 4. 11. 17:37
네트워크 설정-
[root@localhost ~]# rm /etc/sysconfig/network-scripts/ifcfg-eth0
[root@localhost ~]# rm /etc/udev/rules.d/70-persistent-net.rules
[root@localhost ~]# service network restart
[root@localhost ~]# uuidgen
[root@localhost ~]# ifconfig
[root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0
-> insert(press) ->
DEVICE=eth0 HWADDR=맥주소 TYPE=Ethernet UUID=nic uuid NETWORK=192.222.222.222 NETMASK=255.255.255.0 IPADDR=192.168.126.1 ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=no |