Computer Science
Algorithm
Data Processing
Digital Life
Distributed System
Distributed System Infrastructure
Machine Learning
Operating System
Android
Linux
MacOS
Tizen
Windows
iOS
Programming Language
C++
Erlang
Go
Scala
Scheme
Type System
Software Engineering
Storage
UI
Flutter
Javascript
Virtualization
Fedora Virt-manager Guest Connect to Host (2013)
Life
Life in Guangzhou (2013)
Recent Works (2013)
东京之旅 (2014)
My 2017 Year in Review (2018)
My 2020 in Review (2021)
十三年前被隔离的经历 (2022)
A Travel to Montreal (2022)
My 2022 in Review (2023)
Travel Back to China (2024)
Projects
Bard
Blog
RSS Brain
Scala2grpc
Comment Everywhere (2013)
Fetch Popular Erlang Modules by Coffee Script (2013)
Psychology
耶鲁大学心理学导论 (2012)
Thoughts
Chinese
English

Fedora Virt-manager Guest Connect to Host

Posted on 15 Jan 2013, tagged kvmfedoravirt-managernewwork

These days I’m confused with the virt-manager’s network. While I use the Fedora guest to connect to 192.168.122.1, it always connect to itself. I searched on the internet but there are little information. I mean, though the information, it should work.

I finally solved it today. It turns out the fedora guest also start libvirtd. Which will create another virt network and use itself as the host. If you run ifconfig on the guest, you will see it has a device vnet0 with IP 192.168.122.1.

So just disable libvirtd on the guest, then restart libvirtd and virt-manager on the host. After all, you could connect to the host through 192.168.122.1 with the default configuration.