Hi All
We have setup a Centos7 host server with KVM and have created multiple VM running Ubuntu 14.04 using virt-manager. All VMs are having forward mode as "NAT" and using internal DHCP IP address 192.168.122.x series and we gave them fixed ips based on their mac address. Now all these VMs are able to access Internet and able to run update on all these guest OS. But these VMs are web and API servers and they are required to be accessible from Internet.
We have pool of public IPs and have assigned host with one public IP for example, we have pool like 192.168.111.1 to 192.168.111.25. We have assigned 192.168.111.2 to Host server and would like to assign 192.168.111.3 to Webserver and 192.168.111.4 to API server. So we changed our virsh network settings from default to routed as <forward mode='route' dev='em1'> and struggling to configure fixed IPs for our VMs. We would like to do exactly as mentioned in this link https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/sub-sect-routed-mode-libvirt.html
We have been struggling with this for last 3 days and no luck. Please can anybody guide us.
Regards
Joel Divekar
Get your own FREE website, FREE domain & FREE mobile app with Company email. | Know More > |