I have two link between two routers one at site A and other at site B and I want to use link1 as primary and link 2 as secondary. I have configured two default route with the different AD at my site B so my link 1 will become primary and when it went down link 2 should come up in routing table. but when I shutdown the one of the interface manually on site A router then in site A's routing table i do have back up route in IP routing table but I didnt find the secondary route in routing table of Router B and the interface is also showing up up on router B, why?
so how can i have my link 2 be in active state? and why the secondary route come up in routing table of the router on which i did shutdown and not come up in routing table of other end? what is solution for that?
Those conditions might include:
- if someone had previously configured cost on the interfaces that was different from what we want.
- if the switches calculate port cost differently - perhaps based on different models of switch or different versions of software.
- and finally and most importantly: when I am talking about something and the things I do not know about it are much larger than the things that I do know about it, then I always leave some wiggle room to accommodate unexpected results. Probably not likely to happen but I leave some room for it.
You bring up a subtle and interesting question about how it works if the port on one switch is in VLAN 3 and the port it connects to on the other switch is in VLAN 1. In fact VLANs and VLAN IDs do not come into play until we have trunk ports or have some layer 3 device doing intervlan routing (layer 3 switch or router).
An access port is a member of a VLAN but that does not impact anything or change anything on the frames that it sends out its port or the frames that it receives on its port. These are just regular Ethernet frames.
If you think about it, we frequently define a VLAN by saying that it is a broadcast domain. And the broadcast domain that is VLAN 3 on 1 switch is connected to the broadcast domain that is VLAN 1 on the other switch. So the end stations in VLAN 1 in 1 switch are hearing broadcasts from VLAN 3 in the other switch.
Thanks for the ratings.
I am glad that my previous response was helpful. Thanks for the rating.
If I am understanding this part of the question correctly there should be an easy solution. What I think I understand is that there are 2 physical connections between sites and that one is 100 MB and the other is 10 MB. And I think I understand that they are both access ports in VLAN 3. If they are both access ports and connect to the same remote then Spanning Tree should put one in blocking mode and only use it if the other port goes down. Spanning Tree uses port cost to determine which interface should go into blocking mode. It should block the 10 MB and if it does not you should be able to manipulate port cost on the interface to get Spanning Tree to block the one you want.
If I have understood something not correctly please clarify.