Expand all | Collapse all

Routing Instance NAT

Jump to Best Answer
  • 1.  Routing Instance NAT

    Posted 01-09-2020 09:52

    Hi All,


    I am trying to work through a scenario, and I've read some documentation/forum posts to help troubleshoot what I'm attempting to do but haven't gotten very far. 


    I have a subnet, lets call it subnet A, that is routable over link A, however, in order to test a specific scenario (this needs to be permanent), I need to route this over link B.


    The setup:


    • Configure routing instance B, containing link B
    • Leave link A in default/master routing instance
    • Subnet A is routed over link A and link B via BGP
    • Setup a DNAT (Subnet B) to then put the pool (containing subnet A) in the routing instance B:
    • pool pool-dst-nat {
          routing-instance {
    • rule-set dnat-1 {
          from zone trust;
          rule 1 {
              match {
              then {
                  destination-nat {
                      pool {


    This way, routing instance B only has the route for subnet A over link B.

    The default/master routing-instance only has the route for the DNAT address to routing instance B. 


    However, when implemented in my lab, traffic to subnet A over link A is working correctly, but I can't get traffic destined for the DNAT to even hit the rule. I suspect I have a knowledge gap when trying to DNAT between routing instances. Can anyone provide some assistance? Let me know if my description above is too confusing, I'm happy to provide some more info. 


  • 2.  RE: Routing Instance NAT
    Best Answer

    Posted 01-09-2020 12:12

    Sorry everyone, this is user error. I was trying to test via traffic generated from the device itself, which was causing me some issues. I was able to resolve it by moving my testing to an uplinked server and adjust my rules/routing accordingly. Thank you.