V
V
Vladimir Pilipchuk2012-10-04 20:06:40
Cisco
Vladimir Pilipchuk, 2012-10-04 20:06:40

How to find out next-hop on Dialer interface in Cisco?

There is a Cisco router that will natit a small subnet + forwarding services.
Powered by two uplinks from two wires. One broadcasts Ehernet, and the second PPPoE.
The task is to reserve a channel to the global network, if one of the wires has fallen, switch everything to a live ISP. after lifting - return back.

I want to solve the issue using ip sla and route-map, but there is a problem - verify-availability is only possible on and set ip next-hopcannot be used forset default interface

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JDima, 2012-10-04
@SLIDERWEB

how to find gateway ip for Dialer

Show ip route.
Or perhaps there is another way to solve the problem?

You can do without PBR. It is enough to do something like:
ip route 0.0.0.0 0.0.0.0 gi0/0 1.1.1.1 track 1
ip route 0.0.0.0 0.0.0.0 di1 250
Where: "1.1.1.1" is the first hop on the Ethernet. Track 1 is tied to an IP SLA that tracks something only available through gi0/0. It would be better if it was a reliable host on the Internet - and make another route to it with a mask / 32, so that packets to it would fly only via the Ethernet.
Have you stopped getting responses? The first route disappears, and the last one remains, which was previously inactive due to high AD. This is, by the way, the officially recommended configuration, "floating static routes".
And a little explanation. When creating a static route towards the ppp interface, you do not need to specify next hop. Just do not do this for ethernet.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question