Quantcast
Channel: SRX Services Gateway topics
Viewing all articles
Browse latest Browse all 3959

source-nat with multiple ip adresses on a interface

$
0
0

Hello all,

 

I have an SRX300 with multiple IP adresses on interface GE-0/0/0 Unit 0

I have source nat configured to use the interface address

 

I know i can make a Source-Nat pool to determine what IP is used for source nat

But if i let the interface decide. ik uses 1.1.1.1 in my example. What rule will be applied ?

Is it always the lowest IP ?

 

 

ge-0/0/0 {
    unit 0 {
        family inet {
            mtu 1492;
            address 1.1.1.1/29;
            address 1.1.1.2/29;
            address 1.1.1.3/29;
        }
    }
}

 

rule-set Ruleset1{
from zone Trust;
to zone Untrust;
rule Rule-1 {
match {
source-address 192.168.0.0/24;
destination-address 0.0.0.0/0;
}
then {
source-nat {
interface;
}
}
}
}

Regards,

 

Robbert


Viewing all articles
Browse latest Browse all 3959

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>