Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do_report_encapsulation => 00:01:0a:00:03:07 00:01:0a:00:03:0A 10.0.0.1 10.0.0.2 1234 #3

Open
realC1 opened this issue Aug 6, 2024 · 1 comment

Comments

@realC1
Copy link

realC1 commented Aug 6, 2024

s3封装 这里的ip 和MAC请问是怎么填写的
是从s3发到sw-cpu吗 在mininet中如何设置它们的MAC和IP
默认数据的会造成s3无法提交INT报告

@laofan13
Copy link
Owner

laofan13 commented Aug 11, 2024

s3封装 这里的ip 和MAC请问是怎么填写的 是从s3发到sw-cpu吗 在mininet中如何设置它们的MAC和IP 默认数据的会造成s3无法提交INT报告

rules/default/s3-commands.txt 可以配置表规则,对应p4文件p4src/include/int_sink.p4
image
mirroring_add 500 3 就是设置cw-cpu为端口3,这个mininet启动可能给cw-cpu会分配到其他端口号,按需修改即可。

当前设置会直接发往sw-cpu端口,receive_report.py 会直接从这个端口接受
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants