知识屋:更实用的电脑技术知识网站
所在位置:首页 > 操作系统 > linux

AIX添加虚拟网卡

发布时间:2014-09-05 15:15:14作者:知识屋

AIX添加虚拟网卡
 
1> 删除ent0 & ent1网卡的方法(以ent0为例):
  www.zhishiwu.com  
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
  www.zhishiwu.com  
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 来查看网卡。
 
(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)
收藏
  • 人气文章
  • 最新文章
  • 下载排行榜
  • 热门排行榜