пн, 6 авг. 2018 г. в 17:34, Vasiliy Tolstov <[email protected]>:
>
> 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 <[email protected]>:
> >
> > 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: [email protected]
>
>
>
> --
> Vasiliy Tolstov,
> e-mail: [email protected]
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: [email protected]
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev