Configure FCoE NICs in RHEL

Setting up and deploying a FCoE (Fibre-channel over Ethernet)  interface requires two packages in RHEL 6.2 or later.

  • Install required packages.
# yum install -y fcoe-utils lldpad -y
  • Put the services on startup.
# chkconfig lldpad on
# chkconfig fcoe on
  • Create the configuration file for each FCoE interface.
# cp /etc/fcoe/cfg-ethx /etc/fcoe/cfg-eth2
# cp /etc/fcoe/cfg-ethx /etc/fcoe/cfg-eth3
  • DCB_REQUIRED should be set to no for networking interfaces that implement a hardware DCBX client.
# sed -i 's/DCB_REQUIRED=\"yes\"/DCB_REQUIRED=\"no\"/g' /etc/fcoe/cfg-eth2
# sed -i 's/DCB_REQUIRED=\"yes\"/DCB_REQUIRED=\"no\"/g' /etc/fcoe/cfg-eth2
  • Start the required services.
# service lldpad start
# service fcoe start
  • Bring the FCoE interfaces up.
# ifup eth2
# ifup eth3
  • List your new FCoE interfaces.
# fcoeadm -i

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.