I've setup an ubuntu server KVM host. I've installed a guest ubuntu VM. I can VNC and SSH into the guest VM through the dynamic IP. I've been trying to configure a static IP, however the guest VM does not have a networking service.
The host server has a bridge setup 'br0' which is a static IP on 'eno1' nic device.
I can edit the /etc/network/interfaces on the guest VM, but it doesn't seem to be used by the OS.
# sudo /etc/init.d/networking restart
bash: /etc/init.d/networking: No such file or directory
The guest VM has internet access and everything works. I simply cannot configure a static IP. All searches on the internet tell me to configure it like a normal server, but it simply doesn't appear to be possible.
The VM configuration 'vm.xml' has the following section.
<interface type='bridge'>
<mac address='52:54:00:30:9f:d0'/>
<source bridge='br0'/>
<model type='rtl8139'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
I'm not sure what I'm doing wrong. I suspect it has something to do with installing the VM.
The host server has a bridge setup 'br0' which is a static IP on 'eno1' nic device.
I can edit the /etc/network/interfaces on the guest VM, but it doesn't seem to be used by the OS.
# sudo /etc/init.d/networking restart
bash: /etc/init.d/networking: No such file or directory
The guest VM has internet access and everything works. I simply cannot configure a static IP. All searches on the internet tell me to configure it like a normal server, but it simply doesn't appear to be possible.
The VM configuration 'vm.xml' has the following section.
<interface type='bridge'>
<mac address='52:54:00:30:9f:d0'/>
<source bridge='br0'/>
<model type='rtl8139'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
I'm not sure what I'm doing wrong. I suspect it has something to do with installing the VM.