New Question

Revision history [back]

click to hide/show revision 1
initial version

how to add physics nic to ovs-on-hyper-v

If it is a vm nic, it can be adder to ovs-on-hyper-v by this way.

$vnic = Get-VMNetworkAdapter VM1
Connect-VMNetworkAdapter -VMNetworkAdapter $vnic -SwitchName external
$vnic | Set-VMNetworkAdapterOVSPort -OVSPortName ovs-port-1
ovs-vsctl.exe add-port br0 ovs-port-1

But if it is a physics nic, how do?

how to do i add physics nic to ovs-on-hyper-v

If it is a vm nic, it can be adder to ovs-on-hyper-v by this way.

$vnic = Get-VMNetworkAdapter VM1
Connect-VMNetworkAdapter -VMNetworkAdapter $vnic -SwitchName external
$vnic | Set-VMNetworkAdapterOVSPort -OVSPortName ovs-port-1
ovs-vsctl.exe add-port br0 ovs-port-1

But if it is a physics nic, how do?

how do i add physics nic to ovs-on-hyper-v

If it is a vm nic, it can be adder add to ovs-on-hyper-v by this way.

$vnic = Get-VMNetworkAdapter VM1
Connect-VMNetworkAdapter -VMNetworkAdapter $vnic -SwitchName external
$vnic | Set-VMNetworkAdapterOVSPort -OVSPortName ovs-port-1
ovs-vsctl.exe add-port br0 ovs-port-1

But if it is a physics nic, how do?

how do i add physics physical nic to ovs-on-hyper-v

If it is a vm nic, it can be add to ovs-on-hyper-v by this way.

$vnic = Get-VMNetworkAdapter VM1
Connect-VMNetworkAdapter -VMNetworkAdapter $vnic -SwitchName external
$vnic | Set-VMNetworkAdapterOVSPort -OVSPortName ovs-port-1
ovs-vsctl.exe add-port br0 ovs-port-1

But if it is a physics physical nic, how do?