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: | + | # create the address on the host: <br/> '''ifconfig eth0:10 172.16.0.145/12'''<br/> |
− | + | # add the adress:<br/> '''naddress --nid guestname --add --ip 172.16.0.145 --bcast 172.31.255.255''' | |
− | # add the adress: | + | # add the ip to the config directory to make it sticjk if you restart |
− | + | # enter the guest and verify services that need to listen to the ip, restart fi necessary (for me it was not). |
Revision as of 21:15, 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 - add the ip to the config directory to make it sticjk if you restart
- enter the guest and verify services that need to listen to the ip, restart fi necessary (for me it was not).