Quantcast
Channel: All SRX Services Gateway posts
Viewing all articles
Browse latest Browse all 17645

Re: destination net unreachable with virtual-instances

$
0
0

d*mn i'm pulling out my hairs here.

 

i'm not really unfamiliar with routers/firewalls in general but i just don't get this.

I don't get the point of rib-groups.

what is a rib group doing. In my opinion it is just a collection of multiple routing tables.

But how do i say to the master table to use this rib-group. or isn't it working that way.

 

in my virtual instances i have static routes.

I can ping from that instance to their gateways and a hop further

 

But not from the trusted zone Internal (because the route is not available in inet.0)

 

I added and removed what you said but now the route is dissapeared again from inet.0 table

i guess i have to go to sleep. I feel stupid Smiley Happy

 

 

interfaces {
    fe-0/0/0 {
        unit 0 {
            family inet {
                address 1.1.1.1/29;
            }
        }
    }
    fe-0/0/1 {
        unit 0 {
            family inet {
                address 2.2.2.1/29;
            }
        }
    }
    fe-0/0/5 {
        unit 0 {
            family inet {
                address 192.168.10.254/24;
            }
        }
    }
}
routing-options {
    rib-groups {
        isp {
            import-rib [ isp1.inet.0 isp2.inet.0 inet.0 ];
        }
    }
}
security {
    nat {
        source {
            rule-set SR_SET_1 {
                from zone Internal;
                to zone Ziggo;
                rule rule1 {
                    match {
                        source-address 192.168.10.0/24;
                        destination-address 0.0.0.0/0;
                    }
                    then {
                        source-nat {
                            interface;
                        }
                    }
                }
            }
        }
    }
    policies {
        default-policy {
            permit-all;
        }
    }
    zones {
        security-zone Ziggo {
            interfaces {
                fe-0/0/0.0;
            }
        }
        security-zone Dsl {
            interfaces {
                fe-0/0/1.0;
            }
        }
        security-zone Internal {
            interfaces {
                fe-0/0/5.0 {
                    host-inbound-traffic {
                        system-services {
                            all;
                        }
                    }
                }
            }
        }
    }
}
routing-instances {
    isp1 {
        instance-type virtual-router;
        interface fe-0/0/0.0;
        routing-options {
            interface-routes {
                rib-group inet isp;
            }
            static {
                route 0.0.0.0/0 next-hop 1.1.1.6;
                route 192.168.10.0/24 next-table inet.0;
            }
        }
    }
    isp2 {
        instance-type virtual-router;
        interface fe-0/0/1.0;
        routing-options {
            static {
                route 0.0.0.0/0 next-hop 2.2.2.6;
            }
        }
    }
}

 


Viewing all articles
Browse latest Browse all 17645

Trending Articles



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