Re: CentOS-virt Digest, Vol 156, Issue 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> on behalf of centos-virt-request@xxxxxxxxxx <centos-virt-request@xxxxxxxxxx>
Sent: Monday, September 14, 2020 5:00:03 AM
To: centos-virt@xxxxxxxxxx <centos-virt@xxxxxxxxxx>
Subject: CentOS-virt Digest, Vol 156, Issue 3
 
Send CentOS-virt mailing list submissions to
        centos-virt@xxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        https://nam01.safelinks.protection.outlook.com/?url="">
or, via email, send a message with subject or body 'help' to
        centos-virt-request@xxxxxxxxxx

You can reach the person managing the list at
        centos-virt-owner@xxxxxxxxxx

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@xxxxxxxxxxxxx>
To: Discussion about the virtualization on CentOS
        <centos-virt@xxxxxxxxxx>
Subject: Re: Centos + VM + public ip
Message-ID:
        <1516494674.1906.1600001220556.JavaMail.zimbra@xxxxxxxxxxxxx>
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@xxxxxxxxxxx>
To: Discussion about the virtualization on CentOS
        <centos-virt@xxxxxxxxxx>
Subject: Re: Centos + VM + public ip
Message-ID: <868650482.1233750.1600002902917@xxxxxxxxxxxxxx>
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@xxxxxxxxx> 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@xxxxxxxxxx
https://nam01.safelinks.protection.outlook.com/?url="">
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://nam01.safelinks.protection.outlook.com/?url="">>

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

Subject: Digest Footer

_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
https://nam01.safelinks.protection.outlook.com/?url="">


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

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

[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux