Fedora 25: KVM Network Bridge Issues
Hello, I'm running a Web Server in KVM, host is Fedora 25 and I'm trying to create a network bridge so I can make the virtual machine available to external machines. By default, KVM creates its own bridge, 192.168.122.1. This device acts as a virtual router for the virtual machines and will grant them IP addresses in this range. However, I want my machine to lease external addresses.
This is the guide I'm following: http://www.dedoimedo.com/computers/kv...
That's about all you need to do.
ifconfig eth0 0.0.0.0
ifconfig eth1 0.0.0.0
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
dhclient br0
Basically it's almost working except for this issue:
The moment I do brctl addif br0 eth0
my host loses internet connection and only the VM gets internet.
It becomes visible and everything, but I need both the host and the VM to have internet connection.
If I type brctl delif br0 eth0
, then only the host has internet connection and the VM doesn't.
What am I doing wrong?
Thanks.