Getting a unknown IP address in Virtual Machine Manager/QEMU Client
Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Getting a unknown IP address in Virtual Machine Manager/QEMU Client
Where is the Virtual machine getting the 10.0.2.15 IP address from? I don't have a DHCP server handing out 10.0.2.0/24 IP addresses on my network. Thank you for any help!
Here is my Information
Virtual Machine Manager running on nobara/Fedora
LXC
Name: default
Device: virbr0
State: Active
Autostat: ON Boot
IPv4 configuration
Network: 192.168.122.0/24
DHCP range: 192.168.122.2 - 192.168.122.254
Forwarding: NAT
----------------------------------------------------------------
Virtual Machine Information
OS: ubuntu22.04
NIC Network Source: Usermode networking
Device model: virtio
MAC Address: 52:54:00:25:83:af
IP address: Unknown (With LXC Connected or Disconnected)
Link state: active
----------------------------------------------------------------
Virtual Bride Interface
virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:54:00:85:f5:94 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd 192.168.122.255 scope global noprefixroute virbr0
valid_lft forever preferred_lft forever
----------------------------------------------------------------
Virtual Machine - ubuntu22.04
ip addr
Can ping PC Local bridge0 interface IP address of 192.168.25.4 <State UP>
Can ping PC virbr0 interface IP address 192.168.122.1 <State DOWN>
no vnet interface on local PC
----------------------------------------------------------------
sudo brctl show
bridge name bridge id STP enabled interfaces
bridge0 8000.facb0d19e3ba no enp0s25
virbr0 8000.52540085f594 yes
[SOLVED]Getting a unknown IP address in Virtual Machine Manager/QEMU Client
After taking the red pill and going down the rabbit hole I was able to discover why my virtual clients in Virtual Machine Manager where getting 10.2.x.x.x IP address from QEMU itself. I disabled LXC in Virtual Machine Manager and setup a virtual bridge on my nobara PC. I now have all my virtual machines talking to each other along with my local PC, using the virtual bridge br0. I found these two YouTube videos extremely helpful!
Now back to drinking some more tea!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.