Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1441

Unable to configure identity NATs pointing to different VRFs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • 18.10
    • None
    • S-NAT
    • None

      After configuring an identity NAT for the vrf 1:

      local 192.168.16.2 external 192.168.16.2 vrf 1

      I'm unable to configure similar one, but for the vrf 0:

      vpp# nat44 add identity mapping 192.168.16.2 vrf 0 
      nat44 add identity mapping: Mapping already exist

       

      List of all static mappings:

      NAT44 static mappings:
      udp local 192.168.16.2:4789 external 192.168.16.2:4789 vrf 0  
       local 192.168.16.2 external 192.168.16.2 vrf 1  
       tcp local 192.168.16.2:12379 external 192.168.16.2:32379 vrf 0 self-twice-nat out2in-only
      tcp local 192.168.16.2:12379 external 10.110.98.131:12379 vrf 0 self-twice-nat out2in-only
      tcp local 192.168.16.2:6443 external 10.96.0.1:443 vrf 0 self-twice-nat out2in-only
      tcp external 10.96.0.10:53 self-twice-nat out2in-only
        local 10.1.1.2:53 vrf 1 probability 1
        local 10.1.1.3:53 vrf 1 probability 1
      udp external 10.96.0.10:53 self-twice-nat out2in-only
        local 10.1.1.2:53 vrf 1 probability 1
        local 10.1.1.3:53 vrf 1 probability 1
      

            matfabia Matus Fabian
            raszabo Rastislav Szabo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: