Subject: Re: [RFC net-next 0/3] Proposal for VRF-lite

From: David Ahern <[email-masked]>
Date: Mon, 08 Jun 2015 13:13:40 -0600

On 6/8/15 12:35 PM, Shrijeet Mukherjee wrote:
> 5. Debugging is built-in as tcpdump and counters on the VRF device
>     works as is.

Is the intent that something like this

   tcpdump -i vrf0

can be used to see vrf traffic?

vrf_handle_frame only bumps counters; it does not switch skb->dev to the 
vrf device so for Rx path tcpdump will not get the packets. ie., tcpdump 
only shows outbound packets.