Wired Intelligent Edge

 View Only
  • 1.  STATIC ROUTE

    Posted Jul 11, 2024 04:05 AM
    help me, I'm having problems with static routes.
    I have vlan 200 with IP 10.0.0.1/16
    when I enter the command 
    ip route-static 0.0.0.0 0.0.0.0 255.255.0.0 the sentence "invalid netxhop address" appears
    I'm currently using an HPE 5140 switch


  • 2.  RE: STATIC ROUTE

    Posted Jul 11, 2024 04:07 AM

    The route-static command takes <destination subnet> <netmask> <next-hop-gateway>; so you try to set a default route (0.0.0.0/0) to 255.255.0.0 as default gateway, which should be an IP address in one of your directly connected subnets.

    Not sure how your network looks like, so hard to tell what you should configure here.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------



  • 3.  RE: STATIC ROUTE

    Posted Jul 11, 2024 04:11 AM
    Hi, on the command you tried (you were adding a Default Route so for any IP, any Mask via the Next Hop Gateway):

    ip route-static 0.0.0.0 0.0.0.0 255.255.0.0

    the Next Hop Gateway IP Address simply can't be 255.255.0.0, generally it could be your Firewall o whatever other directly connected router to any other non directly connected networks.