Hi,

Your requirement is not supported currently. Maybe you can implement it using 
NAT as output feature and write your own address and port allocation function.

Matus


From: khers <s3m2e1.6s...@gmail.com>
Sent: Sunday, January 6, 2019 3:35 PM
To: Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES at Cisco) 
<matfa...@cisco.com>
Cc: vpp-dev <vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] nat: specify a pool for an outgoing interface

Dear Matus

Unfortunately we can not assign two vrf to an interface.
Is there another way to implement my requirement?

Regards,
Khers


On Wed, Jan 2, 2019 at 9:56 AM Matus Fabian -X (matfabia - PANTHEON 
TECHNOLOGIES at Cisco) <matfa...@cisco.com<mailto:matfa...@cisco.com>> wrote:
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<mailto:vpp-dev@lists.fd.io> 
<vpp-dev@lists.fd.io<mailto: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<mailto: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 (#11847): https://lists.fd.io/g/vpp-dev/message/11847
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