When trying to capture ERSPAN and send it out from other interface (eno33559296) following exception is thrown (and program exits) as soon as any ERSPAN packet arrives in ingress interface (eno16780032):
$ rcdcap --erspan -i eno16780032 -I eno33559296
listening on eno16780032 (EN10MB), capture size 1518 bytes
worker threads: 2 on 2 CPUs
terminate called after throwing an instance of '**RCDCap::Exception**'
what(): /home/user/RCDCap-0.7.99-Source/src/sink.cc:412: failed to send packet: No such device or address
interface from where decapsulated packets should exit is ok:
I am having the same issue on Ubuntu 16.04.4 LTS, sending to briged ethernet/tap seems modify the packets. Any aditional details on why the -I is not working? Permissions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When trying to capture ERSPAN and send it out from other interface (eno33559296) following exception is thrown (and program exits) as soon as any ERSPAN packet arrives in ingress interface (eno16780032):
interface from where decapsulated packets should exit is ok:
any suggestions?
br,
You can probably open up a tap device (-t option) and then bridge it with your device.
I am having the same issue on Ubuntu 16.04.4 LTS, sending to briged ethernet/tap seems modify the packets. Any aditional details on why the -I is not working? Permissions?