Re: [ovs-dev] infiniband (IPoIB) support

2018-08-09 Thread Vasiliy Tolstov
ср, 8 авг. 2018 г. в 12:28, Vasiliy Tolstov :


> My question is - how can i do connectivity if vm attached to br-int
> have external ip address for example 1.2.3.100 (provided by ovn dhcp),
> and gateway server that have uplink to internet have ip 1.2.3.254.
> As i understand logical router needs to be created to route traffic
> from diffrent networks...


Sorry i can't find in google something like this. In google i only
find what i need to do route from different networks or attach port to
br-ex bridge.


-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] infiniband (IPoIB) support

2018-08-08 Thread Ben Pfaff
On Wed, Aug 08, 2018 at 09:16:11AM -0700, Gregory Rose wrote:
> On 8/7/2018 3:18 PM, Ben Pfaff wrote:
> >I don't know how many people on this list know anything about IPoIB.  I
> >know that I don't.  You might not be getting an answer simply because
> >it's such a specialty topic.  Maybe there is a place where people talk
> >about IPoIB software; maybe they would know something.
> 
> I was under the impression we only support Ethernet at the physical layer.

Yes.

In theory OpenFlow could support Infiniband, but OVS has never been
extended in that direction, or if someone has done it they have never
contributed it back.
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] infiniband (IPoIB) support

2018-08-08 Thread Gregory Rose

On 8/7/2018 3:18 PM, Ben Pfaff wrote:

I don't know how many people on this list know anything about IPoIB.  I
know that I don't.  You might not be getting an answer simply because
it's such a specialty topic.  Maybe there is a place where people talk
about IPoIB software; maybe they would know something.


I was under the impression we only support Ethernet at the physical layer.

- Greg



On Wed, Aug 08, 2018 at 12:59:36AM +0300, Vasiliy Tolstov wrote:

Does anybody can helps me and say, how to do connectivity from ovn
network to physical? if ovn network and phisical have the same subnet.
пн, 6 авг. 2018 г. в 23:35, Vasiliy Tolstov :

пн, 6 авг. 2018 г. в 17:34, Vasiliy Tolstov :

And if IPoIB device cant't be added to openvswitch bridge, how can i
connect virtual network with physical in such setup:

i have logical switch extnet with vm ports, each vm via ovn dhcp have
ip address from external network.
I want to route all traffic from this extnet via last ip address from
/24 subnet (254).
Does i need to create logical router for such thing?
Can you explain me how can i solve this?
пн, 6 авг. 2018 г. в 17:11, Vasiliy Tolstov :

Hi. I know about dpdk, but i have mellanox connectx-2 card with IPoIB in linux.
And i want to add it to openvswitch bridge.
I found topics (7 years ago) that says about no plans to add support
for IPoIB devices.
How can i add to ovs bridge IPoIB device?

--
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru



--
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru

I'm partially solve problem by adding to extnet gw port with type localnet.
so connection from vm to external world works fine, but from external
world to vm not:
ovs-vsctl show
f39cbc63-2dd2-486e-a2c8-1b7faee48535
 Bridge br-ext
 Port patch-gw-to-br-int
 Interface patch-gw-to-br-int
 type: patch
 options: {peer=patch-br-int-to-gw}
 Port br-ext
 Interface br-ext
 type: internal
 Bridge br-int
 fail_mode: secure
 Port patch-br-int-to-gw
 Interface patch-br-int-to-gw
 type: patch
 options: {peer=patch-gw-to-br-int}
 Port "vnet0"
 Interface "vnet0"
 Port br-int
 Interface br-int
 type: internal
 ovs_version: "2.8.1"

 port gw
 type: localnet
 addresses: ["unknown"]
 port d2b171b6-c501-4e8c-b29d-adc79e573d4c
 addresses: ["52:54:00:08:43:25 xx.xx.xx.xx"]
--
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru



--
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] infiniband (IPoIB) support

2018-08-08 Thread Vasiliy Tolstov
ср, 8 авг. 2018 г. в 1:18, Ben Pfaff :
>
> I don't know how many people on this list know anything about IPoIB.  I
> know that I don't.  You might not be getting an answer simply because
> it's such a specialty topic.  Maybe there is a place where people talk
> about IPoIB software; maybe they would know something.
>

Now my question now about IPoIB, as i read - attach IPoIB device not
possible. Also linux does not allow to create vlan on IPoIB (because
IPoIB have pkeys analog to vlans).
My question is - how can i do connectivity if vm attached to br-int
have external ip address for example 1.2.3.100 (provided by ovn dhcp),
and gateway server that have uplink to internet have ip 1.2.3.254.
As i understand logical router needs to be created to route traffic
from diffrent networks...

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] infiniband (IPoIB) support

2018-08-07 Thread Ben Pfaff
I don't know how many people on this list know anything about IPoIB.  I
know that I don't.  You might not be getting an answer simply because
it's such a specialty topic.  Maybe there is a place where people talk
about IPoIB software; maybe they would know something.

On Wed, Aug 08, 2018 at 12:59:36AM +0300, Vasiliy Tolstov wrote:
> Does anybody can helps me and say, how to do connectivity from ovn
> network to physical? if ovn network and phisical have the same subnet.
> пн, 6 авг. 2018 г. в 23:35, Vasiliy Tolstov :
> >
> > пн, 6 авг. 2018 г. в 17:34, Vasiliy Tolstov :
> > >
> > > And if IPoIB device cant't be added to openvswitch bridge, how can i
> > > connect virtual network with physical in such setup:
> > >
> > > i have logical switch extnet with vm ports, each vm via ovn dhcp have
> > > ip address from external network.
> > > I want to route all traffic from this extnet via last ip address from
> > > /24 subnet (254).
> > > Does i need to create logical router for such thing?
> > > Can you explain me how can i solve this?
> > > пн, 6 авг. 2018 г. в 17:11, Vasiliy Tolstov :
> > > >
> > > > Hi. I know about dpdk, but i have mellanox connectx-2 card with IPoIB 
> > > > in linux.
> > > > And i want to add it to openvswitch bridge.
> > > > I found topics (7 years ago) that says about no plans to add support
> > > > for IPoIB devices.
> > > > How can i add to ovs bridge IPoIB device?
> > > >
> > > > --
> > > > Vasiliy Tolstov,
> > > > e-mail: v.tols...@selfip.ru
> > >
> > >
> > >
> > > --
> > > Vasiliy Tolstov,
> > > e-mail: v.tols...@selfip.ru
> >
> > I'm partially solve problem by adding to extnet gw port with type localnet.
> > so connection from vm to external world works fine, but from external
> > world to vm not:
> > ovs-vsctl show
> > f39cbc63-2dd2-486e-a2c8-1b7faee48535
> > Bridge br-ext
> > Port patch-gw-to-br-int
> > Interface patch-gw-to-br-int
> > type: patch
> > options: {peer=patch-br-int-to-gw}
> > Port br-ext
> > Interface br-ext
> > type: internal
> > Bridge br-int
> > fail_mode: secure
> > Port patch-br-int-to-gw
> > Interface patch-br-int-to-gw
> > type: patch
> > options: {peer=patch-gw-to-br-int}
> > Port "vnet0"
> > Interface "vnet0"
> > Port br-int
> > Interface br-int
> > type: internal
> > ovs_version: "2.8.1"
> >
> > port gw
> > type: localnet
> > addresses: ["unknown"]
> > port d2b171b6-c501-4e8c-b29d-adc79e573d4c
> > addresses: ["52:54:00:08:43:25 xx.xx.xx.xx"]
> > --
> > Vasiliy Tolstov,
> > e-mail: v.tols...@selfip.ru
> 
> 
> 
> -- 
> Vasiliy Tolstov,
> e-mail: v.tols...@selfip.ru
> ___
> dev mailing list
> d...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] infiniband (IPoIB) support

2018-08-07 Thread Vasiliy Tolstov
Does anybody can helps me and say, how to do connectivity from ovn
network to physical? if ovn network and phisical have the same subnet.
пн, 6 авг. 2018 г. в 23:35, Vasiliy Tolstov :
>
> пн, 6 авг. 2018 г. в 17:34, Vasiliy Tolstov :
> >
> > And if IPoIB device cant't be added to openvswitch bridge, how can i
> > connect virtual network with physical in such setup:
> >
> > i have logical switch extnet with vm ports, each vm via ovn dhcp have
> > ip address from external network.
> > I want to route all traffic from this extnet via last ip address from
> > /24 subnet (254).
> > Does i need to create logical router for such thing?
> > Can you explain me how can i solve this?
> > пн, 6 авг. 2018 г. в 17:11, Vasiliy Tolstov :
> > >
> > > Hi. I know about dpdk, but i have mellanox connectx-2 card with IPoIB in 
> > > linux.
> > > And i want to add it to openvswitch bridge.
> > > I found topics (7 years ago) that says about no plans to add support
> > > for IPoIB devices.
> > > How can i add to ovs bridge IPoIB device?
> > >
> > > --
> > > Vasiliy Tolstov,
> > > e-mail: v.tols...@selfip.ru
> >
> >
> >
> > --
> > Vasiliy Tolstov,
> > e-mail: v.tols...@selfip.ru
>
> I'm partially solve problem by adding to extnet gw port with type localnet.
> so connection from vm to external world works fine, but from external
> world to vm not:
> ovs-vsctl show
> f39cbc63-2dd2-486e-a2c8-1b7faee48535
> Bridge br-ext
> Port patch-gw-to-br-int
> Interface patch-gw-to-br-int
> type: patch
> options: {peer=patch-br-int-to-gw}
> Port br-ext
> Interface br-ext
> type: internal
> Bridge br-int
> fail_mode: secure
> Port patch-br-int-to-gw
> Interface patch-br-int-to-gw
> type: patch
> options: {peer=patch-gw-to-br-int}
> Port "vnet0"
> Interface "vnet0"
> Port br-int
> Interface br-int
> type: internal
> ovs_version: "2.8.1"
>
> port gw
> type: localnet
> addresses: ["unknown"]
> port d2b171b6-c501-4e8c-b29d-adc79e573d4c
> addresses: ["52:54:00:08:43:25 xx.xx.xx.xx"]
> --
> Vasiliy Tolstov,
> e-mail: v.tols...@selfip.ru



-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] infiniband (IPoIB) support

2018-08-06 Thread Vasiliy Tolstov
пн, 6 авг. 2018 г. в 17:34, Vasiliy Tolstov :
>
> And if IPoIB device cant't be added to openvswitch bridge, how can i
> connect virtual network with physical in such setup:
>
> i have logical switch extnet with vm ports, each vm via ovn dhcp have
> ip address from external network.
> I want to route all traffic from this extnet via last ip address from
> /24 subnet (254).
> Does i need to create logical router for such thing?
> Can you explain me how can i solve this?
> пн, 6 авг. 2018 г. в 17:11, Vasiliy Tolstov :
> >
> > Hi. I know about dpdk, but i have mellanox connectx-2 card with IPoIB in 
> > linux.
> > And i want to add it to openvswitch bridge.
> > I found topics (7 years ago) that says about no plans to add support
> > for IPoIB devices.
> > How can i add to ovs bridge IPoIB device?
> >
> > --
> > Vasiliy Tolstov,
> > e-mail: v.tols...@selfip.ru
>
>
>
> --
> Vasiliy Tolstov,
> e-mail: v.tols...@selfip.ru

I'm partially solve problem by adding to extnet gw port with type localnet.
so connection from vm to external world works fine, but from external
world to vm not:
ovs-vsctl show
f39cbc63-2dd2-486e-a2c8-1b7faee48535
Bridge br-ext
Port patch-gw-to-br-int
Interface patch-gw-to-br-int
type: patch
options: {peer=patch-br-int-to-gw}
Port br-ext
Interface br-ext
type: internal
Bridge br-int
fail_mode: secure
Port patch-br-int-to-gw
Interface patch-br-int-to-gw
type: patch
options: {peer=patch-gw-to-br-int}
Port "vnet0"
Interface "vnet0"
Port br-int
Interface br-int
type: internal
ovs_version: "2.8.1"

port gw
type: localnet
addresses: ["unknown"]
port d2b171b6-c501-4e8c-b29d-adc79e573d4c
addresses: ["52:54:00:08:43:25 xx.xx.xx.xx"]
-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] infiniband (IPoIB) support

2018-08-06 Thread Vasiliy Tolstov
And if IPoIB device cant't be added to openvswitch bridge, how can i
connect virtual network with physical in such setup:

i have logical switch extnet with vm ports, each vm via ovn dhcp have
ip address from external network.
I want to route all traffic from this extnet via last ip address from
/24 subnet (254).
Does i need to create logical router for such thing?
Can you explain me how can i solve this?
пн, 6 авг. 2018 г. в 17:11, Vasiliy Tolstov :
>
> Hi. I know about dpdk, but i have mellanox connectx-2 card with IPoIB in 
> linux.
> And i want to add it to openvswitch bridge.
> I found topics (7 years ago) that says about no plans to add support
> for IPoIB devices.
> How can i add to ovs bridge IPoIB device?
>
> --
> Vasiliy Tolstov,
> e-mail: v.tols...@selfip.ru



-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] infiniband (IPoIB) support

2018-08-06 Thread Vasiliy Tolstov
Hi. I know about dpdk, but i have mellanox connectx-2 card with IPoIB in linux.
And i want to add it to openvswitch bridge.
I found topics (7 years ago) that says about no plans to add support
for IPoIB devices.
How can i add to ovs bridge IPoIB device?

-- 
Vasiliy Tolstov,
e-mail: v.tols...@selfip.ru
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev