I am looking a L2/L3 switch spec. which says it supports 256 Router Legs and maximum of 32 Static routes.
Can somebody explain with an example, what is the difference between router leg and static route?
By "router leg" they mean a (directly) connected route (and use a strange way of putting it).
What is a connected route compared to a static route?
Connected route (router leg)
A connected route is a route that points to an interface. For example if you configure
If the router wants to send a packet to a host in the
One-liner: Connected routes point to an interface, next-hop for packet will be resolved at L2 by ARP/ND on the respective interface.
A static route points to an IP address. For example you could have route
For this to work
One-liner: Static routes point to an IP next-hop. The IP next-hop itself will be resolved by L2 lookup on the interface the connected route for the next-hop points to.
One thing you should ask your vendor: If the specs are for IPv4 and for IPv6, and if not how many IPv6 routes you can have for each of the different types.
In addition, static route can also point to a local interface.
1- Static with next-hop as a local interface:
For every destination in
2- Static with next-hope as IP
Now, the router does not need to send an ARP request for every destination in
"interface as next-hop" will build huge arp table and its not recommended if local interface (
"IP as next-hop" on the other hand uses a single ARP entry, thats is for the gateway IP (