Skip to content

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

@foresnail

Description

@foresnail

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions