Static Routes over Ethernet

Unanswered Question
Mar 8th, 2007
User Badges:

Hello all;

I have two routers connected each with two ethernet cables to a layer 2 switch. see the diagram. I want to get each router to know about each other lan using static routes only i dont want to use dynmaic routes meanwhile preserving the redundancy through the 2 cables. I mean when one cable is down the traffic directs only to the up interface

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
kcoley Thu, 03/08/2007 - 09:42
User Badges:

There is no way to exchange routing information without using a routing protocol. The term static means you will hardcode route information. In order to accomplish what you want you need to select a routing protocol such as RIP, OSPF, EIRP.

Firstly, what is your routing protocol? EIGRP does a nice automatic load balancing across equal-cost paths. If one link goes down, EIGRP will remove that path from the routing table.

In this case if you just added LAN1 address to Router 1 Eigrp Process and LAN2 address to Router 2 Eigrp process, Eigrp will take care of either load balancing, or routing traffic to a single UP/UP interface.

If you prefer static routes, just add a higher cost to one of the static route statements and EIGRP will use the lower cost link primarily, and will automagicaly swith to a secondary link if the primary fails.

Secondly static routes, if desired could be set up like follows:

Router 1

ip route a.a.a.a b.b.b.b interfaceA

ip route a.a.a.a b.b.b.b interfaceB

Where a.a.a.a b.b.b.b equals the address/mask of the LAN network connected to Router 2

Router 1

ip route c.c.c.c d.d.d.d interfaceA

ip route c.c.c.c d.d.d.d interfaceB

Where c.c.c.c d.d.d.d equals the address/mask of the LAN network connected to Router 1

Ahmed Elnagar Thu, 03/08/2007 - 10:01
User Badges:

Hello and thanks for ur fast responses;

for bjw first there is two LANs in this topology because each router has 2 interfaces in differenet subnets (that is a Router characterstic) then if I add the static routes as you mentioned the problem when interface A of router1 goes down and Router2 will not sense this action and still send traffic to that interface. the main point is here.

Richard Burts Thu, 03/08/2007 - 10:12
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

You have correctly identified one of the issues about using static routes with Ethernet interfaces. Cisco has introduced a new feature which addresses this issue. It is Reliable Static Routes with Object Tracking. It uses static routes and it dynamically tracks the state of some remote object and if you lose connectivity over a particular interface then the static route using that interface is removed from the routing table.

This link has information to help you understand this feature and how to configure it:



If you use EIGRP, you just enter the desired networks in the EIGRP process. A routing table is built and EIGRP will share it's routes with other routers. If a router interface goes down, routes in the routing table that use that interface will be removed and new routes will be discovered. Routers care about how to get packets from one place to another. If Router 1 says it has LAN1 connected. That LAN is in the routing table, it shares that with Router 2's Routing process.

If you allow all attached networks to be advertised, the Routing process will adjust itself to a new path.


Router 1 Interface FA0 LAN1

Interface FA1 to switch VLAN A

Interface fa2 to switch VLAN B

Router 2 Interface FA0 LAN2

Interface FA1 to switch VLAN A

Interface fa2 to switch VLAN B

Router 1 EIGRP



no auto summ

Router 2 EIGRP



no auto summ

The routing table will show all defined networks and will show 2 routes to each LAN.

When 1 route (interface) goes away, that route is removed and the second route used

Ahmed Elnagar Thu, 03/08/2007 - 10:25
User Badges:

Thank you very much for ur following

I think the Reliable static routing will do it I am trying it write now and I will give u a feedback

for Bjw I am not permitted to use routing protocols atall in the network.

Ahmed Elnagar Thu, 03/08/2007 - 10:45
User Badges:

Unfortunalty It requires software version 12.3(2)XE and I have 12.2(18)SXD3 on a 7600 router. well I will think of a software upgrade but anyway this feature is very interesting and it worth the try I will try it and I will give u a feedback when I will ISA. thanks for ur support


This Discussion