Difference between revisions of "util-vserver:Cheatsheet"
From Linux-VServer
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: '''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 | + | # add the adress: '''naddress --nid guestname --add --ip 172.16.0.145 --bcast 172.31.255.255''' |
Revision as of 18:17, 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:
- create the address on the host: 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