nff-go icon indicating copy to clipboard operation
nff-go copied to clipboard

VXLAN example?

Open s3rj1k opened this issue 4 years ago • 2 comments

s3rj1k avatar Jul 09 '19 20:07 s3rj1k

Hello. What kind of example would you like to see? If I understand it correctly, VXLAN is UDP encapsulation. Do you want to see an example application that adds VXLAN header or strips it? We have several other encapsulation examples for GTP UDP encapsulation https://github.com/intel-go/nff-go/blob/master/examples/nffPktgen/gtp-u/trafficgen.go#L212, GRE encapsulation https://github.com/intel-go/nff-go/blob/master/examples/lb/balancer.go#L58, IPSEC encapsulation https://github.com/intel-go/nff-go/blob/master/examples/ipsec/ipsec_kernel.go#L147 and decapsulation https://github.com/intel-go/nff-go/blob/master/examples/ipsec/ipsec_kernel.go#L52 which you could use to implement your own VXLAN encapsulation and decapsulation applications.

gshimansky avatar Jul 12 '19 14:07 gshimansky

@gshimansky Hi, would be nice to have an example for VXLAN to VLAN translation.

s3rj1k avatar Jul 12 '19 21:07 s3rj1k