Hi,
look at https://wiki.fd.io/view/VPP/NAT

And my 5 cents 😉:
cat /etc/setup.gate
set int ip address GigabitEthernet0/3/0 10.0.0.1/31
set int state GigabitEthernet0/3/0 up
bfd udp session add interface GigabitEthernet0/3/0 local-addr 10.0.0.1 
peer-addr 10.0.0.0 desired-min-tx 100000 required-min-rx 100000 detect-mult 3

set int ip address GigabitEthernet0/4/0 1.0.0.2/24
set int state GigabitEthernet0/4/0 up

ip route add 10.0.0.0/8 via 10.0.0.0 GigabitEthernet0/3/0
ip route add 0.0.0.0/0 via 1.0.0.1 GigabitEthernet0/4/0

set interface nat44 in GigabitEthernet0/3/0
set interface nat44 out GigabitEthernet0/4/0

nat44 add address 1.0.0.10 - 1.0.0.25
________________________________
От: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> от имени varban metodiev 
<varban.metod...@telco.com>
Отправлено: 23 января 2020 г. 16:01
Кому: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io>
Тема: [vpp-dev] NAT overload example

Dear VPP Team,

I am struggling with a MASQUERADE-like source NAT configuration with the VPP. 
Right now, I have UDP traffic traversing two interfaces. After applying the 
following configuration, I do not see any translation happening on the source 
IP.

Configuration snippet:
set interface nat44 out data7 output-feature
set interface nat44 in data6
nat44 add interface address data7

May you please advise what I am missing and if possible, can you help  me with 
a complete working example?

Kind regards,
Varban
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#15256): https://lists.fd.io/g/vpp-dev/message/15256
Mute This Topic: https://lists.fd.io/mt/70156436/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to