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
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
[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模式,命令:
- ››创建SQL2005自动备份,定期删除的维护计划
- ››xenserver下创建网卡绑定
- ››创建动态表单 javascript
- ››xenserver 6 设置虚拟机开机自动启动
- ››创建基于PPTP的站点到站点VPN连接:ISA2006系列之...
- ››创建基于L2TP的站点到站点的VPN连接:ISA2006系列...
- ››创建一个Twisted Reactor TCP服务器
- ››创建Windows Mobile上兼容性好的UI 程序
- ››创建android的Service
- ››创建远古部落环境与原住民角色
- ››创建并扩展Apache Wicket Web应用
- ››创建不在任务条中显示窗口按钮的应用
更多精彩
赞助商链接