1> 删除ent0 & ent1网卡的方法(以ent0为例):
Bring the interface down:
#
ifconfig en0 down
Delete the network interface definition for the
adapter:
# ifconfig en0 detach
Delete the network interface driver for
the adapter:
# rmdev -dl en0
# rmdev -dl et0
# rmdev -dl
ent0
然后重复操作删除ent1
2> 创建虚拟网卡的方法 mkdev -c adapter -s pseudo -t
ibm_ech:
#lsdev -Cc adapter
ent0 Available Logical Host Ethernet Port
(lp-hea)
ent1 Available Virtual I/O Ethernet Adapter (l-lan)
ent2
Available Virtual I/O Ethernet Adapter (l-lan)
fcs0 Defined 00-00 4Gb FC PCI
Express Adapter (df1000fe)
lai0 Available 03-00 GXT135P Graphics
Adapter
lhea0 Available Logical Host Ethernet Adapter (l-hea)
usbhc0
Available 02-08 USB Host Controller (33103500)
usbhc1 Available 02-09 USB
Host Controller (33103500)
vsa0 Available LPAR Virtual Serial
Adapter
vscsi0 Available Virtual SCSI Client Adapter
vscsi1 Defined
Virtual SCSI Client Adapter
#mkdev -c adapter -s pseudo -t
ibm_ech
ent3 Available
#mkdev -c adapter -s pseudo -t ibm_ech
ent4
Available
#lsdev -Cc adapter
ent0 Available Logical Host Ethernet Port
(lp-hea)
ent1 Available Virtual I/O Ethernet Adapter (l-lan)
ent2
Available Virtual I/O Ethernet Adapter (l-lan)
ent3 Available EtherChannel /
IEEE 802.3ad Link Aggregation
ent4 Available EtherChannel / IEEE 802.3ad Link
Aggregation
fcs0 Defined 00-00 4Gb FC PCI Express Adapter (df1000fe)
lai0
Available 03-00 GXT135P Graphics Adapter
lhea0 Available Logical Host
Ethernet Adapter (l-hea)
usbhc0 Available 02-08 USB Host Controller
(33103500)
usbhc1 Available 02-09 USB Host Controller (33103500)
vsa0
Available LPAR Virtual Serial Adapter
vscsi0 Available Virtual SCSI Client
Adapter
vscsi1 Defined Virtual SCSI Client Adapter
3>
虚拟出期望的网卡后识别最终网卡:
#cfgmgr
#lsdev -Cc adapter 来查看网卡。