设为首页 收藏本站
查看: 889|回复: 0

[Cloudstack] cloudstack 15.6. Using Multiple Guest Networks

[复制链接]

尚未签到

发表于 2015-10-13 13:59:32 | 显示全部楼层 |阅读模式
15.6. Using Multiple Guest Networks
In zones that use advanced networking, additional networks for guest traffic may be added at any time after the initial installation. You can also customize the domain name associated with the network by specifying a DNS suffixfor each network.A VM's networks are defined at VM creation time. A VM cannot add or remove networks after it has been created, although the user can go into the guest and remove the IP address from the NIC on a particular network.Each VM has just one default network. The virtual router's DHCP reply will set the guest's default gateway as that for the default network. Multiple non-default networks may be added to a guest in addition to the single, required default network. The administratorcan control which networks are available as the default network.Additional networks can either be available to all accounts or be assigned to a specific account. Networks that are available to all accounts are zone-wide. Any user with access to the zone can create a VM with access to that network. These zone-wide networksprovide little or no isolation between guests.Networks that are assigned to a specific account provide strong isolation.15.6.1. Adding an Additional Guest Network

  • Log in to the CloudStack UI as an administrator or end user.
  • In the left navigation, choose Network.
  • Click Add guest network. Provide the following information:

    • Name: The name of the network. This will be user-visible.
    • Display Text: The description of the network. This will be user-visible.
    • Zone. The name of the zone this network applies to. Each zone is a broadcast domain, and therefore each zone has a differentIP range for the guest network. The administrator must configure the IP range for each zone.
    • Network offering: If the administrator has configured multiple network offerings, select the one you want to use forthis network.
    • Guest Gateway: The gateway that the guests should use.
    • Guest Netmask: The netmask in use on the subnet the guests will use.

  • Click Create.
15.6.2. Reconfiguring Networks in VMs
CloudStack provides you the ability to move VMs between networks and reconfigure a VM's network. You can remove a VM from a network and add to a new network. You can also change the default network of a virtual machine. With this functionality, hybrid or traditionalserver loads can be accommodated with ease.This feature is supported on XenServer, VMware, and KVM hypervisors.15.6.2.1. Prerequisites
Ensure that vm-tools are running on guest VMs for adding or removing networks to work on VMware hypervisor.15.6.2.2. Adding a Network

  • Log in to the CloudStack UI as an administrator or end user.
  • In the left navigation, click Instances.
  • Choose the VM that you want to work with.
  • Click the NICs tab.
  • Click Add network to VM.The Add network to VM dialog is displayed.
  • In the drop-down list, select the network that you would like to add this VM to.A new NIC is added for this network. You can view the following details in the NICs page:

    • ID
    • Network Name
    • Type
    • IP Address
    • Gateway
    • Netmask
    • Is default
    • CIDR (for IPv6)

15.6.2.3. Removing a Network

  • Log in to the CloudStack UI as an administrator or end user.
  • In the left navigation, click Instances.
  • Choose the VM that you want to work with.
  • Click the NICs tab.
  • Locate the NIC you want to remove.
  • Click Remove NIC button.
  • Click Yes to confirm.
15.6.2.4. Selecting the Default Network

  • Log in to the CloudStack UI as an administrator or end user.
  • In the left navigation, click Instances.
  • Choose the VM that you want to work with.
  • Click the NICs tab.
  • Locate the NIC you want to work with.
  • Click the Set default NIC button.
  • Click Yes to confirm.
15.6.3. Changing the Network Offering on a Guest Network
A user or administrator can change the network offering that is associated with an existing guest network.

  • Log in to the CloudStack UI as an administrator or end user.
  • If you are changing from a network offering that uses the CloudStack virtual router to one that uses external devices as network service providers, you must first stop all the VMs on the network.
  • In the left navigation, choose Network.
  • Click the name of the network you want to modify.
  • In the Details tab, click Edit.
  • In Network Offering, choose the new network offering, then click Apply.A prompt is displayed asking whether you want to keep the existing CIDR. This is to let you know that if you change the network offering, the CIDR will be affected.If you upgrade between virtual router as a provider and an external network device as provider, acknowledge the change of CIDR to continue, so choose Yes.
  • Wait for the update to complete. Don’t try to restart VMs until the network change is complete.
  • If you stopped any VMs, restart them.

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-126352-1-1.html 上篇帖子: Cloudstack421远程调试(centos) 下篇帖子: 快速重新搭建CloudStack系统
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表