PLDWWW: Vserver

glen glen at pld-linux.org
Sat Jan 7 23:05:03 CET 2006


Author: glen   Date: Sat Jan  7 22:05:03 2006 GMT
Module: PLDWWW   URL: http://www.pld-linux.org/Vserver
---- Log message:
added network config part

---- Page affected: Vserver

---- Diffs:

================================================================
  
  note, if you don't run init style {{{plain}}} you must have at least one daemon running inside vserver or your vserver will be down shortly.
  
+ 
+ == configuring network ==
+ 
+ {{{/etc/vservers/<vserver-name>/interfaces/<iface>}}}
+ 
+ 'iface' is an arbitrary name for the interface; the value itself is not important but may be interesting regarding interface-creation and usage with chbind. Both happens in alphabetical order and numbers like '00' are good names for these directories. 
+ 
+  * {{{bcast}}} The broadcast address.
+  * {{{dev}}} The network device.
+  * {{{disabled}}} When this file exists, this interface will be ignored.
+  * {{{ip}}} The ip which will be assigned to this interface.
+  * {{{mask}}} The network mask.
+  * {{{name}}} When this file exists, the interface will be named with the text in this file. Without such an entry, the IP will not be shown by ifconfig but by ip addr ls only. Such a labeled interface is known as an "alias" also (e.g. 'eth0:foo'). 
+  * {{{nodev}}} When this file exists, the interface will be assumed to exist already. This can be used to assign primary interfaces which are created by the host or another vserver.
+  * {{{prefix}}} The network prefix-length.
+  * {{{scope}}} The scope of the network interface.
+ 


More information about the pld-cvs-commit mailing list