Editing Virtual network device
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 22: | Line 22: | ||
=== Adding IP address to a container === | === Adding IP address to a container === | ||
<pre> | <pre> | ||
− | vzctl set < | + | vzctl set <VEID> --ipadd <IP1>[,<IP2>,...] [--save] |
</pre> | </pre> | ||
Line 38: | Line 38: | ||
=== Removing IP address from a container === | === Removing IP address from a container === | ||
<pre> | <pre> | ||
− | vzctl set < | + | vzctl set <VEID> --ipdel <IP1>[,<IP2>,...] [--save] |
− | vzctl set < | + | vzctl set <VEID> --ipdel all [--save] |
</pre> | </pre> | ||