Hp Switch - When I enable IP routing, why does the ability to enter the default gateway option disappear?

Hi guys,

I have an HP 2920-48G switch. I'm setting it up for the first time.

Why is it that when I enable IP routing on there, it suddenly takes away the ability for me to enter a default gateway? I want it to have a management IP, but it will need a default gateway in order to talk to the other networks?

Thanks a lot
Yashy
LVL 1
YashyAsked:
Who is Participating?
 
Pallavi GodseSr. Digital Marketing ExecutiveCommented:
Please refer to the link below to understand the working of IP router to resolve your issue -
https://www.think-like-a-computer.com/2011/08/24/ip-routing/
0
 
Craig BeckCommented:
When you're routing you are considered to be a 'router'.  That means you need to use routes to determine where traffic goes.  As a router, you should use the ip route 0.0.0.0 0.0.0.0 <gw_IP> command to determine the default route.

When you're not routing you use the default-gateway.  You can still use static routes for the router/switch's own traffic, including a default route to 0.0.0.0, but the default is for everything that you don't have a specific route to.
1
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.