关于克隆之后ip冲突和机器名sid冲突.如何修改?
下面为大家解惑~
或许很简单,但是不积跬步无以至千里,不积小流无以成江海!
首先作为一个专业作者,必须显示出你的专业水平,要进行查看版本.
实验开始:
实验环境
操作系统安装
[[email protected] ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
[[email protected] ~]# uname -a
Linux localhost.localdomain 2.6.32-358.el6.x86_64 #1 SMP Tue Jan 29 11:47:41 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
[[email protected] ~]# cd /etc/sysconfig/network-scripts/
[[email protected] network-scripts]# ls
ifcfg-eth0 ifdown ifdown-eth ifdown-ipv6 ifdown-post ifdown-routes ifdown-tunnel ifup-aliases ifup-eth ifup-ipv6 ifup-plip ifup-post ifup-routes ifup-tunnel init.ipv6-global network-functions
ifcfg-lo ifdown-bnep ifdown-ippp ifdown-isdn ifdown-ppp ifdown-sit ifup ifup-bnep
[[email protected] network-scripts]# mv ifcfg-eth0 ifcfg-eth1
[[email protected] network-scripts]# vi ifcfg-eth1
DEVICE="eth1"
BOOTPROTO="static"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
IPADDR=192.168.188.111
NETMASK=255.255.255.0
GATEWAY=192.168.188.2
[[email protected] network-scripts]# service network restart
Shutting down interface eth1: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
下面就是成功了~~
谢谢观赏~下面还有更精彩~
关注一下后续吧~