Feature #7029
closed
It may be valid on Cisco but does it actually function on FreeBSD? That would be the real question. GRE doesn't handle L2 which usually means it wouldn't be viable as a bridge member.
- Tracker changed from Bug to Feature
- Status changed from New to Closed
As far as I can tell, FreeBSD doesn't support it. If you want ERSPAN support for FreeBSD GRE interfaces, the issue needs to be taken upstream.
Jim Pingle wrote:
As far as I can tell, FreeBSD doesn't support it. If you want ERSPAN support for FreeBSD GRE interfaces, the issue needs to be taken upstream.
If I understand correctly, FreeBSD nor pfsense need to support ERSPAN. What we want pfsense to do is to SPAN traffic over a GRE tunnel. That way the receiving end will need to decode the traffic. Most of the receiving applications such as Suricata does support decoding of both ERSPAN (which is Cisco proprietary) and GRE encapsulated traffic.
It's not that easy either, FreeBSD will not allow you to add a GRE interface as a span port:
: ifconfig bridge0 span gre0
ifconfig: BRDGADDS gre0: Invalid argument
Most likely this is because GRE interfaces do not carry layer 2 information, which is why it needs a feature like ERSPAN to encapsulate it across GRE.
It isn't viable until it is implemented upstream. Replicate and raise the feature request directly with FreeBSD.
You can add a GIF interface as a span port as it can carry L2 information to a remote destination, but it may or may not be in a format you want/need. That isn't related to GRE, however.
Also available in: Atom
PDF