SRX

last person joined: 3 hours ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  Default-Route Doesn't show up in Forwarding-instance Routing Table.

    Posted 12-16-2016 14:15

    I have a simple routing-instance config:

    GuestWifi {
    instance-type forwarding;
    routing-options {
    static {
    route 0.0.0.0/0 next-hop 7.91.187.65;
     

    But this default route doesn't show up in routing table:

     

    rahmad@aus-srx345-001> show route table GuestWiFi.inet.0

    GuestWiFi.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
    + = Active Route, - = Last Active, * = Both

    7.91.187.64/29 *[Direct/0] 23:41:00
    > via ge-0/0/8.0
    7.91.187.66/32 *[Local/0] 01:05:42
    Local via ge-0/0/8.0

     

    Any ideas why isn't the default route showing up?

    When I try to ping out of this instance, it says can't assign this address:

    aus-srx345-001> ping cnn.com routing-instance GuestWifi
    PING cnn.com (151.101.128.73): 56 data bytes
    ping: sendto: Can't assign requested address
    ping: sendto: Can't assign requested address

     

    Thanks.



  • 2.  RE: Default-Route Doesn't show up in Forwarding-instance Routing Table.

     
    Posted 12-16-2016 16:32

    hi,

     

    not sure why you don't have default route in the routing instance - please show all relevant config (rib-group?) or just full SRX config if possible.

    Regarding  ping, I think it's expected for forwarding type instance (no source IP/interface present in the instance)

     

    jtb



  • 3.  RE: Default-Route Doesn't show up in Forwarding-instance Routing Table.

     
    Posted 12-16-2016 20:00

    Hello,

     

    It is a strange thing.

    As long as you have interface-routes in the GuestWifi (imported from inet.0), default route should be visible.

    Do you have any filter to block the default route's import?

    Can you share routing & policy related configuration?

     

    Regards,

     

    Rushi



  • 4.  RE: Default-Route Doesn't show up in Forwarding-instance Routing Table.

    Posted 12-17-2016 06:12

    I had a policy importing only Public Interface direct/locals into RIB group so that default-route could resolve next-hop but I have removed it. Still no 0/0 route.

     

    interface-routes {
    rib-group inet LocalISP;
    }
    static {
    route 0.0.0.0/0 next-hop 7.91.187.65;
    }

    }
    rib-groups {
    LocalISP {
    import-rib [ inet.0 GuestWiFi.inet.0 ];

     

     My goal is to let Guest users go to the local internet directly. Router default-instance has it's default-route pointing internally to a local next-hop. How else can I achive this?

     

    Thanks.



  • 5.  RE: Default-Route Doesn't show up in Forwarding-instance Routing Table.

     
    Posted 12-19-2016 01:53

    Can you check if you have the ARP for 7.91.187.65?

     

    "show arp interface ge-0/0/8.0 no-resolve"



  • 6.  RE: Default-Route Doesn't show up in Forwarding-instance Routing Table.

    Posted 12-19-2016 07:58

    This is my current gateway to the internet and it's working. I wasnt to add another default-route for the inet.0 and reserve this one just for Guests.

    So ge-0/0/8 is up and working.

    Thanks.



  • 7.  RE: Default-Route Doesn't show up in Forwarding-instance Routing Table.

     
    Posted 12-19-2016 10:53

    Hello,

     

    So if I understand correctly, you want to use different default-gateway for Guest (on ge-0/0/8) while other traffic should use appropate default route in inet.0

     

    Is my understanding correct?

     

    Regards,

     

    Rushi



  • 8.  RE: Default-Route Doesn't show up in Forwarding-instance Routing Table.

    Posted 12-19-2016 12:21

    That's correct.

     

    Guests are on ge-0/0/6. Internet is on ge-0/0/8. On inet.0 I don't want to have a default-route pointing out of ge-0/0/8. There are some  VPN end-points that will continue to point out of ge-0/0/8 but actual default-route will be an internal interface/IP.

     

    Regards

     



  • 9.  RE: Default-Route Doesn't show up in Forwarding-instance Routing Table.
    Best Answer

    Posted 12-19-2016 23:05

    How many guestWfi do youhave defined?

    GuestWifi <======= Lowercase

     

    import-rib [ inet.0 GuestWiFi.inet.0

     

    Change to import-rib [ inet.0 GuestWifi.inet.0



  • 10.  RE: Default-Route Doesn't show up in Forwarding-instance Routing Table.

    Posted 12-20-2016 07:29

    That was correct. I have WiFi and Wifi. 

     

    Amazing part is that Interface routes did get into my RIB even though the two names were the same but different cases.

     

    Thank you and Best Regards.