On 1/29/21 12:49 AM, Danishka Navin wrote:
On Fri, Jan 29, 2021 at 1:44 PM Samuel Sieb <sam...@sieb.net <mailto:sam...@sieb.net>> wrote:

    On 1/29/21 12:08 AM, Danishka Navin wrote:
     > I have a CentOS 7  (use KVM) box with two physical NICs.
     > There is a fedora VM running.
     >
     > I need to route my VM traffic via one of the NIC.
     > This need to persistent.

    What are you using to run the vm?  If you use virt-manager, you can
    pick
    which interface the vm's network card is attached to.

kvm/qemu.
Prefer to use virsh command (as I can learn them) instead of virt-manager and also I have only console access.

Is this possible with a Linux bridge?
(If yes, appreciate if someone can mention steps.)

If you can do it with virt-manager, you should be able to do it with virsh. You need to configure the vm network card as either a nat or bridge on a specific host interface. I don't know what the commands are for that.

But even for remote systems, I use virt-manager over an ssh tunnel for vm management or possibly a vnc server on the remote system.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to