Make sure that the interface that you are bridging to is not a wireless interface otherwise it won't work. Very deep in the documentation about setting up KVM there is a warning about that it's something about how they initiate connections on a wireless interface is different than on a wired one and it breaks things in KVM bridging.
Daniel Sichel
________________________________ From: CentOS-virt centos-virt-bounces@centos.org on behalf of centos-virt-request@centos.org centos-virt-request@centos.org Sent: Monday, September 14, 2020 5:00:03 AM To: centos-virt@centos.org centos-virt@centos.org Subject: CentOS-virt Digest, Vol 156, Issue 3
Send CentOS-virt mailing list submissions to centos-virt@centos.org
To subscribe or unsubscribe via the World Wide Web, visit https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.cent... or, via email, send a message with subject or body 'help' to centos-virt-request@centos.org
You can reach the person managing the list at centos-virt-owner@centos.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of CentOS-virt digest..."
Today's Topics:
1. Re: Centos + VM + public ip (Subscriber) 2. Re: Centos + VM + public ip (Soumya Bhowmik)
----------------------------------------------------------------------
Message: 1 Date: Sun, 13 Sep 2020 15:47:00 +0300 (EEST) From: Subscriber ml-lists@agoris.net.ua To: Discussion about the virtualization on CentOS centos-virt@centos.org Subject: Re: [CentOS-virt] Centos + VM + public ip Message-ID: 1516494674.1906.1600001220556.JavaMail.zimbra@agoris.net.ua Content-Type: text/plain; charset=utf-8
Hi,
I've got a dedicated server with OVH and I'd like to host a public VM. I'd like Centos OS 7 or 8, I installed KVM already, I got the VM and bought the IP and created a virtual mac id. I know I have to bridge it somehow but I can't seem to find a proper tutorial. Do you know where to start?
You can do next: 1) Create bridge interface (for example br0) on dedicated server. Associate this interface with your Ethernet interface and assign IP address to br0. 2a) When you would create VM add parameter --network=bridge:br0 to the virt-install in command line. Or smth similar if you create VM in another way. 2b) Or edit xml file for your VM and add or change config: <interface type='bridge'> <mac address='insert_you_virtual_mac_here'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </interface> 3) Inside the VM assign real/public IP to you Ethernet (probably eth0) interface.
That's all.
If you have additional questions or you need more detail explanation you can write me directly.
------------------------------
Message: 2 Date: Sun, 13 Sep 2020 13:15:02 +0000 (UTC) From: Soumya Bhowmik som3939@yahoo.co.in To: Discussion about the virtualization on CentOS centos-virt@centos.org Subject: Re: [CentOS-virt] Centos + VM + public ip Message-ID: 868650482.1233750.1600002902917@mail.yahoo.com Content-Type: text/plain; charset="utf-8"
You can create bridge in CentOS 7 withbr command line tool. In case if CentOS 8, bridge can be created with nmcli, cockpit or nm-connection-editor.?
Sent from Yahoo Mail on Android
On Mon, 7 Sep 2020 at 9:54 PM, Yoram Halberstamyoram.halberstam@gmail.com wrote: Hi, I've got a dedicated server with OVH and I'd like to host a public VM. I'd like Centos OS 7 or 8, I installed KVM already, I got the VM and bought the IP and created a virtual mac id. I know I have to bridge it somehow but I can't seem to find a proper tutorial. Do you know where to start?
Thanks _______________________________________________ CentOS-virt mailing list CentOS-virt@centos.org https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.cent...