Hi,I'm not sure if it possible to use summary addresses and static routing but here's the problem:-
We have a class b network 10.31.x.x and a gateway of 10.31.0.1 and within that we want to have the class c's 10.31.1.x, 10.31.2.x each with their own g/way. I know that you can summarize with dynamic routing so that external routers only need to point to one 10.31.0.1 to get to hosts on 10.31.1.x but was not sure if you could do this with static routes?
I'm not sure if this is your question, but ... yes you can have static routes that are subsets of each other. The more specific route wins.
For example, in your routing table you could have:
ip route 10.30.0.0 255.255.0.0 Serial1/0
ip route 10.30.1.0 255.255.255.0 Serial1/1
ip route 10.30.2.0 255.255.255.0 Serial1/2
So, anything destined for any part of the class B would be send to Serial1/0 except destinations that fall into 10.30.1.0/24 or 10.30.2.0/24, which would be routed to Serial1/1 or Serial 1/2 respectively.
I am using interface destinations for illustration - they could just as well be IP next-hop addresses.
You can even have the Class C routes from a dynamic routing protocol and the class B as a static if you want.
In that case, I don't think there is anything. But since the scope of a static route is only local, what advantage would there be to configuring it as a (hypothetical) summary on an interface rather than as a static route? I don't think I fully understand what you are trying to achieve.
We are pleased to announce availability of Beta software for 16.6.3. 16.6.3 will be the second rebuild on the 16.6 release train targeted towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are looking for early feedback from custome...