Hello all,
Im trying to make a overload nat, so to nat a range toward a single outside ip on a router MX240, it has the card DPCE 20x 1GE + 2x 10GE . When pinging a public ip with source the range to be nated is not showing nothing, also the command show services inline nat statistisc is not showing anything, please anybody help, thank you:
Blow the config:
services {
service-set s1 {
nat-rules SRC-NAT1;
interface-service {
service-interface sp-2/0/0;
}
}
nat {
pool p1 {
address x.x.x.x/32;
port {
automatic;
}
}
rule SRC-NAT1 {
match-direction input;
term r1 {
from {
source-address {
10.2.21.0/24;
}
}
then {
translated {
source-pool p1;
translation-type {
napt-44;
}
}
}
}
}
}
irb {
unit 2021 {
family inet {
address 10.2.21.1/24;
}}
fpc 1 {
pic 0 {
inline-services {
bandwidth 1g;
}
}
pic 1 {
inline-services {
bandwidth 1g;
}
}
pic 2 {
inline-services {
bandwidth 1g;
}
}
pic 3 {
inline-services {
bandwidth 1g;
}
}
}
fpc 2 {
pic 0 {
inline-services {
bandwidth 1g;
}
}
pic 1 {
inline-services {
bandwidth 1g;
}
}
pic 2 {
inline-services {
bandwidth 1g;
}
}
pic 3 {
inline-services {
bandwidth 1g;
}
}
}