筐体 : ProLiant DL360p Gen8
System ROM : P71 01/22/2018
CPU : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
NIC : Intel X520-SR2(82599ES)
OS : CentOS7.4(1708)
Kernel : kernel-3.10.0-693.el7.x86_64
Installed Environment Groups : Server with GUI
Add-Ons for Selected Environment : Virtualization Client, Virtualization Hypervisor, Virtualization Tools
筐体 : 下記参照
System ROM : 下記参照
CPU : 下記参照
NIC : Intel X520-SR2(82599ES)
OS : CentOS7.4(1708)
Kernel : kernel-3.10.0-693.el7.x86_64
Installed Environment Groups : Server with GUI
Add-Ons for Selected Environment : Virtualization Client, Virtualization Hypervisor, Virtualization Tools , Development Tools
vi /etc/default/grubGRUB_CMDLINE_LINUX=の行末に追加
intel_iommu=on iommu=pt pci=realloc
保存後、grubに反映
grub2-mkconfig -o /etc/grub2.cfg
起動時にVFが作成されるようrc.localの設定
vi /etc/rc.local
最下行に追加
echo 4 > /sys/class/net/ens1f0/device/sriov_numvfs
echo 4 > /sys/class/net/ens1f1/device/sriov_numvfs
sleep 1
ip link set ens1f0 vf 0 mac 00:11:22:33:44:50
ip link set ens1f0 vf 1 mac 00:11:22:33:44:51
ip link set ens1f0 vf 2 mac 00:11:22:33:44:52
ip link set ens1f0 vf 3 mac 00:11:22:33:44:53
ip link set ens1f1 vf 0 mac 00:11:22:33:44:60
ip link set ens1f1 vf 1 mac 00:11:22:33:44:61
ip link set ens1f1 vf 2 mac 00:11:22:33:44:62
ip link set ens1f1 vf 3 mac 00:11:22:33:44:63
sleep 1
ip link set ens1f0 vf 0 spoofchk off
ip link set ens1f0 vf 1 spoofchk off
ip link set ens1f0 vf 2 spoofchk off
ip link set ens1f0 vf 3 spoofchk off
ip link set ens1f1 vf 0 spoofchk off
ip link set ens1f1 vf 1 spoofchk off
ip link set ens1f1 vf 2 spoofchk off
ip link set ens1f1 vf 3 spoofchk off
exit 0
保存後、実行権限を付与
chmod +x /etc/rc.d/rc.local
VFがホストOSに読み込まれないよう設定
vi /lib/modprobe.d/dist-blacklist.conf
最下行に追加
# ixgbevf driver
blacklist ixgbevf
ソースをDLします。
cd /usr/src
wget http://fast.dpdk.org/rel/dpdk-17.11.1.tar.gz
tar zxvf dpdk-17.11.1.tar.gz
cd dpdk-stable-17.11.1
展開したディレクトリでビルドを実施
make install T=x86_64-native-linuxapp-gcc DESTDIR=/usr/local EXTRA_CFLAGS="-O3"
筐体 : ProLiant DL360e Gen8
System ROM : P73 01/22/2018
NIC : Intel X540-AT2
OS : CentOS7.4(1708)
Kernel : kernel-3.10.0-693.21.1.el7.x86_64
Installed Environment Groups : Server with GUI
Add-Ons for Selected Environment : Virtualization Client, Virtualization Hypervisor, Virtualization Tools
vThunder(NOLICENSE)#show interfaces brief
Port Link Dupl Speed Trunk Vlan MAC IP Address IPs Name
------------------------------------------------------------------------------------mgmt Up Full 1000 N/A N/A 5254.0005.45bf 192.168.122.87/24 1
1 Up Full 10000 None 1 5254.009d.9f90 0.0.0.0/0 0
2 Up Full 10000 None 1 5254.00ac.2319 0.0.0.0/0 0
3 Up Full 10000 None 1 1236.991c.1e03 0.0.0.0/0 0
4 Up Full 10000 None 1 1236.991c.1e04 0.0.0.0/0 0
5 Up Full 10000 None 1 1236.991c.1e05 0.0.0.0/0 0
vThunder(NOLICENSE)#
[root@ images]# cat vmx/build/vmx01/xml/vfconfig-generated.sh
#Handling interface ens1f0
ifconfig ens1f0 up
sleep 2
ifconfig ens1f0 promisc
ifconfig ens1f0 allmulti
ifconfig ens1f0 mtu 9198
echo 8086 1515 > /sys/bus/pci/drivers/pci-stub/new_id
sleep 2
echo 0000:08:10.0 > /sys/bus/pci/devices/0000:08:10.0/driver/unbind
echo 0000:08:10.0 >> /sys/bus/pci/drivers/pci-stub/bind
ip link set ens1f0 vf 0 spoofchk off
ip link set ens1f0 vf 0 rate 10000
ip link set ens1f0 vf 0 mac 02:06:0A:0E:FF:E3
bridge link set dev ens1f0 hwmode vepa
筐体 : ProLiant DL360e Gen8
System ROM : P73 01/22/2018
NIC : Intel X540-AT2
OS : CentOS7.4(1708)
Kernel : kernel-3.10.0-693.21.1.el7.x86_64
Installed Environment Groups : Server with GUI
Add-Ons for Selected Environment : Virtualization Client, Virtualization Hypervisor, Virtualization Tools
[root@ ~]# telnet 192.168.12.130 8889
Trying 192.168.12.130...
Connected to 192.168.12.130.
Escape character is '^]'.
%IOSXEBOOT-4-WAIT_FOR_DEVICES: (local/local): Partition "/dev/bootflash1" missing at 20180429013632 Continuing to initialization
%IOSXEBOOT-4-PART_INVALID: (local/local): /dev/bootflash has an invalid partition table that must be repaired.
%IOSXEBOOT-4-PART_REPAIR: (local/local): The system will repair /dev/bootflash now.
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
CiscoIOS Software [Fuji], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.8.1a, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Tue 03-Apr-18 18:43 by mcpre
PLEASE READ THE FOLLOWING TERMS CAREFULLY. INSTALLING THE LICENSE OR
LICENSE KEY PROVIDED FOR ANY CISCO SOFTWARE PRODUCT, PRODUCT FEATURE,
AND/OR SUBSEQUENTLY PROVIDED SOFTWARE FEATURES (COLLECTIVELY, THE
"SOFTWARE"), AND/OR USING SUCH SOFTWARE CONSTITUTES YOUR FULL
ACCEPTANCE OF THE FOLLOWING TERMS. YOU MUST NOT PROCEED FURTHER IF YOU
ARE NOT WILLING TO BE BOUND BY ALL THE TERMS SET FORTH HEREIN.
Your use of the Software is subject to the Cisco End User License Agreement
(EULA) and any relevant supplemental terms (SEULA) found at
http://www.cisco.com/c/en/us/about/legal/cloud-and-software/software-terms.html.
You hereby acknowledge and agree that certain Software and/or features are
licensed for a particular term, that the license to such Software and/or
features is valid only for the applicable term and that such Software and/or
features may be shut down or otherwise terminated by Cisco after expiration
of the applicable license term (e.g., 90-day trial period). Cisco reserves
the right to terminate any such Software feature electronically or by any
other means available. While Cisco may provide alerts, it is your sole
responsibility to monitor your usage of any such term Software feature to
ensure that your systems and networks are prepared for a shutdown of the
Software feature.
% Failed to initialize nvram
cisco CSR1000V (VXE) processor (revision VXE) with 2186344K/3075K bytes of memory.
Processor board ID 9MJXF16X1D5
1 Gigabit Ethernet interface
32768K bytes of non-volatile configuration memory.
3985000K bytes of physical memory.
20357119K bytes of virtual hard disk at bootflash:.
0K bytes of WebUI ODM Files at webui:.
%INIT: waited 0 seconds for NVRAM to be available
PARSER-ERROR: (3) unexpected stale csb (0)
Press RETURN to get started!
Console出力ですが、以下のコマンドでSerial or Virtualの変更が可能です。
autoがどのような挙動になるかは未検証なので実際にやってみてください。
Router(config)#platform console ?
auto Autodetect console (Serial,VGA) for IOS output
serial Use Serial console for IOS output
virtual Use VM (VGA) console for IOS output
Router#sh int g2
GigabitEthernet2 is administratively down, line protocol is down
Hardware is CSR vNIC, address is 0011.2233.4455 (bia 0011.2233.4455)
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Full Duplex, 1000Mbps, link type is auto, media type is Virtual
output flow-control is unsupported, input flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/375/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
ポイントはホストOS上のip link showで表示されるVFのMACアドレスと同一か?という点です。
[root@ ~]# ip link show
1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
link/ether ac:16:2d:bb:9e:c0 brd ff:ff:ff:ff:ff:ff
3: eno2: mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000
link/ether ac:16:2d:bb:9e:c1 brd ff:ff:ff:ff:ff:ff
4: ens1f0: mtu 9198 qdisc mq state UP mode DEFAULT qlen 1000
link/ether a0:36:9f:3e:6d:68 brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:11:22:33:44:55, spoof checking off, link-state auto, trust off, query_rss off
vf 1 MAC 00:11:22:33:44:56, spoof checking off, link-state auto, trust off, query_rss off
5: eno3: mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
link/ether ac:16:2d:bb:9e:c2 brd ff:ff:ff:ff:ff:ff
6: eno4: mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
link/ether ac:16:2d:bb:9e:c3 brd ff:ff:ff:ff:ff:ff
7: ens1f1: mtu 9198 qdisc mq state UP mode DEFAULT qlen 1000
link/ether a0:36:9f:3e:6d:6a brd ff:ff:ff:ff:ff:ff
vf 0 MAC 00:11:22:33:44:57, spoof checking off, link-state auto, trust off, query_rss off
vf 1 MAC 00:11:22:33:44:58, spoof checking off, link-state auto, trust off, query_rss off
筐体 : ProLiant DL360e Gen8
System ROM : P73 01/22/2018
NIC : Intel X540-AT2
OS : CentOS7.4(1708)
Kernel : kernel-3.10.0-693.21.1.el7.x86_64
Installed Environment Groups : Server with GUI
Add-Ons for Selected Environment : Virtualization Client, Virtualization Hypervisor, Virtualization Tools
vi /etc/libvirt/qemu.conf
で開いて、
682行目に以下を追記。もしくはコメントアウトでも可能。
nvram = [
"/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd"
]
[root@ ~]# vi /etc/libvirt/qemu.conf
~・~中略~・~
# Location of master nvram file
#
# When a domain is configured to use UEFI instead of standard
# BIOS it may use a separate storage for UEFI variables. If
# that's the case libvirt creates the variable store per domain
# using this master file as image. Each UEFIfirmware can,
# however, have different variables store. Therefore the nvram is
# a list of strings when a single item is in form of:
# ${PATH_TO_UEFI_FW}:${PATH_TO_UEFI_VARS}.
# Later, when libvirt creates per domain variable store, this list is
# searched for the master image. The UEFIfirmware can be called
# differently for different guest architectures. For instance, it's OVMF
# for x86_64 and i686, but it's AAVMF for aarch64. The libvirt default
# follows this scheme.
#nvram = [ ←ここをコメントアウトしても可能
# "/usr/share/OVMF/OVMF_CODE.fd:/usr/share/OVMF/OVMF_VARS.fd",
# "/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd", ←ここをコメントアウトして「,」を削除でも可能
# "/usr/share/AAVMF/AAVMF_CODE.fd:/usr/share/AAVMF/AAVMF_VARS.fd"
#] ←ここをコメントアウトしても可能
nvram = [
"/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd"
]
# The backend to use for handling stdout/stderr output from
# QEMU processes.
Abort Power On Auto Provisioning [yes - continue with normal setup, skip - bypass password and basic configuration, no - continue with Power On Auto Provisioning] (yes/skip/no)[no]: skip
!!! NOTE: You have selected skip option. POAP will be aborted and password configuration will be skipped !!!
Disabling POAP.......
Disabling POAP
2018 Apr 28 08:37:37 switch %$ VDC-1 %$ %POAP-2-POAP_INFO: [9DPJ22T32GT-52:54:00:87:D2:95] - USB Initializing Success
2018 Apr 28 08:37:37 switch %$ VDC-1 %$ %POAP-2-POAP_INFO: [9DPJ22T32GT-52:54:00:87:D2:95] - USB disk not detected
2018 Apr 28 08:37:37 switch %$ VDC-1 %$ last message repeated 1 time
2018 Apr 28 08:37:37 switch %$ VDC-1 %$ %POAP-2-POAP_DHCP_DISCOVER_START: [9DPJ22T32GT-52:54:00:87:D2:95] - POAP DHCP Discover phase started
2018 Apr 28 08:38:17 switch %$ VDC-1 %$ %ACLQOS-SLOT1-2-ACLQOS_FAILED: ACLQOS failure: TCAM region is not configured for feature QoS class IPv4 direction ingress. Please configure TCAM region Ingress COPP [copp] and retry the command.
Error: There was an error executing atleast one of the command
Please verify the following log for the command execution errors.
2018 Apr 28 08:38:20 switch %$ VDC-1 %$ %PLATFORM-2-MEMORY_ALERT_RECOVERED: Memory Status Alert : CRITICAL ALERT RECOVERED
TCAM region is not configured. Please configure TCAM region and retry the command
2018 Apr 28 08:38:21 switch %$ VDC-1 %$ %PLATFORM-2-MEMORY_ALERT: Memory Status Alert : SEVERE. Usage 84% of Available Memory
User Access Verification
login: admin
Password: パスワード無しでそのままEnterCisco NX-OS Software
Copyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.
Nexus 9000v software ("Nexus 9000v Software") and related documentation,
files or other reference materials ("Documentation") are
the proprietary property and confidential information of Cisco
Systems, Inc. ("Cisco") and are protected, without limitation,
pursuant to United States and International copyright and trademark
laws in the applicable jurisdiction which provide civil and criminal
penalties for copying or distribution without Cisco's authorization.
Any use or disclosure, in whole or in part, of the Nexus 9000v Software
or Documentation to any third party for any purposes is expressly
prohibited except as otherwise authorized by Cisco in writing.
The copyrights to certain works contained herein are owned by other
third parties and are used and distributed under license. Some parts
of this software may be covered under the GNU Public License or the
GNU Lesser General Public License. A copy of each such license is
available at
http://www.gnu.org/licenses/gpl.html and
http://www.gnu.org/licenses/lgpl.html**************************************************************************** Nexus 9000v is strictly limited to use for evaluation, demonstration ** and NX-OS education. Any use or disclosure, in whole or in part of ** the Nexus 9000v Software or Documentation to any third party for any ** purposes is expressly prohibited except as otherwise authorized by ** Cisco in writing. ****************************************************************************
switch#
4-2.ログイン後の必須設定
以下のように、起動OSの設定とadminユーザのパスワード設定を行い保存します。
switch(config)# dir bootflash:
4096 Apr 28 08:15:27 2018 .rpmstore/
4096 Apr 28 08:15:52 2018 .swtam/
13176 Apr 28 08:19:09 2018 20180428_081706_poap_30180_init.log
30602 Apr 28 08:29:41 2018 20180428_082540_poap_30281_init.log
15451 Apr 28 08:38:03 2018 20180428_083554_poap_30312_init.log
962771456 Feb 12 19:25:05 2018 nxos.7.0.3.I7.3.bin
0 Apr 28 08:21:37 2018 platform-sdk.cmd
4096 Apr 28 08:17:03 2018 scripts/
4096 Apr 28 08:15:57 2018 virtual-instance/
Usage for bootflash://sup-local
1242206208 bytes used
2295013376 bytes free
3537219584 bytes total
switch(config)# boot nxos bootflash:/nxos.7.0.3.I7.3.bin
Performing image verification and compatibility check, please wait....
switch(config)# username admin password cisco
WARNING: it is based on a dictionary word
WARNING: Configuration accepted because password strength check is disabled
switch(config)# copy running-config startup-config
[########################################] 100%
Copy complete, now saving to disk (please wait)...
Copy complete.
switch#
Loader Version 5.01.0
Entering interactive mode
loader > dir
Setting listing for bootflash:
Number of devices detected by BIOS is 1
Number of devices detected by BIOS is 1
Number of devices detected by BIOS is 1
Going to print files for device bootflash: 1
.rpmstore
nxos.7.0.3.I7.3.bin
Number of devices detected by BIOS is 1
Number of devices detected by BIOS is 1
Number of devices detected by BIOS is 1
Clearing listing for bootflash:
loader > boot nxos.7.0.3.I7.3.bin
Booting nxos.7.0.3.I7.3.bin
Trying diskboot
dev_str: bootflash: partition_str: 3 filename_str /nxos.7.0.3.I7.3.bin
command = root (hd0,3)
Filesystem type is ext2fs, partition type 0x83
Formed cmdline console=ttyS0,115200n8nn loader_ver="5.01.0" quiet debug
Formed cmdline console=ttyS0,115200n8nn loader_ver="5.01.0" quiet debug ksimg=nxos.7.0.3.I7.3.bin card_index=21099 dummy_sprom swiotlb=48000
Booting kickstart image: bootflash::3:/nxos.7.0.3.I7.3.bin....
Number of devices detected by BIOS is 1
NBI header
magic: 1b031336, len: 54, location: 94400000 (bx=0, ds=9440), exec addr: 92800000 16 16
switch# sh int status
--------------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
--------------------------------------------------------------------------------
mgmt0 -- connected routed full 1000 --
--------------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
--------------------------------------------------------------------------------
Eth1/1 -- notconnec 1 auto auto 10g
Eth1/2 -- notconnec 1 auto auto 10g
Eth1/3 -- notconnec 1 auto auto 10g
Eth1/4 -- notconnec 1 auto auto 10g
Eth1/5 -- notconnec 1 auto auto 10g
Eth1/6 -- notconnec 1 auto auto 10g
Eth1/7 -- notconnec 1 auto auto 10g
Eth1/8 -- notconnec 1 auto auto 10g
Eth1/9 -- notconnec 1 auto auto 10g
Eth1/10 -- notconnec 1 auto auto 10g
インターフェース追加後
switch# sh int status
--------------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
--------------------------------------------------------------------------------
mgmt0 -- connected routed full 1000 --
--------------------------------------------------------------------------------
Port Name Status Vlan Duplex Speed Type
--------------------------------------------------------------------------------Eth1/1 -- connected 1 full auto 10g
Eth1/2 -- connected 1 full auto 10g
Eth1/3 -- notconnec 1 auto auto 10g
Eth1/4 -- notconnec 1 auto auto 10g
Eth1/5 -- notconnec 1 auto auto 10g
Eth1/6 -- notconnec 1 auto auto 10g
Eth1/7 -- notconnec 1 auto auto 10g
Eth1/8 -- notconnec 1 auto auto 10g
Eth1/9 -- notconnec 1 auto auto 10g
Eth1/10 -- notconnec 1 auto auto 10g
6.最後に
6-1.足回りに関する考察
n9kvのPCI Host DeviceからSR-IOVのVFを直接指定した場合、show int statusでは認識されませんでした。このため、インターフェースを増やしていくには、もう少し検証が必要かなと考えています。
[root@c72x642 vmx]# virhsh list
Id Name State
----------------------------------------------------
1 vcp-vmx01 running
2 vfp-vmx01 running
3 vcp-vmx02 running
4 vfp-vmx02 running
vcpやvfpへの接続は、以下のようにvmx.shで実施可能です。
[root@ vmx]# .vmx./vmx.sh --console vfp vmx02
Login Console Port For vfp-vmx02 - 8602
Press Ctrl-] to exit anytime
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Wind River Linux 6.0.0.13 vfp-vmx02 console
vfp-vmx02 login:
telnet> close
Connection closed.
nmcli connection add type bridge autoconnect yes con-name br300 ifname br300
nmcli connection modify br300 bridge.stp no
nmcli connection modify br300 ipv4.method manual ipv4.address 192.168.30.130/24
nmcli connection up br300
nmcli connection add type vlan autoconnect yes con-name ens1f0.300 ifname ens1f0.300 dev ens1f0 id 300
nmcli connection modify ens1f0.300 connection.master br300 connection.slave-type bridge
nmcli connection up ens1f0.300
nmcli connection add type bridge autoconnect yes con-name br301 ifname br301
nmcli connection modify br301 bridge.stp no
nmcli connection modify br301 ipv4.method manual ipv4.address 192.168.31.130/24
nmcli connection up br301
nmcli connection add type vlan autoconnect yes con-name ens1f0.301 ifname ens1f0.301 dev ens1f0 id 301
nmcli connection modify ens1f0.301 connection.master br301 connection.slave-type bridge
nmcli connection up ens1f0.301
次にbindファイルを作成します。
[root@ vmx]# vi config/bind01.conf
##############################################################
# vmx-junos-dev.conf
# - Config file for junos device bindings.
# - Uses YAML syntax.
# - Leave a space after ":" to specify the parameter value.
# - For physical NIC, set the 'type' as 'host_dev'
# - For junos devices, set the 'type' as 'junos_dev' and
# set the mandatory parameter 'vm-name' to the name of
# the vPFE where the device exists
# - For bridge devices, set the 'type' as 'bridge_dev'
##############################################################
interfaces :
- link_name : vmx_link1
mtu : 1500
endpoint_1 :
- type : junos_dev
vm_name : vmx02
dev_name : ge-0/0/0
endpoint_2 :
- type : bridge_dev
dev_name : br300
- link_name : vmx_link2
mtu : 1500
endpoint_1 :
- type : junos_dev
vm_name : vmx02
dev_name : ge-0/0/1
endpoint_2 :
- type : bridge_dev
dev_name : br301
さらに、ルータを仮想化した旨みが失われないよう、他社の仮想マシンと共存させた場合のことも、考慮しないとダメな感じがしています。
というのも、Red Hat Virtualization 4.1からは、SR-IOVのVFにアタッチされた仮想マシンのライブマイグレーションが正式サポートされたので、可用性やメンテナンス性も加味した柔軟なネットワーク設計が重要になってくると考えているからです。
(1)PCIeのSlot1にX540を挿入していること。 HPガイドの14ページ目にARI(Alternative Routing ID Interpretation)機能がサポートしていないSlot番号が記載されています。ARI機能をサポートしていないPCIeのSlotにX540などSR-IOV対応NICを挿入しても、SR-IOVが有効化できない場合があるため事前に確認しておきましょう。
# grub2-mkconfig -o /etc/grub2.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-693.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-693.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-0b4fb8fdbcf94115af972373627c94dc
Found initrd image: /boot/initramfs-0-rescue-0b4fb8fdbcf94115af972373627c94dc.img
done
ip link set ens1f0 vf 0 mac 00:11:22:33:44:55 ★1 08:10.0
ip link set ens1f0 vf 1 mac 00:11:22:33:44:56 ★3 08:10.2
ip link set ens1f1 vf 0 mac 00:11:22:33:44:57 ★2 08:10.1
今のところ、これを把握するには、VFをゲストOSにアタッチ後、ゲストOS上にてip link showなどでMACアドレスを確認する以外、方法はないのかな?と悩んでいます。