Hi,

You can translate to different addresses only packets from different VRF 
https://wiki.fd.io/view/VPP/NAT#NAT44_add_pool_address_for_specific_tenant

Matus


From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of emma sdi
Sent: Tuesday, January 1, 2019 9:10 AM
To: vpp-dev <vpp-dev@lists.fd.io>
Subject: [vpp-dev] nat: specify a pool for an outgoing interface

Dear VPP

I want to configure a simple nat topology with 3 interfaces:
===========in============                                  
==============out================
       GigabitEthernet3/0/0                                                     
   GigabitEthernetb/0/0
                                                                                
             GigabitEthernet1b/0/0
I want to source nat all packets going out form GigabitEthernetb/0/0 to ip 
address of GigabitEthernetb/0/0, and source nat all packets going out from 
GigabitEthernet1b/0/0 to ip address of GigabitEthernet1b/0/0.
Here is my configs<https://paste.ubuntu.com/p/cqD5rw88Ht/>
The problem is with nat in which all packets are translated to same ip address!!
Is there any way to translate packets to different IP addresses if they are 
transmitted through different interfaces.
Here is output of show trace<https://paste.ubuntu.com/p/2zdHTBJSPb/>

Regards,
khers



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11815): https://lists.fd.io/g/vpp-dev/message/11815
Mute This Topic: https://lists.fd.io/mt/28903613/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-
  • [... emma sdi
    • ... Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
      • ... emma sdi
        • ... Ole Troan
        • ... Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
          • ... emma sdi
            • ... Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io

Reply via email to