Difference between revisions of "Using real network device"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(Created this page with one simple command for using physical device in VE)
 
m (added HOWTO category)
Line 6: Line 6:
 
replace <VEID> with container ID and <network_device> with your physical network device you want to use, such as eth0
 
replace <VEID> with container ID and <network_device> with your physical network device you want to use, such as eth0
  
 +
[[Category:HOWTO]]
 
[[Category: Networking]]
 
[[Category: Networking]]

Revision as of 13:41, 12 June 2010

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