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 <[email protected]> on behalf of 
[email protected] <[email protected]>
Sent: Monday, September 14, 2020 5:00:03 AM
To: [email protected] <[email protected]>
Subject: CentOS-virt Digest, Vol 156, Issue 3

Send CentOS-virt mailing list submissions to
        [email protected]

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&amp;data=02%7C01%7C%7C1b1ff21daaae47317c1d08d858a5b905%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637356816074942137&amp;sdata=GhJFGCT2YcbsOcSHWcDOuAlirayGxiVvuD2L2XspkVk%3D&amp;reserved=0
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

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 <[email protected]>
To: Discussion about the virtualization on CentOS
        <[email protected]>
Subject: Re: [CentOS-virt] Centos + VM + public ip
Message-ID:
        <[email protected]>
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 <[email protected]>
To: Discussion about the virtualization on CentOS
        <[email protected]>
Subject: Re: [CentOS-virt] Centos + VM + public ip
Message-ID: <[email protected]>
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<[email protected]> 
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
[email protected]
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos-virt&amp;data=02%7C01%7C%7C1b1ff21daaae47317c1d08d858a5b905%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637356816074942137&amp;sdata=GhJFGCT2YcbsOcSHWcDOuAlirayGxiVvuD2L2XspkVk%3D&amp;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&amp;data=02%7C01%7C%7C1b1ff21daaae47317c1d08d858a5b905%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637356816074942137&amp;sdata=rf239Nrz9rxRJ%2FsVe%2F5hKWDAqucGXzHhbMd%2BaXTscmU%3D&amp;reserved=0>

------------------------------

Subject: Digest Footer

_______________________________________________
CentOS-virt mailing list
[email protected]
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentos-virt&amp;data=02%7C01%7C%7C1b1ff21daaae47317c1d08d858a5b905%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637356816074952133&amp;sdata=LZJcnDWdjiEMLYSayDjvazxznLSLntO%2B9XcZnVZ%2BMRY%3D&amp;reserved=0


------------------------------

End of CentOS-virt Digest, Vol 156, Issue 3
*******************************************
_______________________________________________
CentOS-virt mailing list
[email protected]
https://lists.centos.org/mailman/listinfo/centos-virt

Reply via email to