You can set the route metric in the "ip route" command, so that one route has a higher preference than the other. When the prefered route is not available, the other will be used.
dvlan-tunnel feature might be useful for tunneling through you VPN.
directly connected interfaces will always have the highest preference. Set the route to a lower preference. When the connected interface is not available, the route in the routing table will be used.
On Switch 1 Route to 10.10.101.0/24 = Next Hop 10.10.101.254
On Switch 2 Route to 10.10.100.0./24 = Next Hop 10.10.100.254
The VLAN TRUNK is on the same fabric (for now) so the routes should work yes? If the fabric was down and I wanted to pass the routes to a router instead would I have to change the static route or can two routes exist with different metrics? If so, how do the routes failover?
timmyb12345
3 Posts
0
September 28th, 2010 10:00
Can you alter metrics for default inter-vlan routes (that are set up automatically)?
bh1633
909 Posts
0
September 28th, 2010 10:00
You can set the route metric in the "ip route" command, so that one route has a higher preference than the other. When the prefered route is not available, the other will be used.
dvlan-tunnel feature might be useful for tunneling through you VPN.
bh1633
909 Posts
0
September 28th, 2010 11:00
directly connected interfaces will always have the highest preference. Set the route to a lower preference. When the connected interface is not available, the route in the routing table will be used.
timmyb12345
3 Posts
0
September 29th, 2010 05:00
Can I just pass this over you to see if I have it in my head 100%. I have the internal interfaces for each vlan on the corrosponding switch.
SWITCH 1 | VLAN TRUNK | SWITCH 2
VLAN100 GW VLAN101 GW
10.10.100.254 10.10.101.254
Addresses:
10.10.100.1 10.10.101.1
Would the routes be as follows?
On Switch 1
Route to 10.10.101.0/24 = Next Hop 10.10.101.254
On Switch 2
Route to 10.10.100.0./24 = Next Hop 10.10.100.254
The VLAN TRUNK is on the same fabric (for now) so the routes should work yes? If the fabric was down and I wanted to pass the routes to a router instead would I have to change the static route or can two routes exist with different metrics? If so, how do the routes failover?
Thanks
Tim