Difference between revisions of "util-vserver:Cheatsheet"

From Linux-VServer

Jump to: navigation, search
Line 9: Line 9:
 
==HOT ADD AN ADRESS TO A GUEST:==
 
==HOT ADD AN ADRESS TO A GUEST:==
  
# create the address on the host:    '''ifconfig eth0:10 172.16.0.145/12'''
+
# create the address on the host:     
# add the adress:                    '''naddress --nid guestname --add --ip 172.16.0.145 --bcast 172.31.255.255'''
+
:'''ifconfig eth0:10 172.16.0.145/12'''
 +
# add the adress:                     
 +
:'''naddress --nid guestname --add --ip 172.16.0.145 --bcast 172.31.255.255'''

Revision as of 19:19, 23 October 2008

util-vserver cheatsheet

ok,

here is my cheatsheet for util-vserver. I figured a lot by hand so i would like to share some here. This is a draft:


HOT ADD AN ADRESS TO A GUEST:

  1. create the address on the host:
ifconfig eth0:10 172.16.0.145/12
  1. add the adress:
naddress --nid guestname --add --ip 172.16.0.145 --bcast 172.31.255.255
Personal tools