Server cloning machine network port troubleshooting

Source: Internet
Author: User

Problem phenomena and causes:

The cloned Linux server, the first NIC is eth1 instead of eth0, and the network will also error. How is this problem resolved?

Because the MAC address of the original server is different from the cloned MAC address. The native MAC address has been assigned to the NIC Eth0, and the clone MAC address is assigned the NIC Eth1.

Workaround and steps:

L Virtual host as the first Linux server, set the static ip:192.168.101.11 default gateway 192.168.101.1

Turn off the L virtual host, clone L to do a second Linux server, named Lser2. For example:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/6D/wKioL1Svt1SBJBlmAAEVg9AghdE080.jpg "/>

Network adapter set to: Host mode only

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/6D/wKioL1Svt1Tjf5GoAACVUzSakac784.jpg "/>

View Lser2 Network Information

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/71/wKiom1SvtpGDNGb3AAFJ6N-1qGM099.jpg "/>

Change the Lser2 virtual network, such as:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/6D/wKioL1Svt1WQF7bHAAAKfs09qLg284.jpg "/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/71/wKiom1SvtpHAiLmeAAAIY2tLsHI785.jpg "/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/71/wKiom1SvtpKztN8AAAHtitaSirM287.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/6D/wKioL1Svt1aBRH3XAAAIjWGzmSc033.jpg "/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/6D/wKioL1Svt1axwV_bAAGU0R9HeV8638.jpg "/>

To view network card information:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/71/wKiom1SvtpKxuBYrAAAytL5wIok254.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/6D/wKioL1Svt1bzmH3CAAEArGiJJag081.jpg "/>

To change the NIC configuration:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/71/wKiom1SvtpPRehvlAAAHyETop0E643.jpg "/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/6D/wKioL1Svt1fB6thtAADJ4IjJd5U208.jpg "/>

View NIC information again: successfully modified network eth1, but did not obtain an IP address

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/71/wKiom1SvtpPjfrnYAAAH5yjUEQU396.jpg "/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/71/wKiom1SvtpTz5aipAAFAabTZuC8426.jpg "/>

This is because IP is not set, enter edit state to change IP configuration

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/6D/wKioL1Svt1fxn30ZAAAIsVq8RJk544.jpg "/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/71/wKiom1SvtpSAmqCAAABNTfPOT8o667.jpg "/>

Original IP configuration:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/6D/wKioL1Svt1iBYFTUAAC-Fho3DNk152.jpg "/>

Change IP Configuration and Save: (Note that 192.168.101.11 has been assigned, no redistribution, additional IPs should be configured)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/71/wKiom1SvtpSwJY65AAAKnfkNAa0865.jpg "/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/6D/wKioL1Svt1iTaqThAAAHyETop0E573.jpg "/>

Is the IP configuration of the Lser2 server is 192.168.101.11, a network error is prompted: The IP address has been assigned.

Because the IP of the L server is 192.168.101.11

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/58/71/wKiom1Svtq_ipCAtAAAHyETop0E688.jpg "/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/6D/wKioL1Svt3OjTVHkAACcbsH_zRQ780.jpg "/>

After the IP configuration of the Lser2 server is changed correctly, the network starts properly and the IP address is successfully obtained:

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/58/71/wKiom1SvtrCi4TaAAACeBNLJN1w617.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/6D/wKioL1Svt3PRKUCMAAAJhTW1xIA923.jpg "/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/58/71/wKiom1SvtrDz-sJkAAGZu4BdIF4095.jpg "/>

Server cloning machine network port troubleshooting

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.