after cloning IP conflicts and machine names Sid Conflict . How to modify ?
Here's a few questions . ~
Maybe it's simple . , but no Kuibu, no more miles . , No small stream, no to Jianghai !
first as a professional author , must show your level of professionalism , to view the version .
experiment started . :
Experimental environment
Operating system Installation
[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 11:47:41 est & nbsp; 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 Ifu P-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]
here's the success. ~~
Thank you for watching ~ The following is more wonderful ~
Pay attention to the follow-up bar ~
This article is from the "Li Jingxiang" blog, make sure to keep this source http://9283898.blog.51cto.com/9273898/1548484
How Linux clones modify ip~ simple teaching