- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But the total uses of these host specific routes are constantly increasing so they are being used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My default gateway is another adress than the gateway adress in my routing table you see that right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
