Thursday, March 25, 2021

CSR1000V Doesn't seem to like Subinterface. Any help?

So, I have a CSR1000V that I'm hooking down into a switch and want to trunk some vlans up to it. Router on a stick, like basic CCNA 101.

However, it appears the CSR does not want to work with it. I've tested in a live environment with Gibraltar and Amsterdam releases as well as in CML2 doing a simple mockup.

Test config is pretty simple. Multilayer switch on one side with simple trunk

switchport trunk encapsulation dot1q

switchport mode trunk

switchport trunk allowed vlan 10,20

negotiation auto

spanning-tree portfast network

interface Vlan10

ip address 192.168.10.1 255.255.255.0

interface Vlan20

ip address 192.168.20.1 255.255.255.0

On the CSR1000V router I've got my subinterfaces setup

interface GigabitEthernet1.10

encapsulation dot1Q 10

ip address 192.168.10.10 255.255.255.0

interface GigabitEthernet1.20

encapsulation dot1Q 20

ip address 192.168.20.10 255.255.255.0

So it's pretty dead simple right now. I verified my vlans are trunking, and the interface vlans are up/up. Nothing will talk over it though. My live switch isn't doing much, my switch in CML seems to be building arp table entries.

However, what does work is setting up a Native Vlan. I configure a native vlan and encapsulation dot1q native on the router and my native vlan can pass. This happened in both live and cml2 environments. However, the normal vlans don't work.

When I search subinterfaces and the CSR1000V on google I find people having issues, but most of them seem to have been GNS3 issues or changing vnic drivers (I tried this on ESXI in the live setup but my NIC just disappears if I don't have it at VMXNET 3).

Anyone have any solutions or ideas? I know I'm not screwing up my config. When I do it on an IOSV router and switch instead of a CSR router it works fine.



No comments:

Post a Comment