Uploaded image for project: 'hc2vpp'
  1. hc2vpp
  2. HC2VPP-80

SNAT support in HC

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: High High
    • 17.04
    • None
    • None

      DYNAMIC NAT

      Anything from inside to a single IP – tested with ICMP

      vppctl set interface snat in loop0 out GigabitEthernet0/a/0
      vppctl snat add address 172.16.2.2 < - single ip
      vppctl snat add address 172.16.2.2 - 172.16.2.24 < - pool

      STATIC NAPT (source port translation)

      Works only if source ip, source port and dest IP and dest port is specified.

      vppctl snat add address 192.168.11.99 < - ext ip has to be specified
      vppctl snat add static mapping tcp local 192.168.99.3 333 external 192.168.11.99 999 vrf 0

      It’s possible NOT to specify a source port in CLI, but the translation does not work then.

      WHAT IS MISSING IN HC

      Only static 1:1 ip addr translation is implemented.

      Please implement dynamic nat and NAPT.

            mgradzki Marek Gradzki
            tcechval Tomas Cechvala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: