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

How to replace the IPv4 address in s1-runtime.json with the IPv6 address I want to use? #376

Open
foresnail opened this issue Aug 12, 2020 · 0 comments

Comments

@foresnail
Copy link

In original s1-runtime.json, if I want to match the IPv4 address then ""hdr.ipv4.dstAddr": ["10.0.1.1", 32]" will be used.
However, I have not seen any IPv6 demo in the tutorial, so I don't know how to replace the IPv4 address in s1-runtime.json with the IPv6 address I want to use. I have tried something like ""hdr.ipv6.dstAddr": ["fc01::1", 128]", but it doesn't work.
(p.s. I have rewritten the relevant p4 file to support IPv6)
Could you help me? Many thanks !

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

1 participant