In article , Igor Mamuzic wrote: :I have the following topology:
:- R1 ---- R2 ----- R3-----Internet
:How to make that R1 knows that the link between R2 and R3 is down?
How to make R1 know that the link between R1 and R2 is down?
First you have to define "down". Do you mean only that the link has been cut (e.g., unplugged, a cable broke, a repeater burned out, a laser transceiver burned out), or do you mean that the link is not passing *usable* data (e.g., DoS attack is using the entire bandwidth), or do you mean that the link isn't passing
*any* data (e.g., equipment is wedged but carrier is there), or do you include the case where the link quality has dropped to the point where the throughput is below some quality measure (e.g., a fibre connection got dirty or a cable is frayed or there is a ground fault or a duplex mismatch) ?
Do you really care whether it is the link R2 - R3 that is down, or are you really concerned with whether R1 can get data to R3 ? It makes a difference if, for example, there is an unshown redundant connection between R1 and R3, or if R1 is just a monitoring device and all the important data is joining the topology at R2. If the concern is getting data between R1 and R3, then ping R3...
For more advanced methods with various tradeoffs, see Vincent C. Jones' book about High Availability Networking Using Cisco Routers.