How to configure public Nic sequence for RAC in Virtual Machine

Source: Internet
Author: User

In the virtual machine, when the RAC configures the public Nic sequence method, when the dual Nic is configured, one is public and the other is private, there is always an error, that is, through ipconfig/all, command to view the order of the network card, always the first private type of IP network segment. Solution: the root cause of this problem is that when the NIC is added, I added several NICs, which have their own order: Nic 1, Nic 2, Nic 3, nic 4. because I didn't know how many NICs are enough, I added four NICs directly. When adding the corresponding IP address, I did not notice that the NIC is the default 1 Nic.
The actual Nic name is in the default order. As long as the corresponding IP address is consistent with the default order of the system, the corresponding network segment can be set to public. After talking about it for a long time, let's look at my actual example. I hope it will inspire you. This problem is actually encountered during RAC. The first step is to view the current route information. This is normal. C: \ Documents and Settings \ Administrator> route print IPv4 Route Table www.2cto.com ====================== ========================================================== ======== Interface List 0x1 ........................... ms tcp Loopback interface 0x10003... 00 0c 29 a6 12 b4 ...... intel (R) PRO/1000 MT Network Connection 0x10004... 00 0c 29 a6 12 be ...... intel (R) PRO/1000 MT Network Connection #3 ================== ========================================================== ========================================================== ========================================================== =================== Active Routes: network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.20.1 10.1.0.0 255.255.255.0 10.1.0.2 10.1.0.2 1 10.1.0.2 255.255.255.255.255 127.0.0.1 127.0.0.1 1 255.255.255.255.255 10.1.0.2 10.1.0.2 1 127.0. 255.0.0.0 255.255.1 192.168.1.0 255.255.255.0 192.168.1.20.192.168.1.20.1 192.168.1.20.255.255.255.255.1 255.255.255.192.168.1.255.1 255.255.255.10.1.0.2 10.1.0.2 1 255.255.192.168.1.255.1 255.255.10.1.0.2 10.1.0.2 1 255.255.255.192.168.1.20.192.168.1.2 32 1 Default Gateway: 192.168.1.1 www.2cto.com ======================================== ================================================================= 0x10003... 00 0c 29 a6 12 b4 ...... intel (R) PRO/1000 MT Network Connection 0x10004... 00 0c 29 a6 12 be ...... intel (R) PRO/1000 MT Network Connection [color = red] #3 (here, the result of route print shows a more accurate sequence of Network card numbers. # Indicates only the third network card, not the third network card currently.) #3 is the default third network card of the system, and the first network card is not numbered, as I said before, I added four NICs to the virtual machine at the beginning, and then I felt that I had to remove the two NICs. In this way, there is a sequence between the two NICs, that is, the first Nic of the system without a serial number, if you want to set the IP network segment as public to public Nic, it is very necessary to set this network segment on this Nic. The other private CIDR block must appear in the second order. Then the corresponding Nic is the NIC with the suffix #3. Check the actual Nic Configuration: C: \ Documents ents and Settings \ Administrator> ipconfig/all Windows IP Configuration www.2cto.com Host Name ............: rac2 Primary Dns Suffix .......: Node Type ............: Unknown IP Routing Enabled ........: No WINS Proxy Enabled ........: No Ethernet adapter pubcard: Connection-specific DNS Suffix.: Description ...........: Int El (R) PRO/1000 MT Network Connection Physical Address .........: 00-0C-29-A6-12-B4 DHCP Enabled ...........: No IP Address ............: 192.168.1.20.subnet Mask ...........: 255.255.255.0 Default Gateway .........: 192.168.1.1 DNS Servers ...........: 192.168.1.1 192.168.1.3 Ethernet adapter pricard: www.2cto.com Connection-specific DNS Suffix.: Description ...........: Intel (R) PRO/1000 MT Network Connection #3 Physical Address .........: 00-0C-29-A6-12-BE DHCP Enabled ...........: No IP Address ............: 10.1.0.2 Subnet Mask ...........: 255.255.255.0 Default Gateway .........: The effect is achieved. Author: db5201

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.