Host specific routes on switch

Ozdalinho
Conversationalist

Host specific routes on switch

Hi all,

 

I have host specific routes on my switch. The switch is a cisco WS-C2960X-24PS-L.

How can i configure this type of host specific routes on my Meraki switch MS225?

 

Switch#sh ip route


Default gateway is 10.36.2.253

 

Host             Gateway             Last Use Total Uses  Interface

192.168.33.3      10.36.9.253   0:03    198716 Vlan9
10.33.3.99          10.36.9.253   0:00    1450 Vlan9
192.168.33.4      10.36.9.253   0:03    46370 Vlan9
192.168.33.22    10.36.9.253   0:54    30 Vlan9
192.168.33.246  10.36.9.253   1:17     1 Vlan9
192.168.102.227 10.36.9.253   1:17     0 Vlan9

192.168.102.227 10.36.9.253   0:11     0 Vlan9

6 Replies 6
PhilipDAth
Kind of a big deal
Kind of a big deal

 

I just read this more closely.

 

The static routes point to your default gateway - so they do nothing.  You don't need to migrate that config.

But the total uses of these host specific routes are constantly increasing so they are being used.

To convince yourself - delete them all so you see they have no impact.

 

You are overiding the route for a host so that it no longer points at the default route - by setting the override to the default route.

 

The config does nothing.

My default gateway is another adress than the gateway adress in my routing table you see that right?

cmr
Kind of a big deal
Kind of a big deal

Default gateway on 2.253 and specific routes on 9.253.

 

MS225 supports static routes, but the devices need to be on a VLAN that is on the 225 with them pointing to the VLAN interface.  You have have up to about 14 VLAN interfaces on a 225.

Damm.  No I read them as both being the same.  However - as the next hop is not in the same subnet, only one of two things can happen - the routes are not used as the next hop is not reachable or recursive routing is being used - and they are being sent to the default gateway.

 

Either way, I think the end result is still the same - that the config is not being used.

 

Here is the section about adding static routes:

https://documentation.meraki.com/MS/Layer_3_Switching/MS_Layer_3_Switching_and_Routing#Configuring_S...

 

 

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels