WEB开发网
开发学院服务器云计算 xenserver下创建网卡绑定 阅读

xenserver下创建网卡绑定

 2012-09-04 17:08:10 来源:WEB开发网   
核心提示: 一、在单一主机上创建列出当前物理网卡root@xenserver-004 network-scripts]# xe pif-listuuid ( RO) : ed5f1827-9f96-d396-e35c-414c9c87da24 device ( RO): eth3 currently-attached (

 一、在单一主机上创建

列出当前物理网卡
root@xenserver-004 network-scripts]# xe pif-list
uuid ( RO)          : ed5f1827-9f96-d396-e35c-414c9c87da24
         device ( RO): eth3
   currently-attached ( RO): true
          VLAN ( RO): -1
      network-uuid ( RO): 4ded4b0a-df9c-56dc-be7c-af8793e18ea9


uuid ( RO)          : ddc0fba4-1a55-5401-7b93-1d928a1e3e9a
         device ( RO): eth1
   currently-attached ( RO): true
          VLAN ( RO): -1
      network-uuid ( RO): f51187a2-3e50-d1e6-60e7-91e2ccfb0021


uuid ( RO)          : 3f6a9b8c-86e7-803b-67f6-3de50e10bdd2
         device ( RO): eth2
   currently-attached ( RO): true
          VLAN ( RO): -1
      network-uuid ( RO): 4fee0e9f-cf73-489e-1477-7bf9122f2a24


uuid ( RO)          : bae6a57c-e1f0-cace-966a-5b5fc13815da
         device ( RO): eth0
   currently-attached ( RO): true
          VLAN ( RO): -1
      network-uuid ( RO): 875c7c18-4c11-3b9b-4510-e0a87d932c37

新建网络命名为Bond 0+1
[root@xenserver-004 network-scripts]# xe network-create name-label="Bond 0+1"
7d6c3ebf-c30b-f8f5-d9fc-c02288e92228
建立绑定,并制定物理网卡,这里用eth0 eth1
[root@xenserver-004 network-scripts]# xe bond-create network-uuid=7d6c3ebf-c30b-f8f5-d9fc-c02288e92228 pif-uuids=bae6a57c-e1f0-cace966a-5b5fc13815da,ddc0fba4-1a55-5401-7b93-1d928a1e3e9a
13ad7d2d-70ca-df58-ac54-836217076456
xenserver中允许两种网卡绑定模式,<balance-slb | active-backup>,默认是balance-slb模式,如果要用active-backup模式,命令:

1 2  下一页

Tags:xenserver 创建 网卡

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接