Hi folks,
I am new to PVE and inherited a machine running 1.7 with several fully virtualized (KVM) vm's already configured. Those instances are working fine. Here is my problem and I apologize in advance if this question was asked and answered elsewhere or many times. In searching, I found several posts with a similar topic, but none listed a specific answer and focussed more on bridging.
Hopefully, this is a simple question...
When creating a new vm under "Container OpenVZ", you receive the "network" option to specify an IP address for the new vm. When you create a fully virtualized vm (KVM) however, there is no option for specifying an IP address as they are bridged to the vmbr0 interface.
I know it is possible to assign an IP address to KVM vm's as our instances (quantity 7) all have 192.168.x.x addresses and respond to pings to them.
I have looked at the interface configs with ifconfig and see an entry for each vm interface in this format:
vmtab111i0d0 Link encap:Ethernet HWaddr ba:76:6a:d6:c1:e9 (one for each vm instance)
but no IP address assigned.
I have also checked the individual conf files for each KVM vm and there are no IP addresses specified there either.
So, my question is... Where do you specify the IP addresses for newly created KVM vm's? Any help or direction would be greatly appreciated.
Thanks,
Jim
I am new to PVE and inherited a machine running 1.7 with several fully virtualized (KVM) vm's already configured. Those instances are working fine. Here is my problem and I apologize in advance if this question was asked and answered elsewhere or many times. In searching, I found several posts with a similar topic, but none listed a specific answer and focussed more on bridging.
Hopefully, this is a simple question...
When creating a new vm under "Container OpenVZ", you receive the "network" option to specify an IP address for the new vm. When you create a fully virtualized vm (KVM) however, there is no option for specifying an IP address as they are bridged to the vmbr0 interface.
I know it is possible to assign an IP address to KVM vm's as our instances (quantity 7) all have 192.168.x.x addresses and respond to pings to them.
I have looked at the interface configs with ifconfig and see an entry for each vm interface in this format:
vmtab111i0d0 Link encap:Ethernet HWaddr ba:76:6a:d6:c1:e9 (one for each vm instance)
but no IP address assigned.
I have also checked the individual conf files for each KVM vm and there are no IP addresses specified there either.
So, my question is... Where do you specify the IP addresses for newly created KVM vm's? Any help or direction would be greatly appreciated.
Thanks,
Jim