default route in default vrf in VPP
Bug #1765068 reported by
Onong Tayeng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-vpp |
Fix Released
|
Undecided
|
Onong Tayeng |
Bug Description
I have an openstack setup consisting of multiple tenant networks with their distinct vrfs in VPP.
For external network connectivity, default route is set in each tenant’s vrf.
SNAT is configured on the relevant interfaces in VPP.
Do I need to set a default route in the default vrf (vrf 0) in VPP for L3 traffic to flow in/out of the VMs?
What I have observed so far is that traffic does not flow until and unless I add the default route in the default vrf in VPP. I have tested against VPP 17.10, 18.01 and 18.04 RC2.
Changed in networking-vpp: | |
assignee: | nobody → Onong Tayeng (onong) |
To post a comment you must log in.
Neale's reply:
Hi Onong,
For packets to the VMSs I would say that post the out2in translation the packet should be injected into the tenant’s VRF, so no route needs to be added to the outside/default VRF. I don’t know how you are adding you NAT state, but look for the ‘VRF-ID’ configurations.
For packets from the VMs, I assume your default route points to the interface through which the Internet is reachable and so no look-up in the default VRF is needed.
/neale