Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
It worked! I can ping from both sides.

Thanks a lot, Alin! I really appreciate your guidance.

On Thu, Apr 20, 2023 at 5:21 PM Abu Rasheda  wrote:

> I was able to change the name
>
> On Thu, Apr 20, 2023 at 4:35 PM Abu Rasheda  wrote:
>
>> PS C:\OVS-Compiled> Get-VMNetworkAdapterWithOVSPort left| grep ElementName
>> ElementName : ovs-port-a
>> PS C:\OVS-Compiled> Get-VMNetworkAdapterWithOVSPort right| grep
>> ElementName
>> ElementName : Dynamic Ethernet Switch Port
>>
>>
>> On Thu, Apr 20, 2023 at 4:09 PM Alin Serdean 
>> wrote:
>>
>>> You are correct. My memory was fuzzy around it.
>>>
>>> Can you please this function + vmname
>>>
>>>
>>> https://github.com/openvswitch/ovs/blob/master/datapath-windows/misc/OVS.psm1#L120
>>>
>>> This should give you the elementname. And that can be used inside ovs.
>>>
>>> There are also setters and getters in that cmdlet.
>>>
>>> Sent from phone
>>>
>>> On 21 Apr 2023, at 00:46, Abu Rasheda  wrote:
>>>
>>> 
>>> There is no column with ElementName. I am attaching the full output. I
>>> probably missed something in the configuration.
>>>
>>> Thanks!
>>>
>>> On Thu, Apr 20, 2023 at 3:30 PM Alin Serdean 
>>> wrote:
>>>
 Can you provide the output of


 Get-VMNetworkAdapter left | fl


 Get-VMNetworkAdapter right | fl


 The above command will dump the whole object.
 I’m interested in looking at their ElementName

 That string will be used to match ports on the OVS side (
 https://docs.openvswitch.org/en/latest/topics/windows/?highlight=Windows%20#port-management
 )

 Sent from phone

 On 21 Apr 2023, at 00:15, Abu Rasheda  wrote:

 
 On Thu, Apr 20, 2023 at 6:17 AM Alin Serdean 
 wrote:

> PS C:\OVS-Compiled> ovs-vsctl.exe show
> ca9219b1-ceca-435e-b42a-b3e094237045
> Bridge br-int
> Port ovs-port-a
> Interface ovs-port-a
> Port br-int
> Interface br-int
> type: internal
> Bridge br-pif
> Port NIC1
> Interface NIC1
> Port br-pif
> Interface br-pif
> type: internal
>

 This is part of my confusion and likely the issue I am facing!

 In Linux, I can add ports of the VMs to the same bridge and traffic
 will flow between the VMs!

 However, in Windows, I don't know how to do this!

 PS C:\OVS-Compiled> Get-VMSwitch

 NameSwitchType NetAdapterInterfaceDescription
 -- --
 OVS Extended Switch External   Broadcom NetXtreme Gigabit Ethernet #2

 Broadcom NetXtreme Gigabit Ethernet #2 is an alias for NIC1

 PS C:\OVS-Compiled> Get-VMNetworkAdapter left

 NameIsManagementOs VMName SwitchName  MacAddress
 Status IPAddresses
 -- -- --  --
 -- ---
 Network Adapter False  left   OVS Extended Switch 00155D727601
 {Ok}   {}


 PS C:\OVS-Compiled> Get-VMNetworkAdapter right

 NameIsManagementOs VMName SwitchName  MacAddress
 Status IPAddresses
 -- -- --  --
 -- ---
 Network Adapter False  right  OVS Extended Switch 00155D727602
 {Ok}   {}


 So, I only have a choice to either connect the VM to "OVS Extended
 Switch" or not connect at all.

 I have one working NIC1 which Is associated to the OVS, the other NIC
 is not configured.

 What I am missing?

 Thanks for the support.


>
> From your config I’m not sure which adapter corresponds to which VM.
>
> Ca you please clarify the target and destination port you want to ping?
>
> Alin.
>
> Sent from phone
>
> On 20 Apr 2023, at 11:43, Abu Rasheda  wrote:
>
> 
> On Mon, Apr 17, 2023 at 1:44 PM Alin Serdean 
> wrote:
>
>> Hi,
>>
>> The issue you are facing might be because the name of the network
>> adapters is the same.
>>
>> I wanted to emphasize the importance of the following step:
>> https://docs.openvswitch.org/en/latest/intro/install/windows/#add-virtual-interfaces-vifs
>>
>
> I followed your advice! I am able to add both Ubuntus to the bridge.
> However, the ping does. not work. (The details are attached to this 
> email).
> I think the issue is attaching the correct VM ports? Am I missing 
> something?
>
> Abu Rasheda
>
> This is something particularly important for Windows and not the same
>> under other OS.
>>
>> Alin.
>>
>> Sent from phone
>>
>> On 17 Apr 2023, at 20:33, Abu Rasheda via discuss <
>> ovs-discuss@openvswitch.org> 

Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
I was able to change the name

On Thu, Apr 20, 2023 at 4:35 PM Abu Rasheda  wrote:

> PS C:\OVS-Compiled> Get-VMNetworkAdapterWithOVSPort left| grep ElementName
> ElementName : ovs-port-a
> PS C:\OVS-Compiled> Get-VMNetworkAdapterWithOVSPort right| grep ElementName
> ElementName : Dynamic Ethernet Switch Port
>
>
> On Thu, Apr 20, 2023 at 4:09 PM Alin Serdean 
> wrote:
>
>> You are correct. My memory was fuzzy around it.
>>
>> Can you please this function + vmname
>>
>>
>> https://github.com/openvswitch/ovs/blob/master/datapath-windows/misc/OVS.psm1#L120
>>
>> This should give you the elementname. And that can be used inside ovs.
>>
>> There are also setters and getters in that cmdlet.
>>
>> Sent from phone
>>
>> On 21 Apr 2023, at 00:46, Abu Rasheda  wrote:
>>
>> 
>> There is no column with ElementName. I am attaching the full output. I
>> probably missed something in the configuration.
>>
>> Thanks!
>>
>> On Thu, Apr 20, 2023 at 3:30 PM Alin Serdean 
>> wrote:
>>
>>> Can you provide the output of
>>>
>>>
>>> Get-VMNetworkAdapter left | fl
>>>
>>>
>>> Get-VMNetworkAdapter right | fl
>>>
>>>
>>> The above command will dump the whole object.
>>> I’m interested in looking at their ElementName
>>>
>>> That string will be used to match ports on the OVS side (
>>> https://docs.openvswitch.org/en/latest/topics/windows/?highlight=Windows%20#port-management
>>> )
>>>
>>> Sent from phone
>>>
>>> On 21 Apr 2023, at 00:15, Abu Rasheda  wrote:
>>>
>>> 
>>> On Thu, Apr 20, 2023 at 6:17 AM Alin Serdean 
>>> wrote:
>>>
 PS C:\OVS-Compiled> ovs-vsctl.exe show
 ca9219b1-ceca-435e-b42a-b3e094237045
 Bridge br-int
 Port ovs-port-a
 Interface ovs-port-a
 Port br-int
 Interface br-int
 type: internal
 Bridge br-pif
 Port NIC1
 Interface NIC1
 Port br-pif
 Interface br-pif
 type: internal

>>>
>>> This is part of my confusion and likely the issue I am facing!
>>>
>>> In Linux, I can add ports of the VMs to the same bridge and traffic will
>>> flow between the VMs!
>>>
>>> However, in Windows, I don't know how to do this!
>>>
>>> PS C:\OVS-Compiled> Get-VMSwitch
>>>
>>> NameSwitchType NetAdapterInterfaceDescription
>>> -- --
>>> OVS Extended Switch External   Broadcom NetXtreme Gigabit Ethernet #2
>>>
>>> Broadcom NetXtreme Gigabit Ethernet #2 is an alias for NIC1
>>>
>>> PS C:\OVS-Compiled> Get-VMNetworkAdapter left
>>>
>>> NameIsManagementOs VMName SwitchName  MacAddress
>>> Status IPAddresses
>>> -- -- --  --
>>> -- ---
>>> Network Adapter False  left   OVS Extended Switch 00155D727601
>>> {Ok}   {}
>>>
>>>
>>> PS C:\OVS-Compiled> Get-VMNetworkAdapter right
>>>
>>> NameIsManagementOs VMName SwitchName  MacAddress
>>> Status IPAddresses
>>> -- -- --  --
>>> -- ---
>>> Network Adapter False  right  OVS Extended Switch 00155D727602
>>> {Ok}   {}
>>>
>>>
>>> So, I only have a choice to either connect the VM to "OVS Extended
>>> Switch" or not connect at all.
>>>
>>> I have one working NIC1 which Is associated to the OVS, the other NIC is
>>> not configured.
>>>
>>> What I am missing?
>>>
>>> Thanks for the support.
>>>
>>>

 From your config I’m not sure which adapter corresponds to which VM.

 Ca you please clarify the target and destination port you want to ping?

 Alin.

 Sent from phone

 On 20 Apr 2023, at 11:43, Abu Rasheda  wrote:

 
 On Mon, Apr 17, 2023 at 1:44 PM Alin Serdean 
 wrote:

> Hi,
>
> The issue you are facing might be because the name of the network
> adapters is the same.
>
> I wanted to emphasize the importance of the following step:
> https://docs.openvswitch.org/en/latest/intro/install/windows/#add-virtual-interfaces-vifs
>

 I followed your advice! I am able to add both Ubuntus to the bridge.
 However, the ping does. not work. (The details are attached to this email).
 I think the issue is attaching the correct VM ports? Am I missing 
 something?

 Abu Rasheda

 This is something particularly important for Windows and not the same
> under other OS.
>
> Alin.
>
> Sent from phone
>
> On 17 Apr 2023, at 20:33, Abu Rasheda via discuss <
> ovs-discuss@openvswitch.org> wrote:
>
> 
> Do you have any ideas, or if this is the wrong list, the
> recommendation for another one?
>
> On Thu, Apr 13, 2023 at 7:14 PM Abu Rasheda via discuss <
> ovs-discuss@openvswitch.org> wrote:
>
>> Hello!
>>
>> On Windows Server 2019, compiled, and loaded OVS kernel 

Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
How do I rename it? or just create a new one

On Thu, Apr 20, 2023 at 5:15 PM Alin Serdean  wrote:

> I suggest to rename the adapter of the VM “right “to something more simple
> (i.e. ovs-port-b) using
> https://github.com/openvswitch/ovs/blob/master/datapath-windows/misc/OVS.psm1#L184
>
> After add you can add it to the  br-int bridge using that name.
>
> Sent from phone
>
> On 21 Apr 2023, at 01:36, Abu Rasheda  wrote:
>
> 
> PS C:\OVS-Compiled> Get-VMNetworkAdapterWithOVSPort left| grep ElementName
> ElementName : ovs-port-a
> PS C:\OVS-Compiled> Get-VMNetworkAdapterWithOVSPort right| grep ElementName
> ElementName : Dynamic Ethernet Switch Port
>
>
> On Thu, Apr 20, 2023 at 4:09 PM Alin Serdean 
> wrote:
>
>> You are correct. My memory was fuzzy around it.
>>
>> Can you please this function + vmname
>>
>>
>> https://github.com/openvswitch/ovs/blob/master/datapath-windows/misc/OVS.psm1#L120
>>
>> This should give you the elementname. And that can be used inside ovs.
>>
>> There are also setters and getters in that cmdlet.
>>
>> Sent from phone
>>
>> On 21 Apr 2023, at 00:46, Abu Rasheda  wrote:
>>
>> 
>> There is no column with ElementName. I am attaching the full output. I
>> probably missed something in the configuration.
>>
>> Thanks!
>>
>> On Thu, Apr 20, 2023 at 3:30 PM Alin Serdean 
>> wrote:
>>
>>> Can you provide the output of
>>>
>>>
>>> Get-VMNetworkAdapter left | fl
>>>
>>>
>>> Get-VMNetworkAdapter right | fl
>>>
>>>
>>> The above command will dump the whole object.
>>> I’m interested in looking at their ElementName
>>>
>>> That string will be used to match ports on the OVS side (
>>> https://docs.openvswitch.org/en/latest/topics/windows/?highlight=Windows%20#port-management
>>> )
>>>
>>> Sent from phone
>>>
>>> On 21 Apr 2023, at 00:15, Abu Rasheda  wrote:
>>>
>>> 
>>> On Thu, Apr 20, 2023 at 6:17 AM Alin Serdean 
>>> wrote:
>>>
 PS C:\OVS-Compiled> ovs-vsctl.exe show
 ca9219b1-ceca-435e-b42a-b3e094237045
 Bridge br-int
 Port ovs-port-a
 Interface ovs-port-a
 Port br-int
 Interface br-int
 type: internal
 Bridge br-pif
 Port NIC1
 Interface NIC1
 Port br-pif
 Interface br-pif
 type: internal

>>>
>>> This is part of my confusion and likely the issue I am facing!
>>>
>>> In Linux, I can add ports of the VMs to the same bridge and traffic will
>>> flow between the VMs!
>>>
>>> However, in Windows, I don't know how to do this!
>>>
>>> PS C:\OVS-Compiled> Get-VMSwitch
>>>
>>> NameSwitchType NetAdapterInterfaceDescription
>>> -- --
>>> OVS Extended Switch External   Broadcom NetXtreme Gigabit Ethernet #2
>>>
>>> Broadcom NetXtreme Gigabit Ethernet #2 is an alias for NIC1
>>>
>>> PS C:\OVS-Compiled> Get-VMNetworkAdapter left
>>>
>>> NameIsManagementOs VMName SwitchName  MacAddress
>>> Status IPAddresses
>>> -- -- --  --
>>> -- ---
>>> Network Adapter False  left   OVS Extended Switch 00155D727601
>>> {Ok}   {}
>>>
>>>
>>> PS C:\OVS-Compiled> Get-VMNetworkAdapter right
>>>
>>> NameIsManagementOs VMName SwitchName  MacAddress
>>> Status IPAddresses
>>> -- -- --  --
>>> -- ---
>>> Network Adapter False  right  OVS Extended Switch 00155D727602
>>> {Ok}   {}
>>>
>>>
>>> So, I only have a choice to either connect the VM to "OVS Extended
>>> Switch" or not connect at all.
>>>
>>> I have one working NIC1 which Is associated to the OVS, the other NIC is
>>> not configured.
>>>
>>> What I am missing?
>>>
>>> Thanks for the support.
>>>
>>>

 From your config I’m not sure which adapter corresponds to which VM.

 Ca you please clarify the target and destination port you want to ping?

 Alin.

 Sent from phone

 On 20 Apr 2023, at 11:43, Abu Rasheda  wrote:

 
 On Mon, Apr 17, 2023 at 1:44 PM Alin Serdean 
 wrote:

> Hi,
>
> The issue you are facing might be because the name of the network
> adapters is the same.
>
> I wanted to emphasize the importance of the following step:
> https://docs.openvswitch.org/en/latest/intro/install/windows/#add-virtual-interfaces-vifs
>

 I followed your advice! I am able to add both Ubuntus to the bridge.
 However, the ping does. not work. (The details are attached to this email).
 I think the issue is attaching the correct VM ports? Am I missing 
 something?

 Abu Rasheda

 This is something particularly important for Windows and not the same
> under other OS.
>
> Alin.
>
> Sent from phone
>
> On 17 Apr 2023, at 20:33, Abu Rasheda via discuss <
> 

Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Alin Serdean via discuss
I suggest to rename the adapter of the VM “right “to something more simple (i.e. ovs-port-b) using https://github.com/openvswitch/ovs/blob/master/datapath-windows/misc/OVS.psm1#L184After add you can add it to the  br-int bridge using that name.Sent from phone On 21 Apr 2023, at 01:36, Abu Rasheda  wrote:PS C:\OVS-Compiled> Get-VMNetworkAdapterWithOVSPort left| grep ElementNameElementName             : ovs-port-aPS C:\OVS-Compiled> Get-VMNetworkAdapterWithOVSPort right| grep ElementNameElementName             : Dynamic Ethernet Switch PortOn Thu, Apr 20, 2023 at 4:09 PM Alin Serdean  wrote:You are correct. My memory was fuzzy around it.Can you please this function + vmnamehttps://github.com/openvswitch/ovs/blob/master/datapath-windows/misc/OVS.psm1#L120This should give you the elementname. And that can be used inside ovs.There are also setters and getters in that cmdlet.Sent from phone On 21 Apr 2023, at 00:46, Abu Rasheda  wrote:There is no column with ElementName. I am attaching the full output. I probably missed something in the configuration.Thanks!On Thu, Apr 20, 2023 at 3:30 PM Alin Serdean  wrote:Can you provide the output of Get-VMNetworkAdapter left | flGet-VMNetworkAdapter right | flThe above command will dump the whole object.I’m interested in looking at their ElementNameThat string will be used to match ports on the OVS side (https://docs.openvswitch.org/en/latest/topics/windows/?highlight=Windows%20#port-management)Sent from phone On 21 Apr 2023, at 00:15, Abu Rasheda  wrote:On Thu, Apr 20, 2023 at 6:17 AM Alin Serdean  wrote:PS C:\OVS-Compiled> ovs-vsctl.exe showca9219b1-ceca-435e-b42a-b3e094237045    Bridge br-int        Port ovs-port-a            Interface ovs-port-a        Port br-int            Interface br-int                type: internal    Bridge br-pif        Port NIC1            Interface NIC1        Port br-pif            Interface br-pif                type: internalThis is part of my confusion and likely the issue I am facing!In Linux, I can add ports of the VMs to the same bridge and traffic will flow between the VMs!However, in Windows, I don't know how to do this!PS C:\OVS-Compiled> Get-VMSwitchName                SwitchType NetAdapterInterfaceDescription                -- --OVS Extended Switch External   Broadcom NetXtreme Gigabit Ethernet #2Broadcom NetXtreme Gigabit Ethernet #2 is an alias for NIC1 PS C:\OVS-Compiled> Get-VMNetworkAdapter leftName            IsManagementOs VMName SwitchName          MacAddress   Status IPAddresses            -- -- --          --   -- ---Network Adapter False          left   OVS Extended Switch 00155D727601 {Ok}   {}PS C:\OVS-Compiled> Get-VMNetworkAdapter rightName            IsManagementOs VMName SwitchName          MacAddress   Status IPAddresses            -- -- --          --   -- ---Network Adapter False          right  OVS Extended Switch 00155D727602 {Ok}   {}So, I only have a choice to either connect the VM to "OVS Extended Switch" or not connect at all.I have one working NIC1 which Is associated to the OVS, the other NIC is not configured.What I am missing?Thanks for the support.From your config I’m not sure which adapter corresponds to which VM.Ca you please clarify the target and destination port you want to ping?Alin.Sent from phone On 20 Apr 2023, at 11:43, Abu Rasheda  wrote:On Mon, Apr 17, 2023 at 1:44 PM Alin Serdean  wrote:Hi,The issue you are facing might be because the name of the network adapters is the same.I wanted to emphasize the importance of the following step: https://docs.openvswitch.org/en/latest/intro/install/windows/#add-virtual-interfaces-vifsI followed your advice! I am able to add both Ubuntus to the bridge. However, the ping does. not work. (The details are attached to this email). I think the issue is attaching the correct VM ports? Am I missing something?Abu RashedaThis is something particularly important for Windows and not the same under other OS.Alin.Sent from phone On 17 Apr 2023, at 20:33, Abu Rasheda via discuss  wrote:Do you have any ideas, or if this is the wrong list, the recommendation for another one?On Thu, Apr 13, 2023 at 7:14 PM Abu Rasheda via discuss  wrote:Hello!

On Windows Server 2019, compiled, and loaded OVS kernel module.
Commands like ovs-vsctl & ovs-dpctl are running fine.

I have two VMs (both running Ubuntu) under Hyper-V and have OVS
extended switch setup as described in
https://docs.openvswitch.org/en/latest/intro/install/windows/

I can connect one Ubuntu VM to the OVS switch, under the "Network
Adaptor" setting for the virtual machine. When I try to ping an IP
address get prints from the OVS datapath in the kernel! This 

Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
PS C:\OVS-Compiled> Get-VMNetworkAdapterWithOVSPort left| grep ElementName
ElementName : ovs-port-a
PS C:\OVS-Compiled> Get-VMNetworkAdapterWithOVSPort right| grep ElementName
ElementName : Dynamic Ethernet Switch Port


On Thu, Apr 20, 2023 at 4:09 PM Alin Serdean  wrote:

> You are correct. My memory was fuzzy around it.
>
> Can you please this function + vmname
>
>
> https://github.com/openvswitch/ovs/blob/master/datapath-windows/misc/OVS.psm1#L120
>
> This should give you the elementname. And that can be used inside ovs.
>
> There are also setters and getters in that cmdlet.
>
> Sent from phone
>
> On 21 Apr 2023, at 00:46, Abu Rasheda  wrote:
>
> 
> There is no column with ElementName. I am attaching the full output. I
> probably missed something in the configuration.
>
> Thanks!
>
> On Thu, Apr 20, 2023 at 3:30 PM Alin Serdean 
> wrote:
>
>> Can you provide the output of
>>
>>
>> Get-VMNetworkAdapter left | fl
>>
>>
>> Get-VMNetworkAdapter right | fl
>>
>>
>> The above command will dump the whole object.
>> I’m interested in looking at their ElementName
>>
>> That string will be used to match ports on the OVS side (
>> https://docs.openvswitch.org/en/latest/topics/windows/?highlight=Windows%20#port-management
>> )
>>
>> Sent from phone
>>
>> On 21 Apr 2023, at 00:15, Abu Rasheda  wrote:
>>
>> 
>> On Thu, Apr 20, 2023 at 6:17 AM Alin Serdean 
>> wrote:
>>
>>> PS C:\OVS-Compiled> ovs-vsctl.exe show
>>> ca9219b1-ceca-435e-b42a-b3e094237045
>>> Bridge br-int
>>> Port ovs-port-a
>>> Interface ovs-port-a
>>> Port br-int
>>> Interface br-int
>>> type: internal
>>> Bridge br-pif
>>> Port NIC1
>>> Interface NIC1
>>> Port br-pif
>>> Interface br-pif
>>> type: internal
>>>
>>
>> This is part of my confusion and likely the issue I am facing!
>>
>> In Linux, I can add ports of the VMs to the same bridge and traffic will
>> flow between the VMs!
>>
>> However, in Windows, I don't know how to do this!
>>
>> PS C:\OVS-Compiled> Get-VMSwitch
>>
>> NameSwitchType NetAdapterInterfaceDescription
>> -- --
>> OVS Extended Switch External   Broadcom NetXtreme Gigabit Ethernet #2
>>
>> Broadcom NetXtreme Gigabit Ethernet #2 is an alias for NIC1
>>
>> PS C:\OVS-Compiled> Get-VMNetworkAdapter left
>>
>> NameIsManagementOs VMName SwitchName  MacAddress
>> Status IPAddresses
>> -- -- --  --
>> -- ---
>> Network Adapter False  left   OVS Extended Switch 00155D727601
>> {Ok}   {}
>>
>>
>> PS C:\OVS-Compiled> Get-VMNetworkAdapter right
>>
>> NameIsManagementOs VMName SwitchName  MacAddress
>> Status IPAddresses
>> -- -- --  --
>> -- ---
>> Network Adapter False  right  OVS Extended Switch 00155D727602
>> {Ok}   {}
>>
>>
>> So, I only have a choice to either connect the VM to "OVS Extended
>> Switch" or not connect at all.
>>
>> I have one working NIC1 which Is associated to the OVS, the other NIC is
>> not configured.
>>
>> What I am missing?
>>
>> Thanks for the support.
>>
>>
>>>
>>> From your config I’m not sure which adapter corresponds to which VM.
>>>
>>> Ca you please clarify the target and destination port you want to ping?
>>>
>>> Alin.
>>>
>>> Sent from phone
>>>
>>> On 20 Apr 2023, at 11:43, Abu Rasheda  wrote:
>>>
>>> 
>>> On Mon, Apr 17, 2023 at 1:44 PM Alin Serdean 
>>> wrote:
>>>
 Hi,

 The issue you are facing might be because the name of the network
 adapters is the same.

 I wanted to emphasize the importance of the following step:
 https://docs.openvswitch.org/en/latest/intro/install/windows/#add-virtual-interfaces-vifs

>>>
>>> I followed your advice! I am able to add both Ubuntus to the bridge.
>>> However, the ping does. not work. (The details are attached to this email).
>>> I think the issue is attaching the correct VM ports? Am I missing something?
>>>
>>> Abu Rasheda
>>>
>>> This is something particularly important for Windows and not the same
 under other OS.

 Alin.

 Sent from phone

 On 17 Apr 2023, at 20:33, Abu Rasheda via discuss <
 ovs-discuss@openvswitch.org> wrote:

 
 Do you have any ideas, or if this is the wrong list, the recommendation
 for another one?

 On Thu, Apr 13, 2023 at 7:14 PM Abu Rasheda via discuss <
 ovs-discuss@openvswitch.org> wrote:

> Hello!
>
> On Windows Server 2019, compiled, and loaded OVS kernel module.
> Commands like ovs-vsctl & ovs-dpctl are running fine.
>
> I have two VMs (both running Ubuntu) under Hyper-V and have OVS
> extended switch setup as described in
> https://docs.openvswitch.org/en/latest/intro/install/windows/
>
> 

Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Alin Serdean via discuss
You are correct. My memory was fuzzy around it.Can you please this function + vmnamehttps://github.com/openvswitch/ovs/blob/master/datapath-windows/misc/OVS.psm1#L120This should give you the elementname. And that can be used inside ovs.There are also setters and getters in that cmdlet.Sent from phone On 21 Apr 2023, at 00:46, Abu Rasheda  wrote:There is no column with ElementName. I am attaching the full output. I probably missed something in the configuration.Thanks!On Thu, Apr 20, 2023 at 3:30 PM Alin Serdean  wrote:Can you provide the output of Get-VMNetworkAdapter left | flGet-VMNetworkAdapter right | flThe above command will dump the whole object.I’m interested in looking at their ElementNameThat string will be used to match ports on the OVS side (https://docs.openvswitch.org/en/latest/topics/windows/?highlight=Windows%20#port-management)Sent from phone On 21 Apr 2023, at 00:15, Abu Rasheda  wrote:On Thu, Apr 20, 2023 at 6:17 AM Alin Serdean  wrote:PS C:\OVS-Compiled> ovs-vsctl.exe showca9219b1-ceca-435e-b42a-b3e094237045    Bridge br-int        Port ovs-port-a            Interface ovs-port-a        Port br-int            Interface br-int                type: internal    Bridge br-pif        Port NIC1            Interface NIC1        Port br-pif            Interface br-pif                type: internalThis is part of my confusion and likely the issue I am facing!In Linux, I can add ports of the VMs to the same bridge and traffic will flow between the VMs!However, in Windows, I don't know how to do this!PS C:\OVS-Compiled> Get-VMSwitchName                SwitchType NetAdapterInterfaceDescription                -- --OVS Extended Switch External   Broadcom NetXtreme Gigabit Ethernet #2Broadcom NetXtreme Gigabit Ethernet #2 is an alias for NIC1 PS C:\OVS-Compiled> Get-VMNetworkAdapter leftName            IsManagementOs VMName SwitchName          MacAddress   Status IPAddresses            -- -- --          --   -- ---Network Adapter False          left   OVS Extended Switch 00155D727601 {Ok}   {}PS C:\OVS-Compiled> Get-VMNetworkAdapter rightName            IsManagementOs VMName SwitchName          MacAddress   Status IPAddresses            -- -- --          --   -- ---Network Adapter False          right  OVS Extended Switch 00155D727602 {Ok}   {}So, I only have a choice to either connect the VM to "OVS Extended Switch" or not connect at all.I have one working NIC1 which Is associated to the OVS, the other NIC is not configured.What I am missing?Thanks for the support.From your config I’m not sure which adapter corresponds to which VM.Ca you please clarify the target and destination port you want to ping?Alin.Sent from phone On 20 Apr 2023, at 11:43, Abu Rasheda  wrote:On Mon, Apr 17, 2023 at 1:44 PM Alin Serdean  wrote:Hi,The issue you are facing might be because the name of the network adapters is the same.I wanted to emphasize the importance of the following step: https://docs.openvswitch.org/en/latest/intro/install/windows/#add-virtual-interfaces-vifsI followed your advice! I am able to add both Ubuntus to the bridge. However, the ping does. not work. (The details are attached to this email). I think the issue is attaching the correct VM ports? Am I missing something?Abu RashedaThis is something particularly important for Windows and not the same under other OS.Alin.Sent from phone On 17 Apr 2023, at 20:33, Abu Rasheda via discuss  wrote:Do you have any ideas, or if this is the wrong list, the recommendation for another one?On Thu, Apr 13, 2023 at 7:14 PM Abu Rasheda via discuss  wrote:Hello!

On Windows Server 2019, compiled, and loaded OVS kernel module.
Commands like ovs-vsctl & ovs-dpctl are running fine.

I have two VMs (both running Ubuntu) under Hyper-V and have OVS
extended switch setup as described in
https://docs.openvswitch.org/en/latest/intro/install/windows/

I can connect one Ubuntu VM to the OVS switch, under the "Network
Adaptor" setting for the virtual machine. When I try to ping an IP
address get prints from the OVS datapath in the kernel! This led me to
believe that OVS is installed and configured (I am from a Linux
background and Windows is new for me :)).

However, when I try to add another Ubuntu VM to the OVS switch, I get
the following error:

Synthetic Ethernet Port (Instance ID ..): Error '{Data Not Accepted}
The TDI client could not handle the data received during an
indication.'

Failed to allocate resources while connecting to a virtual network.
The Ethernet switch may not exit.

Can OVS Extended switch only connect to a single VM? (on the same host),

I can connect these two machines to Windows virtual switch and ping
them. So either my setup has issues for OVS or 

Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
There is no column with ElementName. I am attaching the full output. I
probably missed something in the configuration.

Thanks!

On Thu, Apr 20, 2023 at 3:30 PM Alin Serdean  wrote:

> Can you provide the output of
>
>
> Get-VMNetworkAdapter left | fl
>
>
> Get-VMNetworkAdapter right | fl
>
>
> The above command will dump the whole object.
> I’m interested in looking at their ElementName
>
> That string will be used to match ports on the OVS side (
> https://docs.openvswitch.org/en/latest/topics/windows/?highlight=Windows%20#port-management
> )
>
> Sent from phone
>
> On 21 Apr 2023, at 00:15, Abu Rasheda  wrote:
>
> 
> On Thu, Apr 20, 2023 at 6:17 AM Alin Serdean 
> wrote:
>
>> PS C:\OVS-Compiled> ovs-vsctl.exe show
>> ca9219b1-ceca-435e-b42a-b3e094237045
>> Bridge br-int
>> Port ovs-port-a
>> Interface ovs-port-a
>> Port br-int
>> Interface br-int
>> type: internal
>> Bridge br-pif
>> Port NIC1
>> Interface NIC1
>> Port br-pif
>> Interface br-pif
>> type: internal
>>
>
> This is part of my confusion and likely the issue I am facing!
>
> In Linux, I can add ports of the VMs to the same bridge and traffic will
> flow between the VMs!
>
> However, in Windows, I don't know how to do this!
>
> PS C:\OVS-Compiled> Get-VMSwitch
>
> NameSwitchType NetAdapterInterfaceDescription
> -- --
> OVS Extended Switch External   Broadcom NetXtreme Gigabit Ethernet #2
>
> Broadcom NetXtreme Gigabit Ethernet #2 is an alias for NIC1
>
> PS C:\OVS-Compiled> Get-VMNetworkAdapter left
>
> NameIsManagementOs VMName SwitchName  MacAddress
> Status IPAddresses
> -- -- --  --
> -- ---
> Network Adapter False  left   OVS Extended Switch 00155D727601
> {Ok}   {}
>
>
> PS C:\OVS-Compiled> Get-VMNetworkAdapter right
>
> NameIsManagementOs VMName SwitchName  MacAddress
> Status IPAddresses
> -- -- --  --
> -- ---
> Network Adapter False  right  OVS Extended Switch 00155D727602
> {Ok}   {}
>
>
> So, I only have a choice to either connect the VM to "OVS Extended Switch"
> or not connect at all.
>
> I have one working NIC1 which Is associated to the OVS, the other NIC is
> not configured.
>
> What I am missing?
>
> Thanks for the support.
>
>
>>
>> From your config I’m not sure which adapter corresponds to which VM.
>>
>> Ca you please clarify the target and destination port you want to ping?
>>
>> Alin.
>>
>> Sent from phone
>>
>> On 20 Apr 2023, at 11:43, Abu Rasheda  wrote:
>>
>> 
>> On Mon, Apr 17, 2023 at 1:44 PM Alin Serdean 
>> wrote:
>>
>>> Hi,
>>>
>>> The issue you are facing might be because the name of the network
>>> adapters is the same.
>>>
>>> I wanted to emphasize the importance of the following step:
>>> https://docs.openvswitch.org/en/latest/intro/install/windows/#add-virtual-interfaces-vifs
>>>
>>
>> I followed your advice! I am able to add both Ubuntus to the bridge.
>> However, the ping does. not work. (The details are attached to this email).
>> I think the issue is attaching the correct VM ports? Am I missing something?
>>
>> Abu Rasheda
>>
>> This is something particularly important for Windows and not the same
>>> under other OS.
>>>
>>> Alin.
>>>
>>> Sent from phone
>>>
>>> On 17 Apr 2023, at 20:33, Abu Rasheda via discuss <
>>> ovs-discuss@openvswitch.org> wrote:
>>>
>>> 
>>> Do you have any ideas, or if this is the wrong list, the recommendation
>>> for another one?
>>>
>>> On Thu, Apr 13, 2023 at 7:14 PM Abu Rasheda via discuss <
>>> ovs-discuss@openvswitch.org> wrote:
>>>
 Hello!

 On Windows Server 2019, compiled, and loaded OVS kernel module.
 Commands like ovs-vsctl & ovs-dpctl are running fine.

 I have two VMs (both running Ubuntu) under Hyper-V and have OVS
 extended switch setup as described in
 https://docs.openvswitch.org/en/latest/intro/install/windows/

 I can connect one Ubuntu VM to the OVS switch, under the "Network
 Adaptor" setting for the virtual machine. When I try to ping an IP
 address get prints from the OVS datapath in the kernel! This led me to
 believe that OVS is installed and configured (I am from a Linux
 background and Windows is new for me :)).

 However, when I try to add another Ubuntu VM to the OVS switch, I get
 the following error:

 Synthetic Ethernet Port (Instance ID ..): Error '{Data Not Accepted}
 The TDI client could not handle the data received during an
 indication.'

 Failed to allocate resources while connecting to a virtual network.
 The Ethernet switch may not exit.

 Can OVS Extended switch only connect to a single VM? (on the same host),

 I can connect these two machines 

Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Alin Serdean via discuss
Can you provide the output of Get-VMNetworkAdapter left | flGet-VMNetworkAdapter right | flThe above command will dump the whole object.I’m interested in looking at their ElementNameThat string will be used to match ports on the OVS side (https://docs.openvswitch.org/en/latest/topics/windows/?highlight=Windows%20#port-management)Sent from phone On 21 Apr 2023, at 00:15, Abu Rasheda  wrote:On Thu, Apr 20, 2023 at 6:17 AM Alin Serdean  wrote:PS C:\OVS-Compiled> ovs-vsctl.exe showca9219b1-ceca-435e-b42a-b3e094237045    Bridge br-int        Port ovs-port-a            Interface ovs-port-a        Port br-int            Interface br-int                type: internal    Bridge br-pif        Port NIC1            Interface NIC1        Port br-pif            Interface br-pif                type: internalThis is part of my confusion and likely the issue I am facing!In Linux, I can add ports of the VMs to the same bridge and traffic will flow between the VMs!However, in Windows, I don't know how to do this!PS C:\OVS-Compiled> Get-VMSwitchName                SwitchType NetAdapterInterfaceDescription                -- --OVS Extended Switch External   Broadcom NetXtreme Gigabit Ethernet #2Broadcom NetXtreme Gigabit Ethernet #2 is an alias for NIC1 PS C:\OVS-Compiled> Get-VMNetworkAdapter leftName            IsManagementOs VMName SwitchName          MacAddress   Status IPAddresses            -- -- --          --   -- ---Network Adapter False          left   OVS Extended Switch 00155D727601 {Ok}   {}PS C:\OVS-Compiled> Get-VMNetworkAdapter rightName            IsManagementOs VMName SwitchName          MacAddress   Status IPAddresses            -- -- --          --   -- ---Network Adapter False          right  OVS Extended Switch 00155D727602 {Ok}   {}So, I only have a choice to either connect the VM to "OVS Extended Switch" or not connect at all.I have one working NIC1 which Is associated to the OVS, the other NIC is not configured.What I am missing?Thanks for the support.From your config I’m not sure which adapter corresponds to which VM.Ca you please clarify the target and destination port you want to ping?Alin.Sent from phone On 20 Apr 2023, at 11:43, Abu Rasheda  wrote:On Mon, Apr 17, 2023 at 1:44 PM Alin Serdean  wrote:Hi,The issue you are facing might be because the name of the network adapters is the same.I wanted to emphasize the importance of the following step: https://docs.openvswitch.org/en/latest/intro/install/windows/#add-virtual-interfaces-vifsI followed your advice! I am able to add both Ubuntus to the bridge. However, the ping does. not work. (The details are attached to this email). I think the issue is attaching the correct VM ports? Am I missing something?Abu RashedaThis is something particularly important for Windows and not the same under other OS.Alin.Sent from phone On 17 Apr 2023, at 20:33, Abu Rasheda via discuss  wrote:Do you have any ideas, or if this is the wrong list, the recommendation for another one?On Thu, Apr 13, 2023 at 7:14 PM Abu Rasheda via discuss  wrote:Hello!

On Windows Server 2019, compiled, and loaded OVS kernel module.
Commands like ovs-vsctl & ovs-dpctl are running fine.

I have two VMs (both running Ubuntu) under Hyper-V and have OVS
extended switch setup as described in
https://docs.openvswitch.org/en/latest/intro/install/windows/

I can connect one Ubuntu VM to the OVS switch, under the "Network
Adaptor" setting for the virtual machine. When I try to ping an IP
address get prints from the OVS datapath in the kernel! This led me to
believe that OVS is installed and configured (I am from a Linux
background and Windows is new for me :)).

However, when I try to add another Ubuntu VM to the OVS switch, I get
the following error:

Synthetic Ethernet Port (Instance ID ..): Error '{Data Not Accepted}
The TDI client could not handle the data received during an
indication.'

Failed to allocate resources while connecting to a virtual network.
The Ethernet switch may not exit.

Can OVS Extended switch only connect to a single VM? (on the same host),

I can connect these two machines to Windows virtual switch and ping
them. So either my setup has issues for OVS or there is a limitation
on OVS.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

___discuss mailing listdisc...@openvswitch.orghttps://mail.openvswitch.org/mailman/listinfo/ovs-discuss

___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
On Thu, Apr 20, 2023 at 6:17 AM Alin Serdean  wrote:

> PS C:\OVS-Compiled> ovs-vsctl.exe show
> ca9219b1-ceca-435e-b42a-b3e094237045
> Bridge br-int
> Port ovs-port-a
> Interface ovs-port-a
> Port br-int
> Interface br-int
> type: internal
> Bridge br-pif
> Port NIC1
> Interface NIC1
> Port br-pif
> Interface br-pif
> type: internal
>

This is part of my confusion and likely the issue I am facing!

In Linux, I can add ports of the VMs to the same bridge and traffic will
flow between the VMs!

However, in Windows, I don't know how to do this!

PS C:\OVS-Compiled> Get-VMSwitch

NameSwitchType NetAdapterInterfaceDescription
-- --
OVS Extended Switch External   Broadcom NetXtreme Gigabit Ethernet #2

Broadcom NetXtreme Gigabit Ethernet #2 is an alias for NIC1

PS C:\OVS-Compiled> Get-VMNetworkAdapter left

NameIsManagementOs VMName SwitchName  MacAddress
Status IPAddresses
-- -- --  --
-- ---
Network Adapter False  left   OVS Extended Switch 00155D727601 {Ok}
  {}


PS C:\OVS-Compiled> Get-VMNetworkAdapter right

NameIsManagementOs VMName SwitchName  MacAddress
Status IPAddresses
-- -- --  --
-- ---
Network Adapter False  right  OVS Extended Switch 00155D727602 {Ok}
  {}


So, I only have a choice to either connect the VM to "OVS Extended Switch"
or not connect at all.

I have one working NIC1 which Is associated to the OVS, the other NIC is
not configured.

What I am missing?

Thanks for the support.


>
> From your config I’m not sure which adapter corresponds to which VM.
>
> Ca you please clarify the target and destination port you want to ping?
>
> Alin.
>
> Sent from phone
>
> On 20 Apr 2023, at 11:43, Abu Rasheda  wrote:
>
> 
> On Mon, Apr 17, 2023 at 1:44 PM Alin Serdean 
> wrote:
>
>> Hi,
>>
>> The issue you are facing might be because the name of the network
>> adapters is the same.
>>
>> I wanted to emphasize the importance of the following step:
>> https://docs.openvswitch.org/en/latest/intro/install/windows/#add-virtual-interfaces-vifs
>>
>
> I followed your advice! I am able to add both Ubuntus to the bridge.
> However, the ping does. not work. (The details are attached to this email).
> I think the issue is attaching the correct VM ports? Am I missing something?
>
> Abu Rasheda
>
> This is something particularly important for Windows and not the same
>> under other OS.
>>
>> Alin.
>>
>> Sent from phone
>>
>> On 17 Apr 2023, at 20:33, Abu Rasheda via discuss <
>> ovs-discuss@openvswitch.org> wrote:
>>
>> 
>> Do you have any ideas, or if this is the wrong list, the recommendation
>> for another one?
>>
>> On Thu, Apr 13, 2023 at 7:14 PM Abu Rasheda via discuss <
>> ovs-discuss@openvswitch.org> wrote:
>>
>>> Hello!
>>>
>>> On Windows Server 2019, compiled, and loaded OVS kernel module.
>>> Commands like ovs-vsctl & ovs-dpctl are running fine.
>>>
>>> I have two VMs (both running Ubuntu) under Hyper-V and have OVS
>>> extended switch setup as described in
>>> https://docs.openvswitch.org/en/latest/intro/install/windows/
>>>
>>> I can connect one Ubuntu VM to the OVS switch, under the "Network
>>> Adaptor" setting for the virtual machine. When I try to ping an IP
>>> address get prints from the OVS datapath in the kernel! This led me to
>>> believe that OVS is installed and configured (I am from a Linux
>>> background and Windows is new for me :)).
>>>
>>> However, when I try to add another Ubuntu VM to the OVS switch, I get
>>> the following error:
>>>
>>> Synthetic Ethernet Port (Instance ID ..): Error '{Data Not Accepted}
>>> The TDI client could not handle the data received during an
>>> indication.'
>>>
>>> Failed to allocate resources while connecting to a virtual network.
>>> The Ethernet switch may not exit.
>>>
>>> Can OVS Extended switch only connect to a single VM? (on the same host),
>>>
>>> I can connect these two machines to Windows virtual switch and ping
>>> them. So either my setup has issues for OVS or there is a limitation
>>> on OVS.
>>> ___
>>> discuss mailing list
>>> disc...@openvswitch.org
>>> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>>>
>> ___
>> discuss mailing list
>> disc...@openvswitch.org
>> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>>
>> 
>
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Alin Serdean via discuss
PS C:\OVS-Compiled> ovs-vsctl.exe showca9219b1-ceca-435e-b42a-b3e094237045    Bridge br-int        Port ovs-port-a            Interface ovs-port-a        Port br-int            Interface br-int                type: internal    Bridge br-pif        Port NIC1            Interface NIC1        Port br-pif            Interface br-pif                type: internalFrom your config I’m not sure which adapter corresponds to which VM.Ca you please clarify the target and destination port you want to ping?Alin.Sent from phone On 20 Apr 2023, at 11:43, Abu Rasheda  wrote:On Mon, Apr 17, 2023 at 1:44 PM Alin Serdean  wrote:Hi,The issue you are facing might be because the name of the network adapters is the same.I wanted to emphasize the importance of the following step: https://docs.openvswitch.org/en/latest/intro/install/windows/#add-virtual-interfaces-vifsI followed your advice! I am able to add both Ubuntus to the bridge. However, the ping does. not work. (The details are attached to this email). I think the issue is attaching the correct VM ports? Am I missing something?Abu RashedaThis is something particularly important for Windows and not the same under other OS.Alin.Sent from phone On 17 Apr 2023, at 20:33, Abu Rasheda via discuss  wrote:Do you have any ideas, or if this is the wrong list, the recommendation for another one?On Thu, Apr 13, 2023 at 7:14 PM Abu Rasheda via discuss  wrote:Hello!

On Windows Server 2019, compiled, and loaded OVS kernel module.
Commands like ovs-vsctl & ovs-dpctl are running fine.

I have two VMs (both running Ubuntu) under Hyper-V and have OVS
extended switch setup as described in
https://docs.openvswitch.org/en/latest/intro/install/windows/

I can connect one Ubuntu VM to the OVS switch, under the "Network
Adaptor" setting for the virtual machine. When I try to ping an IP
address get prints from the OVS datapath in the kernel! This led me to
believe that OVS is installed and configured (I am from a Linux
background and Windows is new for me :)).

However, when I try to add another Ubuntu VM to the OVS switch, I get
the following error:

Synthetic Ethernet Port (Instance ID ..): Error '{Data Not Accepted}
The TDI client could not handle the data received during an
indication.'

Failed to allocate resources while connecting to a virtual network.
The Ethernet switch may not exit.

Can OVS Extended switch only connect to a single VM? (on the same host),

I can connect these two machines to Windows virtual switch and ping
them. So either my setup has issues for OVS or there is a limitation
on OVS.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

___discuss mailing listdisc...@openvswitch.orghttps://mail.openvswitch.org/mailman/listinfo/ovs-discuss
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] OVS setup on Winodws

2023-04-20 Thread Abu Rasheda via discuss
On Mon, Apr 17, 2023 at 1:44 PM Alin Serdean  wrote:

> Hi,
>
> The issue you are facing might be because the name of the network adapters
> is the same.
>
> I wanted to emphasize the importance of the following step:
> https://docs.openvswitch.org/en/latest/intro/install/windows/#add-virtual-interfaces-vifs
>

I followed your advice! I am able to add both Ubuntus to the bridge.
However, the ping does. not work. (The details are attached to this email).
I think the issue is attaching the correct VM ports? Am I missing something?

Abu Rasheda

This is something particularly important for Windows and not the same under
> other OS.
>
> Alin.
>
> Sent from phone
>
> On 17 Apr 2023, at 20:33, Abu Rasheda via discuss <
> ovs-discuss@openvswitch.org> wrote:
>
> 
> Do you have any ideas, or if this is the wrong list, the recommendation
> for another one?
>
> On Thu, Apr 13, 2023 at 7:14 PM Abu Rasheda via discuss <
> ovs-discuss@openvswitch.org> wrote:
>
>> Hello!
>>
>> On Windows Server 2019, compiled, and loaded OVS kernel module.
>> Commands like ovs-vsctl & ovs-dpctl are running fine.
>>
>> I have two VMs (both running Ubuntu) under Hyper-V and have OVS
>> extended switch setup as described in
>> https://docs.openvswitch.org/en/latest/intro/install/windows/
>>
>> I can connect one Ubuntu VM to the OVS switch, under the "Network
>> Adaptor" setting for the virtual machine. When I try to ping an IP
>> address get prints from the OVS datapath in the kernel! This led me to
>> believe that OVS is installed and configured (I am from a Linux
>> background and Windows is new for me :)).
>>
>> However, when I try to add another Ubuntu VM to the OVS switch, I get
>> the following error:
>>
>> Synthetic Ethernet Port (Instance ID ..): Error '{Data Not Accepted}
>> The TDI client could not handle the data received during an
>> indication.'
>>
>> Failed to allocate resources while connecting to a virtual network.
>> The Ethernet switch may not exit.
>>
>> Can OVS Extended switch only connect to a single VM? (on the same host),
>>
>> I can connect these two machines to Windows virtual switch and ping
>> them. So either my setup has issues for OVS or there is a limitation
>> on OVS.
>> ___
>> discuss mailing list
>> disc...@openvswitch.org
>> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>>
> ___
> discuss mailing list
> disc...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
>
==
PS C:\OVS-Compiled> Get-NetAdapter

Name  InterfaceDescriptionifIndex 
Status   MacAddress LinkSpeed
  --- 
--   -- -
NIC1  Broadcom NetXtreme Gigabit Ethernet #2   17 Up
   18-66-DA-A2-62-6C 1 Gbps
br-intHyper-V Virtual Ethernet Adapter #2  32 
Disabled 00-15-5D-72-76-09 1 Gbps
vEthernet (OVS Extende... Hyper-V Virtual Ethernet Adapter 30 Up
   18-66-DA-A2-62-6C 1 Gbps
NIC2  Broadcom NetXtreme Gigabit Ethernet  11 
Disconnected 18-66-DA-A2-62-6D  0 bps
br-pifHyper-V Virtual Ethernet Adapter #3  34 
Disabled 00-15-5D-72-76-0A 1 Gbps

==
PS C:\OVS-Compiled> ovs-vsctl.exe show
ca9219b1-ceca-435e-b42a-b3e094237045
Bridge br-int
Port ovs-port-a
Interface ovs-port-a
Port br-int
Interface br-int
type: internal
Bridge br-pif
Port NIC1
Interface NIC1
Port br-pif
Interface br-pif
type: internal

==
PS C:\OVS-Compiled> ovs-dpctl.exe show
2023-04-20T00:21:40Z|1|dpif_netlink|INFO|The kernel module does not support 
meters.
2023-04-20T00:21:40Z|2|dpif_netlink|INFO|Kernel does not correctly support 
feature negotiation. Using standard features.
system@ovs-system:
  lookups: hit:54 missed:381697 lost:0
  flows: 1
  port 1: br-int (internal)
  port 2: br-pif (internal)
  port 3: NIC1
  port 4: ovs-port-a

==
There are two VMs running under Hyper-V, both are 18.04, one of them is called 
left and the other one called right

OVS Extended Switch
 Broadcom NetXtreme Gigabit Ethernet #2
 ---> Open vSwitch Extension  - Forward
 ---> Microsoft NDIS Capture  - Monitoring
br-int
On left VM (running on Hyper-V) Network Adapter 

Re: [ovs-discuss] OVS setup on Winodws

2023-04-17 Thread Alin Serdean via discuss
Hi,The issue you are facing might be because the name of the network adapters is the same.I wanted to emphasize the importance of the following step: https://docs.openvswitch.org/en/latest/intro/install/windows/#add-virtual-interfaces-vifsThis is something particularly important for Windows and not the same under other OS.Alin.Sent from phone On 17 Apr 2023, at 20:33, Abu Rasheda via discuss  wrote:Do you have any ideas, or if this is the wrong list, the recommendation for another one?On Thu, Apr 13, 2023 at 7:14 PM Abu Rasheda via discuss  wrote:Hello!

On Windows Server 2019, compiled, and loaded OVS kernel module.
Commands like ovs-vsctl & ovs-dpctl are running fine.

I have two VMs (both running Ubuntu) under Hyper-V and have OVS
extended switch setup as described in
https://docs.openvswitch.org/en/latest/intro/install/windows/

I can connect one Ubuntu VM to the OVS switch, under the "Network
Adaptor" setting for the virtual machine. When I try to ping an IP
address get prints from the OVS datapath in the kernel! This led me to
believe that OVS is installed and configured (I am from a Linux
background and Windows is new for me :)).

However, when I try to add another Ubuntu VM to the OVS switch, I get
the following error:

Synthetic Ethernet Port (Instance ID ..): Error '{Data Not Accepted}
The TDI client could not handle the data received during an
indication.'

Failed to allocate resources while connecting to a virtual network.
The Ethernet switch may not exit.

Can OVS Extended switch only connect to a single VM? (on the same host),

I can connect these two machines to Windows virtual switch and ping
them. So either my setup has issues for OVS or there is a limitation
on OVS.
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

___discuss mailing listdisc...@openvswitch.orghttps://mail.openvswitch.org/mailman/listinfo/ovs-discuss___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] OVS setup on Winodws

2023-04-17 Thread Abu Rasheda via discuss
Thanks! Let me try this.

On Mon, Apr 17, 2023 at 1:44 PM Alin Serdean  wrote:

> Hi,
>
> The issue you are facing might be because the name of the network adapters
> is the same.
>
> I wanted to emphasize the importance of the following step:
> https://docs.openvswitch.org/en/latest/intro/install/windows/#add-virtual-interfaces-vifs
>
> This is something particularly important for Windows and not the same
> under other OS.
>
> Alin.
>
> Sent from phone
>
> On 17 Apr 2023, at 20:33, Abu Rasheda via discuss <
> ovs-discuss@openvswitch.org> wrote:
>
> 
> Do you have any ideas, or if this is the wrong list, the recommendation
> for another one?
>
> On Thu, Apr 13, 2023 at 7:14 PM Abu Rasheda via discuss <
> ovs-discuss@openvswitch.org> wrote:
>
>> Hello!
>>
>> On Windows Server 2019, compiled, and loaded OVS kernel module.
>> Commands like ovs-vsctl & ovs-dpctl are running fine.
>>
>> I have two VMs (both running Ubuntu) under Hyper-V and have OVS
>> extended switch setup as described in
>> https://docs.openvswitch.org/en/latest/intro/install/windows/
>>
>> I can connect one Ubuntu VM to the OVS switch, under the "Network
>> Adaptor" setting for the virtual machine. When I try to ping an IP
>> address get prints from the OVS datapath in the kernel! This led me to
>> believe that OVS is installed and configured (I am from a Linux
>> background and Windows is new for me :)).
>>
>> However, when I try to add another Ubuntu VM to the OVS switch, I get
>> the following error:
>>
>> Synthetic Ethernet Port (Instance ID ..): Error '{Data Not Accepted}
>> The TDI client could not handle the data received during an
>> indication.'
>>
>> Failed to allocate resources while connecting to a virtual network.
>> The Ethernet switch may not exit.
>>
>> Can OVS Extended switch only connect to a single VM? (on the same host),
>>
>> I can connect these two machines to Windows virtual switch and ping
>> them. So either my setup has issues for OVS or there is a limitation
>> on OVS.
>> ___
>> discuss mailing list
>> disc...@openvswitch.org
>> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>>
> ___
> discuss mailing list
> disc...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] OVS setup on Winodws

2023-04-17 Thread Abu Rasheda via discuss
Do you have any ideas, or if this is the wrong list, the recommendation for
another one?

On Thu, Apr 13, 2023 at 7:14 PM Abu Rasheda via discuss <
ovs-discuss@openvswitch.org> wrote:

> Hello!
>
> On Windows Server 2019, compiled, and loaded OVS kernel module.
> Commands like ovs-vsctl & ovs-dpctl are running fine.
>
> I have two VMs (both running Ubuntu) under Hyper-V and have OVS
> extended switch setup as described in
> https://docs.openvswitch.org/en/latest/intro/install/windows/
>
> I can connect one Ubuntu VM to the OVS switch, under the "Network
> Adaptor" setting for the virtual machine. When I try to ping an IP
> address get prints from the OVS datapath in the kernel! This led me to
> believe that OVS is installed and configured (I am from a Linux
> background and Windows is new for me :)).
>
> However, when I try to add another Ubuntu VM to the OVS switch, I get
> the following error:
>
> Synthetic Ethernet Port (Instance ID ..): Error '{Data Not Accepted}
> The TDI client could not handle the data received during an
> indication.'
>
> Failed to allocate resources while connecting to a virtual network.
> The Ethernet switch may not exit.
>
> Can OVS Extended switch only connect to a single VM? (on the same host),
>
> I can connect these two machines to Windows virtual switch and ping
> them. So either my setup has issues for OVS or there is a limitation
> on OVS.
> ___
> discuss mailing list
> disc...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss