Wednesday, November 7, 2018

OpenVSwitch Help -- integrating with Cisco CSR

Trying to get OVS working with Cisco CSR subinterfaces. Have a KVM CentOS host, running several VMs, one of them being a CSR (which we want as a trunk to the ovs bridge. Have another two VM hosts that are just set up as access ports tagged to the ovs bridge. Setup is as follows:

(VM --> Port/Interface --> virtual bridge)

CSR --> csr0 --> br0 (trunk)

host --> host0 --> br0 (tag 1541)

host --> host0 --> br0 (tag 501)

CSR has just the one interface with two subinterfaces (encapsulated appropriately). This all works if I create several different interfaces for the CSR and map them to an access interface to the bridge, however I have a requirement to only have 1 interface on the CSR using subinterfaces only and a trunk to the bridge.

This isn't working for some reason on the router side. I can confirm my arp requests coming from the CSR have an ethernet header tagged with the correct vlan number, however it is not able to contact anything in the same segment. Any tips? CSR subinterfaces are set up with encapsulation dot1q vlan and the appropriate IP address (gateway for the host).

Some output:

Bridge "br0"

Port "vlan1541"

tag: 1541

Interface "vlan1541"

type: internal

Port "vlan501"

tag: 501

Interface "vlan1541"

type: internal

Port "csr0"

Interface "csr0"

type: internal

ovs_version: "2.10.1"

vlan_mode for csr0 is trunk and for vlans is access.



No comments:

Post a Comment