-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks, John. On 2010-06-11 20:12, John A. Sullivan III wrote: > On Fri, 2010-06-11 at 08:07 -0400, John A. Sullivan III wrote: >> On Fri, 2010-06-11 at 19:04 +0800, Patrick Nagel wrote: >>> Hi, >>> >>> can the IP address assigned to a guest be changed from the host during >>> runtime? If so, how? >>> >>> Background info: I have an openvpn client running on the host, which >>> provides a VPN connection to one of the guests. Recently the IP address of >>> the local VPN endpoint changed. The guest could no longer use the VPN. I >>> had to shut the guest down, change /etc/vservers/guest/interfaces/ip to the >>> new local VPN endpoint IP address and start it up again. >>> >>> Patrick. >>> >> I'm not sure how well it will play with OpenVPN but you can try >> naddress. Perhaps remove the current address from the guest, remove it >> from the host with the ip command, add the new address to the host with >> ip, and then associate it with the guest via naddress. Then change the >> configuration files to make the change permanent. Hope that helps - >> John >> > That is, remove it from the guest with naddress :( - -- STAR Software (Shanghai) Co., Ltd. http://www.star-group.net/ Phone: +86 (21) 3462 7688 x 826 Fax: +86 (21) 3462 7779 PGP key E883A005 https://stshacom1.star-china.net/keys/patrick_nagel.asc Fingerprint: E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAkwTCcQACgkQ7yMg/OiDoAVq1gCgmTHS3tQvuNaF76r7rIMvU9Y1 Z00AoJ0pY+57PU/gs1rpBHMpMErUAvJ7 =t1Fq -----END PGP SIGNATURE-----