Using real network device

From OpenVZ Virtuozzo Containers Wiki
Revision as of 13:41, 12 June 2010 by Haree (talk | contribs) (added HOWTO category)
Jump to: navigation, search

If you want to use a physical device in your VE, you can use this simple command:

# vzctl set <VEID> --netdev_add <network_device>

replace <VEID> with container ID and <network_device> with your physical network device you want to use, such as eth0