HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
LAN Routing
cancel
Showing results for 
Search instead for 
Did you mean: 

Is static route priority over a directly connected route?

 
RealVolAnd
Regular Visitor

Is static route priority over a directly connected route?

Hi all,

I have HP A5500 EI switch SW1, and using it for inter-Vlan (Vlan1 and Vlan2) routing.

Vlan interfaces are configured for each Vlan (192.168..1.1/24 for Vlan1 and 192.168.2.1/24 for Vlan2).

I have two workstations WS1 (IP address 192.168.1.5, Default GW: 192.168.1.1) and WS2 (IP address 192.168.2.5, Default GW: 192.168.2.1). WS1 connected to Vlan1 and another one -to Vlan2.

I try pinging WS2 from WS1 and vice versa. All working fine.

In SW1 routing table have  two records for direct connected networks 192.168.1.0/24 and 192.168.2.0/24.

So,  Now I try to add to SW1 routing table static route : 0.0.0.0 0.0.0.0 NULL. 255 . Route added, no error.

But now My workstations  can't ping each other. ((((

What is wrong??? Is the static route most preffer than direct connected?

 

1 REPLY

Re: Is static route priority over a directly connected route?

Hi there,

Normally it static route should not effect the current network. Please check whether the directly connected route is still there when you add the static route by checking the routing table. 

 

cheer

Mike