I am running Windows XP as a guest on Ubuntu 18.04 LTS with qemu/kvm.
I want to use this Windows instance to manage my CCTV IP camera which uses ActiveX applets.
I need this Windows XP to get IP from the same subnetwork as IP camera is.
How can I configure this Virtual Machine using Virtual Machine Manager?
I use a laptop, so my main connection is WiFi (inteface name wlp2s0).
/etc/netplan/01-network-manager-all.yaml I have
# Let NetworkManager manage all devices on this system network: version: 2 renderer: NetworkManager
And if I edit the content of my
/etc/network/interfaces I get no connection to the internet (laptop does not bring up the WiFi connection)
I tried this tutorial without any success
Then I tried this one. Here is said "Then add the Ethernet interface as a port in the bridge…" and I noticed that
nmcli command can be passed
type argument. I read help about that argument and I managed to pass
wifi ssid MYSSID arguments to configure that bridge with my WiFi connection.
So I managed to pull these commands:
sudo nmcli conn add type bridge con-name br0 ifname br0 sudo nmcli conn add type wifi ssid MYSSID slave-type bridge con-name bridge-br0 ifname enp1s0 master br0
In the second one I changed ethernet to wifi ssid
sudo nmcli conn show --active sudo nmcli conn up br0
Then the tutorial says I need to put down the ethernet connection – so I thought that in my case I need to put down wifi connection.
How come this should work? I want my laptop to have a connection and my bridged virtual guest operating system to have one.
When I issue
ip a the br0 connection does not have an IP address from DHCP.
If I bring up WiFi connection no new IP address shows up on the bridge interface (