Tue Apr 04, 2023 2:29 pm
When adding interfaces to a CHR instance running on qemu/kvm, it's best to create a new bridge for each physical NIC that you want to connect to the virtual machine. This way, each bridge corresponds to a single physical NIC, and you can configure the bridges and NICs independently.
If you create one bridge and add multiple physical NICs to it, the CHR instance will send data to all of those physical NICs simultaneously. However, this may not be the best approach for your network configuration, as it can lead to network congestion and other issues. It's usually better to create separate bridges for each physical NIC, so that you can control the flow of traffic more effectively.
To add interfaces to a CHR instance in qemu/kvm, you can use the "add-nic" command in the qemu monitor. For example, to add a new interface to a CHR instance running on qemu/kvm, you could run the following command in the qemu monitor:
add-nic CHR nic_model=virtio-net-pci,netdev=chr-net-1
This would add a new interface to the CHR instance, using the "virtio-net-pci" NIC model and the "chr-net-1" network device. You can then configure the new interface in CHR as needed.