Changes between Version 10 and Version 11 of setup_dedicated_ip


Ignore:
Timestamp:
Apr 29, 2009, 9:51:48 AM (11 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • setup_dedicated_ip

    v10 v11  
    2626For references, see [http://linux-vserver.org/Frequently_Asked_Questions#How_do_I_add_several_IPs_to_a_vserver.3F linux-vserver.org faq].
    2727
    28  * Add the following files on the vserver host in /etc/vservers/name-of-vserver/interfaces/name-of-interface/
    29   * dev (eth0, eth1, eth2, etc.)
    30   * ip
    31   * prefix (for example, 27 for a /27 address)
     28 * Add the following files on the vserver host in /etc/vservers/name-of-vserver/interfaces/name-of-interface/ (name-of-interface will typically be a number, like 1, 2, 3, etc.)
     29  * dev (the contents of this file should be eth0, eth1, eth2, etc. depending on the name of the network device on the host, probably eth0)
     30  * ip (the contents of this file is the IP address being assigned)
     31  * prefix (the contents is the network prefix, for example, 27 for a /27 address)
    3232 * To make it live without restarting the vserver, run the following on the host (not guest):
    3333  * Add it via ip (change values as needed):