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 at centos.org> on behalf of
centos-virt-request at centos.org <centos-virt-request at centos.org>
Sent: Monday, September 14, 2020 5:00:03 AM
To: centos-virt at centos.org <centos-virt at centos.org>
Subject: CentOS-virt Digest, Vol 156, Issue 3
Send CentOS-virt mailing list submissions to
centos-virt at centos.org
To subscribe or unsubscribe via the World Wide Web, visit
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos-virt&data=02%7C01%7C%7C1b1ff21daaae47317c1d08d858a5b905%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637356816074942137&sdata=GhJFGCT2YcbsOcSHWcDOuAlirayGxiVvuD2L2XspkVk%3D&reserved=0
or, via email, send a message with subject or body 'help' to
centos-virt-request at centos.org
You can reach the person managing the list at
centos-virt-owner at 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 at agoris.net.ua>
To: Discussion about the virtualization on CentOS
<centos-virt at centos.org>
Subject: Re: [CentOS-virt] Centos + VM + public ip
Message-ID:
<1516494674.1906.1600001220556.JavaMail.zimbra at 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 at yahoo.co.in>
To: Discussion about the virtualization on CentOS
<centos-virt at centos.org>
Subject: Re: [CentOS-virt] Centos + VM + public ip
Message-ID: <868650482.1233750.1600002902917 at 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 Halberstam<yoram.halberstam at
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 at centos.org
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos-virt&data=02%7C01%7C%7C1b1ff21daaae47317c1d08d858a5b905%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637356816074942137&sdata=GhJFGCT2YcbsOcSHWcDOuAlirayGxiVvuD2L2XspkVk%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.centos.org%2Fpipermail%2Fcentos-virt%2Fattachments%2F20200913%2F79fba96f%2Fattachment-0001.html&data=02%7C01%7C%7C1b1ff21daaae47317c1d08d858a5b905%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637356816074942137&sdata=rf239Nrz9rxRJ%2FsVe%2F5hKWDAqucGXzHhbMd%2BaXTscmU%3D&reserved=0>
------------------------------
Subject: Digest Footer
_______________________________________________
CentOS-virt mailing list
CentOS-virt at centos.org
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos-virt&data=02%7C01%7C%7C1b1ff21daaae47317c1d08d858a5b905%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637356816074952133&sdata=LZJcnDWdjiEMLYSayDjvazxznLSLntO%2B9XcZnVZ%2BMRY%3D&reserved=0
------------------------------
End of CentOS-virt Digest, Vol 156, Issue 3
*******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.centos.org/pipermail/centos-virt/attachments/20200914/e70f4449/attachment-0005.html>