There's a mobile version of our website.
I have router (cisco 2811), 2 switches and client. I want that client has one default gateway to 2811 (for example gateway ip will be up on Loopback interface) and if one of the links from switch to gateway down, gateway ip will be available. I don't know how to do it, can u help me?
++ You can configure flex-links, so that you can specify the backup port.
Hope this helps
Rate helpful posts
You could simply let spanning tree do the job for you.
Decide the root bridge with spanning-tree vlan x priority Y command and in case of failure spanning-tree will reconverge.If you configure Rapid spanning-tree it will only take a few seconds.
I think u don't understand me:) Sorry for my english.
I create the Loopback interface on my router, which connected to 2 switchs. I want that this loopback will be gateway for client. If link between switch port and router goes down, loopback will be available from other interface. How can i do it?
As I said above.
if Your switches are L2 then you can traffic engineer the L2 path with PVST+ or RPVST+.
L3 is using L2 to encapsulate so the L3 traffic will follow L2 path.
How client will ping gateway? If i up 2 private networks between router and client, then client can ping gateway(Loopback), usng static routes or, for example, ibgp. But maybe u know better way to let client ping gateway. Maybe u know how to configure route-map for this situation or something else.
I think I get what you are trying to achieve. You want just one IP address as a default gateway which should be available from your client with redundancy between two fast-ethernet ports of your 2800 router. However it would be best to have two routers at your gateway and have HSRP between them.
As your current situation goes I think you could have one possible solution(or could be more which I could not think at this moment)...
1) You can configure a BVI interface and associate both the ethernet interfaces to that group. These two interfaces of the router would a part of the spanning-tree instance and one would be forwarding and another in blocking state. You need to have trunk between two 2960. Make sure both the router's fastethernet ports are in same VLAN on the 2960 switch.
bridge 10 protocol ieee
bridge 10 route ip
int bvi 10
ip address x.x.x.x x.x.x.x
int fas 0/0
no ip addr
int fas 0/1
no ip addr
Here if one port of the router goes down the other port would become forwarding. Note that convergence time from blocking to forwarding on your router could be 50 seconds.
You may check the following show command on your 2800
sh spanning-tree 10
Well you may achieve your goal by the BVI config for now but it may not be advantageous in long run.
Just for example consider that in future you add another subnet in your network and you need the same 2800 router to be the gateway. In that case you dont have any other ethernet port left in the router which could be configured with an IP address of another subnet. Offcourse you may add a secondary IP address on the BVI itself and use it as a gateway but on the switch side you would need two subnets to be a part of one VLAN which is absolutely not a good idea.... even though this would work too...!
Two routers with HSRP is the best bet.... yet if not two routers then you could insert a HWIC-4ESW card on 2811 then two trunk links could be connected from the router's HWIC-4ESW card to two switches and the BVI interfaces could be replaced by SVI interfaces... and more subnets could be added with link redundancy acquired... I think maximum SVIs supported by HWIC-4ESW is 15.
Login to share your discussion activity with your friends on Facebook. You can control what you share and turn off sharing anytime.
Your Facebook friends can now see that you have started this discussion
Your Facebook friends can now see that you have commented on this discussion
Your Facebook friends can now see that you have read this discussion