Routing

last person joined: 3 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  "mask to short" error - while applying a static route

    Posted 10-23-2011 00:59

    I am trying to add static route in Junos. However, i am getting a weird error "Mask too short". It should be very basic to just add a static route.

     

    any thoughts please.error below

     

    Regards,

    Mubarak

     

    admin@Router_RE0# set routing-options static route 172.26.96.1/27 next-hop 192.168.35.1

    [edit]
    admin@Router_RE0# commit
    [edit routing-options static]
      'route 172.26.96.1/27'
        RT: DEST: 172.26.96.1 MASK: 255.255.255.224 mask too short


    #masktooshort


  • 2.  RE: "mask to short" error - while applying a static route

    Posted 10-23-2011 02:57

    Hi there,

    What is the correct route You are trying to add?

    Is that 172.26.96.1/32 or 172.26.96.0/27 or 172.26.96.128/27 or 172.26.96.192/27?

    The route 172.27.96.1/27 is invalid because it has nonzero host portion bits:

    172.26.96.0 is the subnet portion, .1 is the host portion.

    HTH

    Rgds

    Alex