How Linux clones modify ip~ simple teaching

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.