- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- LAN Routing
- >
- Re: HP 5900 - Configure as router
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
08-16-2017 07:23 AM
08-16-2017 07:23 AM
Hi, I have an HP 5900 that I need to configure to work as a router between 2 subnet.
My situation:
1 Switch (not the HP 5900) that is the real gateway. IP: 10.1.1.254/24
My network is on 10.1.2.0/24
I need to route all traffic from 10.1.2.0/24 through the 10.1.1.254
I have configured 2 VLAN:
VLAN A: 10.1.1.1/24 on port where the gateway switch is connected
VLAN B: 10.1.2.254/24 on ports where my devices are connected
I've set on my devices IP from 10.1.2.2.0 subnet and 10.1.2.2.254 as gateway.
But it's not working, device is reaching VLAN A 10.1.1.1 but not 10.1.1.254.
I've tryed also to create a static default route but still not working.
What am I missing?
Thanks
Claudio
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2017 05:16 AM
08-22-2017 05:16 AM
Re: HP 5900 - Configure as router
Hi,
no one can help me?
I'm still reading documentation and doings test, but it still not working.
Here another schema to try to explain well:
DEVICE A: connected to switch on VLAN 10 port - IP Address 192.168.10.5
ROUTER: connected to switch on VLAN 10 port - IP Address 192.168.10.1
VLAN 10: IP address 192.168.10.254 on ports 1-5 (all ports type access)
VLAN 20: IP address 192.168.20.254 on ports 6-10 (all ports type access)
Switch default static route 0.0.0.0 0.0.0.0 192.168.10.1
----
Test 1: if I connect a device on VLAN 10 port and set an IP 192.168.10.99 with gateway 192.168.10.254, all works,
I can ping the Switch IP, the Router IP, device A IP and go to internet (through the router). So it seems that static routes are ok.
Test 2: if I connect a device on VLAN 20 port and set an IP 192.168.20.5 with gateway: 192.168.20.254,
I can ping the VLAN 10 IP, the VLAN 20 IP, but not the Router IP or the Device A IP.
What am I doing wrong?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2017 11:12 AM - edited 09-03-2017 01:19 PM
09-01-2017 11:12 AM - edited 09-03-2017 01:19 PM
Re: HP 5900 - Configure as router
cbasso,
I'm fairly new to these switches and I'm in a similar situation. Right now, we're just trying to get the gigabit ports to provide an IP address to any ethernet cable plugged into it.
Anyway, what about trying to set a static route, like this?
ip route-static 192.168.10.0 255.255.255.0 192.168.20.254
I'm trying to play this by memory, so it's a bit hard. I have to wait until my wife gets home from work, before I can go down to the basement and play around with it and see what commands I used to access the other networks.
Out of curiosity, do you know if the switch actually hands out the IP addresses for the clients? I see there's a dhcp server built in. But I wasn't sure if that was the job for the switch or the router. Trying to get a better understanding of how this works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2017 01:35 AM
09-04-2017 01:35 AM
SolutionHi, solved!
The switch was configured correctly,
but if your switch has a default route to an external gateway, you need to create a route policy on that gateway to tell that all traffic to your internal networks must be redirected to the switch.
Example: all traffic to 192.168.20..0/24 to gateway 192.168.10.254