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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20200907/7db0a90c/attachment-0005.html>
On Mon, Sep 7, 2020 at 12:24 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?Don't you need to talk to OVH about this? I know how I'd do it in my own network setups, or AWS, or Google, but I'm sure these folks have their own tools. It's not an OS problem, it's a classic IT problem. Just the sort of thing that DevOps would set up standards and basic practices for.
> 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.
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://lists.centos.org/mailman/listinfo/centos-virt -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20200913/79fba96f/attachment-0005.html>
Maybe Matching Threads
- CentOS-virt Digest, Vol 156, Issue 3
- Centos + VM + public ip
- Network configuration issue with second public ip on CentOS 6
- fields_for and Conflicting types for parameter containers. Expected an instance of Hash but found an instance of Array.
- [Bug 2027] New: SSH generates misleading errors when using public key authentication