Author: hawk   Date: Tue Nov 20 16:09:36 2007 GMT
Module: PLDWWW   URL: 
http://www.pld-linux.org/Vserver?action=diff&rev2=97&rev1=96
---- Log message:


---- Page affected: Vserver

---- Diffs:

================================================================
  
  If your kernel has CONFIG_VSERVER_AUTO_LBACK=y then loopback addresses and 
things will be assigned and made visible in your guests automaticly. You can 
disable that on by guest basis by doing:
  {{{
- echo "~lback_remap" > /etc/vservers/xyz/nflags
+ echo "~lback_remap" >> /etc/vservers/xyz/nflags
  echo "~hide_lback" >> /etc/vservers/xyz/nflags
  }}}
  
  If your kernel has CONFIG_VSERVER_AUTO_LBACK option disabled you can still 
get automatic loopback addresses on by guest basis by doing:
  {{{
- echo "lback_remap" > /etc/vservers/xyz/nflags
+ echo "lback_remap" >> /etc/vservers/xyz/nflags
  echo "hide_lback" >> /etc/vservers/xyz/nflags
  }}}
  
  (util-vserver 0.30.214 or newer needed)
+ 
+ === binding to address 0.0.0.0 binds only to single IP ===
+ 
+ Newer Vserver from 2.3 series allows administrator to enable special handling 
of network contexts for guests with single IP only. Default value for this 
option is compiled into kernel as CONFIG_VSERVER_AUTO_SINGLE. When it is 
enabled any service configured to bind to all available IP addresses will bind 
only to single IP configured in {{{/etc/vservers/guest/interfaces}}}. It will 
not even bind to loopback interface.
+ 
+ To enable special handling of network contexts in guests with a single IP do:
+ {{{
+ echo "signle_ip" >> /etc/vservers/xyz/nflags
+ }}}
+ 
+ Similarly to disable this option if its enabled in kernel do:
+ 
+ {{{
+ echo "~signle_ip" >> /etc/vservers/xyz/nflags
+ }}}
+ 
  
  == Debian guest installation ==
  
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to