Wired Intelligent Edge

last person joined: 14 hours ago 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

traffic not routing into tunnel inside VRF

This thread has been viewed 2 times
  • 1.  traffic not routing into tunnel inside VRF

    Posted Mar 03, 2020 10:59 AM

    I have a GRE tunnel from a router (DMZ) in the network that arrives at a CX-OS router (Site0) and the tunnel interface is attached to a non-default VRF (called BYOD) which has a user vlan in it (vlan 100).  I have managed to leak the routes necessary for the tunnel to work and I have proved that I can ping the two internal tunnel addresses (near and far ends) from a PC on vlan 100 (both BYOD PCs) and have wiresharked it to prove that the pings from the PC are being encapsulated, going down the trunk to the router at the other end and replies are coming back encapsulated.

     

    So to explain the diagram, the tunnel runs from the DMZ router up to the BYOD vrf on the Site0 router. 

     

    (Don't get hung up on the BYOD and DMZ names - there's no firewalling/wierd IoT stuff, it's just names.)

     

    From the DMZ PC I can ping up the tunnel to the loopback of the BYOD VRF and to the gateway (vlan interface address) of vlan 100

     

    So it all looks great except I can't get from the BYOD PC on vlan 100 down the tunnel to any other address.  I have created a default route in the BYOD VRF pointing at the tunnel interface and I have tried a more specific route in case there was something weird about the default, but no traffic goes down the tunnel.  Also if I ping from the DMZ PC I can see the request coming out to the BYOD PC and the reply going back into Site0 but not being encapsulated and sent back down the tunnel. 

     

    The route that works (the tunnel endpoints) looks exactly the same as the one that doesn't apart from one is connected and the other is static and there's an extra hop:

     

    0.0.0.0/0, vrf BYOD    <----- no traffic down the tunnel

            via  tunnel1,  [1/0],  static

    192.168.22.0/30, vrf BYOD  <---works fine

            via  tunnel1,  [0/0],  connected

     

    I tried this first without the VRF and it all worked fine, so it's something to do with the static route being in a VRF, but surely there's no reason I can't do that?

     

    Any ideas?

     

    Attachment(s)

    txt
    vrf router.txt   1 KB 1 version


  • 2.  RE: traffic not routing into tunnel inside VRF

    MVP GURU
    Posted Mar 06, 2020 01:30 AM

    Do you have ask to TAC ?



  • 3.  RE: traffic not routing into tunnel inside VRF

    Posted Mar 06, 2020 04:20 AM

    Hi,  TAC won't talk to me about this because it is running on GNS3, they would only deal with it if I have physical switches.  I am hopefully getting some loan switches but that may take a while.



  • 4.  RE: traffic not routing into tunnel inside VRF

    MVP GURU
    Posted Mar 06, 2020 04:31 AM

    Ok...

     

    There is some feature not supported with OVA...



  • 5.  RE: traffic not routing into tunnel inside VRF
    Best Answer

    Posted Jun 23, 2020 10:39 AM

    For completeness,  I raised this with TAC and tested against physical switches with the same results.  TAC confirmed this is an unsupported feature, so GRE tunnels will not work across VRF boundaries.  Something to do with the interaction of leaked routes and GRE.  They said there are no plans at this stage to support this.