- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- HP 2650 - "Default Gateway" vs. "Static route 0.0....
Switches, Hubs, and Modems
1820164
Members
3995
Online
109620
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2005 02:55 AM
тАО01-10-2005 02:55 AM
HP 2650 - "Default Gateway" vs. "Static route 0.0.0.0"
I'm working with an HP 2650 (J4899A) FW: H.08.53
I ran into an odd issue that I managed to understand and "fix", but I was curious as to how others feel about this confusing configuration option.
Environment:
I enabled routing on the switch ("ip routing" command) to route between a several port based VLANs defined ON the switch. Each VLAN has an IP address defined on the switch. IP routing shows that these all work fine. i.e. I can ping between each VLAN and the VLAN interface OK.
Problem:
I (thought) I had configured a "Default gateway" via the command line "ip default-gateway 10.1.1.1"
After testing routing I discovered that this option DID NOT forward packets from the VLAN ports of the switch with unknown destinations to "10.1.1.1" (also on a different VLAN port)!!!
I had to use the "ip route 0.0.0.0 0.0.0.0 10.1.1.1" command to accomplish this.
After much searching I found the following references to "IP Routing & Default Gateway"
Quoting from the Respective chapters in the Manuals:
7-5 - Advanced Traffic Management
The default gateway, which is configured as part of the IP address configuration described in chapter 7, "IP Addressing", is used only when routing is not enabled on the switch.
8-11 Management Guide: The switch uses the IP default gateway only while operating as a Layer 2 device. While routing is enabled on the switch, the IP default gateway is not used. Thus, to avoid loss of Telnet access to off-subnet management stations, you should use the ip route command to configure a static (default) route before enabling routing. Refer to chapter 16, "IP Routing Features", for more information.
How do others feel about having two different options, that technically should MEAN the SAME thing, do different things depending if the device acts on layer 2 or 3?
I ran into an odd issue that I managed to understand and "fix", but I was curious as to how others feel about this confusing configuration option.
Environment:
I enabled routing on the switch ("ip routing" command) to route between a several port based VLANs defined ON the switch. Each VLAN has an IP address defined on the switch. IP routing shows that these all work fine. i.e. I can ping between each VLAN and the VLAN interface OK.
Problem:
I (thought) I had configured a "Default gateway" via the command line "ip default-gateway 10.1.1.1"
After testing routing I discovered that this option DID NOT forward packets from the VLAN ports of the switch with unknown destinations to "10.1.1.1" (also on a different VLAN port)!!!
I had to use the "ip route 0.0.0.0 0.0.0.0 10.1.1.1" command to accomplish this.
After much searching I found the following references to "IP Routing & Default Gateway"
Quoting from the Respective chapters in the Manuals:
7-5 - Advanced Traffic Management
The default gateway, which is configured as part of the IP address configuration described in chapter 7, "IP Addressing", is used only when routing is not enabled on the switch.
8-11 Management Guide: The switch uses the IP default gateway only while operating as a Layer 2 device. While routing is enabled on the switch, the IP default gateway is not used. Thus, to avoid loss of Telnet access to off-subnet management stations, you should use the ip route command to configure a static (default) route before enabling routing. Refer to chapter 16, "IP Routing Features", for more information.
How do others feel about having two different options, that technically should MEAN the SAME thing, do different things depending if the device acts on layer 2 or 3?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2005 07:15 AM
тАО01-10-2005 07:15 AM
Re: HP 2650 - "Default Gateway" vs. "Static route 0.0.0.0"
It's pretty common for there to be that difference between the default gateway and a static 0.0.0.0 0.0.0.0 route. The default gateway is used when the routing is not turned on and the static route when it is. Cisco routers are this way too and always have been. HP appears to work fairly closely with Cisco so it doesn't surprise me at all. Just something that bites you once and then you won't forget it again.
Ron
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2005 07:32 AM
тАО01-10-2005 07:32 AM
Re: HP 2650 - "Default Gateway" vs. "Static route 0.0.0.0"
Thanks for your reply... I guess my problem is with the documentation since it doesn't explain this difference right up front.
I do see why there is a difference... essentially the "Default gateway" option is used when the switch behaves like a single device on a network VS. "static routes" when routing is on..
David
I do see why there is a difference... essentially the "Default gateway" option is used when the switch behaves like a single device on a network VS. "static routes" when routing is on..
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-10-2005 09:04 AM
тАО01-10-2005 09:04 AM
Re: HP 2650 - "Default Gateway" vs. "Static route 0.0.0.0"
Read the manual very carefully...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP