New Question

Revision history [back]

click to hide/show revision 1
initial version

asked Oct 30 '14

xinjin gravatar image

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?

click to hide/show revision 2
No.2 Revision

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?

click to hide/show revision 3
No.3 Revision

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?

click to hide/show revision 4
No.4 Revision

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?