17.14. Creating a New Virtual Network Device

17.14. Creating a New Virtual Network Device

17.14. Creating a New Virtual Network Device

You can use xm to create a new virtual network device:

 
xm network-attach [domain-id] [script=scriptname] [ip=ipaddr] [mac-macaddr] [bridge=bridge-name] [backend-bedomain-id]

The five parameter options are defined below:

Parameter Description

[script=scriptname]

Uses the specified script name to bring up the network

[ip=ipaddr]

Passes the specified script name to the adapter

[mac-macaddr]

The MAC address the domain sees on its ethernet device

[bridge-bridgename]

The name of the device to attach the vif

[backend=bedomain-id]

The back end domain id.

Table 17.4. Parameters