Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

2600 series and vlan routing

Daryn Callahan_1
Occasional Visitor

2600 series and vlan routing

we want to use the vlan function of the 2626 switches. I notice that when I turn on the routing then I'm unable to set a default route. Why? Is it possible to set the routing costs or metrics of a route. Why is it not possible to set a default route for every vlan?

daryn
1 REPLY
Ron Kinner
Honored Contributor

Re: 2600 series and vlan routing

Default route statement is only used without routing. The equivalent with routing enabled is:

ip route 0.0.0.0 0.0.0.0 IPofGateway

If you can set metrics it will be by adding a number at the end of the route statement:

ip route 0.0.0.0 0.0.0.0 IPofGateway 2

I expect it is not possible to set a default route for every vlan because there is only one routing table on the box.

Ron