How to configure FCHBA as an Ethernet card in Solaris

Source: Internet
Author: User
In Solaris, how to configure FCHBA to an Ethernet card, IPFC, can easily set an FCHBA card to an Ethernet card, which is of great significance in reality. In some work sites, if you need to copy a large amount of data through the network, it is often found that the speed of the Gigabit Nic is not enough ,... in Solaris, how to configure the fc hba to an Ethernet card IPFC can easily set a fc hba to an Ethernet card, which is of great significance. In some work sites, if you need to copy a large amount of data through the network, you will often find that the speed of the Gigabit Nic is insufficient, and network aggregation cannot compensate for bandwidth insufficiency, at this time, you can make full use of the 8g fc hba card. How can I set an FC HBA card to an Ethernet card? This needs to be implemented through the FCIP driver of Solaris. Fcip driver is a FC in the protocol module. it encapsulates IP addresses (mainly IPv4 addresses) and ARP packets through fiber channel. This driver is a stream module that can be dynamically called, supports unreliable DLPI interfaces. Fcip drivers are compiled using the RFC 2625 standard. this standard is mainly used to block IP/ARP packets through fiber channel. The fcip driver is a "Type 2" Data Link Service Provider ). All M_PROTO and M_PCPROTO data packets in the network are translated into DLPI data packets. An explicit DL_ATTACH_REQ information must be sent to a stream opened using a specific fiber channel port (PPA particle FC port, the ppa id is translated into an unsigned long data type. this ID is the instance number of the corresponding fiber channel driver. The fcip driver uses the FARP Fiber Channel Extension Service to resolve WWN to fc port id. The driver also supports inARP to resolve WWN and Port_ID to IP addresses. The specific steps for configuring fc hba as an Ethernet card are as follows: Find the instance number of the fc hba card. The second step is relatively simple, directly configure the IP address after plumb is up. Find the instance number of the optical fiber HBA:. first, confirm the location of the memory card in the host's PCI slot. A1. multiply the PCIe slot number by the port number of the FC memory card. for example, the memory card has two ports in the 5 slot of the PCI slot, 5X2 = 10A2. add 1 to the number above, that is, 10 + 1 = 11A3. convert the number calculated in step A2 to the hexadecimal number. the hexadecimal number of 11 is "B" B. find the fp driver binding name in the file/etc/path_to_inst # grep pci @ B/etc/path_to_inst "/pci @ B, 2000/SUNW, qlc @ 2/fp @ "7" fp "where B in pci @ B is the c. manually plumb the fc hba card instance. In this example, the fc hba card instance number is 7. run the following command to plumb: # ifconfig fcip7 plumb or above, you can directly use fcip7 as a physical Nic. you can use ifconfig to directly configure the IP address for use. You can also write it to the/etc directory, such as/etc/hostname. fcip7, so that the IP address can be automatically configured on the instance during system boot. In addition, if FCIP is used, the touch/etc/norouter file is required to prevent the host from being configured as a soft route.

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.