Wired Intelligent Edge

 View Only
last person joined: yesterday 

Bring performance and reliability to your network with the Aruba Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of the ArubaOS-Switch and ArubaOS-CX devices, and find ways to improve security across your network to bring together a mobile first solution.
Expand all | Collapse all

IP Route and IP Default Gateway configured on same switch

This thread has been viewed 10 times
  • 1.  IP Route and IP Default Gateway configured on same switch

    Posted Sep 21, 2022 12:51 PM
    Hi,

    Is it an issue to have an IP route and IP DGW setup on the same switch?

    I have layer 3 routing setup with RIP enabled.   Will there be a conflict, and do in need to remove the DGW?

    Ip default-gateway 10.0.0.1
    ip route 0.0.0.0 0.0.0.0 10.0.0.1
    ip routing
    snmp-server community "public" unrestricted
    oobm
    ip address dhcp-bootp
    exit
    router rip
    redistribute connected
    enable
    exit


  • 2.  RE: IP Route and IP Default Gateway configured on same switch
    Best Answer

    EMPLOYEE
    Posted Sep 21, 2022 02:40 PM
    As far as I know, the ip default-gateway is used in non-ip routing mode; the ip route 0.0.0.0/0 is used in routing mode.

    With routing mode enabled, I think you can remove the ip default-gateway as it is not used. It won't hurt either, but may be confusing when someone reads the config, so probably better to take it out.

    ------------------------------
    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.
    ------------------------------