HPE Aruba Networking & ProVision-based
1826509 Members
3704 Online
109694 Solutions
New Discussion

Aruba 2930f Static Routing

 
SOLVED
Go to solution
MariaMaria
Occasional Contributor

Aruba 2930f Static Routing

Some background : 

I have a server with the following ip : 192.168.0.95/24 

I have set the subnet of my switch to 192.168.185.10/24

I am  trying to setup a static route on the switch so that I can access the web interface from the server. I did the following : 

config 

ip route 192.168.185.0/24 192.168.0.95

write memory

Everything looks liek it has worked, ie no errors, but its not working.

When I do [show ip route static] I do not see this route. I do see it when I do [show run]. Also the web interface is not accessible from the server. 

What am I doing wrong here? WHy is the route not working?  Thanks so much in advance!

4 REPLIES 4
sakir_donmez
Occasional Visitor
Solution

Re: Aruba 2930f Static Routing

Hi Maria please try my proposal

Windows Server dos cmd

route -p add 192.168.185.0 mask 255.255.255.0 192.168.0.95 metric 1

2930F Static Route cmd

ip route static 192.168.0.0 255.255.255.0 192.168.185.10

MariaMaria
Occasional Contributor

Re: Aruba 2930f Static Routing

Hi thanks for the response, I tried this but for the 

ip route static .. 

command I am getting an error saying 'static' invalid term.

 

MariaMaria
Occasional Contributor

Re: Aruba 2930f Static Routing

Hi I am able to now get it working by adding the route to windows as suggested. 

Couple of things : 

1) I used the router IP as gateway address, is there a reason in your example you have it as the server ip? Both work so I dont know if there is a reason to use on over the other. 

2) Is this standard practice to add a persistent route to windows when routing to a different subnet using the 2930f?

Thanks!

Ivan_B
HPE Pro

Re: Aruba 2930f Static Routing

Hi Maria!

 

Since the 2930f doesn't support secondary IP addresses on Vlan interfaces, the solution provided is perfectly applicable and it is a standard practice to add persistent route in this situation

 

I am an HPE employee

Accept or Kudo