Problems with NAT on MX w/ MS-MPC-128
Hi all,
I've been chugging through quite a few forum posts, mailing lists, and juniper tech pub documentation and I simply can't find where I'm going wrong.
Current topology:
WAN<----- border router (MX) -----><----- core router (mx, ms-mpc-128) -----> transport routers/switches (ex)
OSPF running between the border, core, and transport, ae interfaces between core and transport.
Here's my current config:
set services nat pool thing1 address xx.yy.196.3/32
set services nat rule cgnat match-direction input
set services nat rule cgnat term THINGTONAT1 from source-address 100.64.1.0/24
set services nat rule cgnat term THINGTONAT1 from destination-address 0.0.0.0/0
set services nat rule cgnat term THINGTONAT1 then translated source-pool thing1
set services nat rule cgnat term THINGTONAT1 then translated translation-type dynamic-nat44
set services service-set cgnat nat-rules cgnat
set services service-set cgnat interface-service service-interface ms-4/0/0
set chassis fpc 4 pic 0 inline-services bandwidth 20g
set interfaces ms-4/0/0 unit 0 family inet
set interfaces ae1 unit 0 family inet service input service-set cgnat service-filter sf-in
set interfaces ae1 unit 0 family inet service output service-set cgnat service-filter sf-out
set firewall family inet service-filter sf-in term 1 from source-address 100.64.0.0/10
set firewall family inet service-filter sf-in term 1 from destination-address 0.0.0.0/0
set firewall family inet service-filter sf-in term 1 from destination-address 100.64.0.0/10 except
set firewall family inet service-filter sf-in term 1 then count sf-in-filter-nat-traffic
set firewall family inet service-filter sf-in term 1 then service
set firewall family inet service-filter sf-in term 2 then skip
set firewall family inet service-filter sf-out term 1 then count sf-out-filter-excluded-from-nat
set firewall family inet service-filter sf-out term 1 then skip
=======================
Traffic seems to make it up the chain then drops at the border router. It's like it's not being NAT'd, but the counters seem to show otherwise.
Any tips?
Thanks
(EDIT: Cleaning up formatting)
Posted Jul 12, 2016, 6:58 PM UTC
What says the output of 'show services nat mappings detail' or other operational commands under 'show services nat'?
Empty, which is part of the thing I don't understand since it is hitting the rules :(