IB card opens EIPOIB for virtualized bridging use

Source: Internet
Author: User

?

Step 1: Turn on EIPOIB

Edit Default "No" to "yes"

/etc/infiniband/openib.conf

e_ipoib_load=Yes

Step 2: Restart the HCA card driver.

/ETC/INIT.D/OPENIBD restart

The Ethernet card is generated after the reboot, and the NIC rate can be confirmed with Ethtool exxx.

Restart the OS if the service fails to restart.

?

?

Step 3: View the Eipoib Ethernet port and IB network Port correspondence

[Email protected] src]# cat/sys/class/net/eth_ipoib_interfaces

ens865 over IB port:ib0

Ens865d1 over IB PORT:IB1

ens801 over IB port:ib2

ENS801D1 over IB port:ib3

[Email protected] src]#

?

Step 4: View the EIPOIB Ethernet card MAC address

[Email protected] eth]# cat/sys/class/net/ens865/eth/vifs

slave=ib0.1 mac=00:02:c9:44:8a:81 vlan=n/a

slave=ib0.2 mac=00:02:c9:36:3f:71 vlan=n/a

[Email protected] eth]# cat/sys/class/net/ens865d1/eth/vifs

slave=ib1.1 mac=00:02:c9:44:8a:82 vlan=n/a

[Email protected] eth]# cat/sys/class/net/ens801/eth/vifs

slave=ib2.1 mac=00:02:c9:36:3f:71 vlan=n/a

slave=ib2.2 mac=00:02:c9:44:8a:81 vlan=n/a

[Email protected] eth]# cat/sys/class/net/ens801d1/eth/vifs

slave=ib3.1 mac=00:02:c9:36:3f:72 vlan=n/a

[Email protected] eth]#

Step 5: Use the EIPOIB Ethernet card for virtualization bridging

[email protected] network-scripts]# cat ifcfg-ens801

device=ens801

Onboot=yes

Bootproto=none

Bridge=br0

macaddr=00:02:c9:36:3f:71

?

[email protected] network-scripts]# cat ifcfg-ens865

device=ens865

Onboot=yes

Bootproto=none

Bridge=br0

macaddr=00:02:c9:44:8a:81

?

[email protected] network-scripts]# cat Ifcfg-br0

Device=br0

Type=bridge

Onboot=yes

Bootproto=none

ipaddr=192.168.100.20

netmask=255.255.255.0

[Email protected] network-scripts]#

?

?

[Email protected] eth]# Brctl Show

Bridge name???? Bridge ID???????? STP enabled???? Interfaces

Br0???????? 8000.0002C9363F71???? No???????? ens801

???????????????????????????? ens865

?

?

?

12:BR0: <BROADCAST,MULTICAST,UP,LOWER_UP> MTU 65520 Qdisc Noqueue State up

Link/ether 00:02:c9:36:3f:71 BRD FF:FF:FF:FF:FF:FF

inet 192.168.100.20/24 BRD 192.168.100.255 Scope Global BR0

Valid_lft Forever Preferred_lft Forever

Inet6 FE80::202:C9FF:FE36:3F71/64 Scope link

Valid_lft Forever Preferred_lft Forever

IB card opens EIPOIB for virtualized bridging use

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.