LAN Routing
1748266 Members
3522 Online
108760 Solutions
New Discussion юеВ

Re: static route issue on HP A5120

 
SOLVED
Go to solution
mlancenoeva
Occasional Visitor

static route issue on HP A5120

hello guys,

i wanted to create a static route on my switch, so i used the command

ip route-static [destination network ip] [destination network mask] [next hope]

when i used the command display ip routing-table verbose i saw the route but the status is inactive.

Why ? How can i activate this route ?

 

Thanks !

Mlance

4 REPLIES 4
Fredrik L├╢nnman
Honored Contributor

Re: static route issue on HP A5120

The next hop has to be valid. Post your current IP configuration on the switch and the static-route you created.

---
CCIE Service Provider
MASE Network Infrastructure [2011]
H3CSE
CCNP R&S

mlancenoeva
Occasional Visitor

Re: static route issue on HP A5120

the next hope is the gateway.

 

this is a part of the display ip routing-table :

192.168.2.0/24      Static 60   0            192.168.1.15    Vlan1

192.168.3.0/24      Static 60   0            192.168.1.15    Vlan1

192.168.4.0/24      Static 60   0            192.168.1.15    Vlan1

192.168.7.0/24      Static 60   0            192.168.1.15    Vlan1

192.168.9.0/24      Static 60   0            192.168.1.15    Vlan1

192.168.11.0/24     Static 60   0            192.168.1.15    Vlan1

192.168.13.0/24     Static 60   0            192.168.1.15    Vlan1

192.168.15.0/24     Static 60   0            192.168.1.15    Vlan1

192.168.17.0/24     Static 60   0            192.168.1.15    Vlan1

192.168.21.0/24     Static 60   0            192.168.1.15    Vlan1

 

and the route wich is inactive :

  Destination: 192.168.31.0/24

     Protocol: Static          Process ID: 0

   Preference: 60                    Cost: 0

      NextHop: 192.168.1.15     Interface: Vlan-interface1

    BkNextHop: 0.0.0.0        BkInterface:

  RelyNextHop: 0.0.0.0          Neighbor : 0.0.0.0

    Tunnel ID: 0x0                  Label: NULL

        State: Inactive Adv GotQ      Age: 7d02h09m12s

 

          Tag: 0

 

Fredrik L├╢nnman
Honored Contributor
Solution

Re: static route issue on HP A5120

When you say its "part of" the routing-table, how many entries do you actually have? The 5120 supports only 32 entries. Otherwise, as 192.168.1.15 seems to be reachable, Im not really sure.
---
CCIE Service Provider
MASE Network Infrastructure [2011]
H3CSE
CCNP R&S

mlancenoeva
Occasional Visitor

Re: static route issue on HP A5120

i have more than 32 entries... Thanks guy !