You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to configure a static IP address in my VM, so that I can access that VM from the host machine, via that ip. (Ex: for running a webserver).
Quickemu doesn´t seem to allow assigning static IP address to a VM. After some reading, I think I will need to have a network bridge, but networking is really not my strongest area and don´t want to break my networking.
and then set: vm_net="bridge,br=br-qemu in my VM config, but it´s not working.
my bridge in the host is in down state, and the interface is not added to the vm.
22: br-qemu: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 1e:f6:d3:9e:c0:59 brd ff:ff:ff:ff:ff:ff
This might probably not quickemu specific and more of a network issue, still maybe there is a better way to do this, that´s why I am asking this question here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello.
I want to configure a static IP address in my VM, so that I can access that VM from the host machine, via that ip. (Ex: for running a webserver).
Quickemu doesn´t seem to allow assigning static IP address to a VM. After some reading, I think I will need to have a network bridge, but networking is really not my strongest area and don´t want to break my networking.
I tried the following:
sudo nmcli connection add type bridge con-name br-qemu ifname br-qemu sudo nmcli connection modify br-qemu ipv4.addresses 192.168.100.1/24 ipv4.method manual sudo nmcli connection up br-qemuand then set:
vm_net="bridge,br=br-qemuin my VM config, but it´s not working.my bridge in the host is in down state, and the interface is not added to the vm.
This might probably not quickemu specific and more of a network issue, still maybe there is a better way to do this, that´s why I am asking this question here.
Beta Was this translation helpful? Give feedback.
All reactions