2

I have two ISPs, one static and one PPPoE. I use VyOS.

I did the configuration with two static IP providers but when it comes to PPPoE I don't know what to write as the next hop for the interface health.

interface-health pppoe0 {
        failure-count 1
        nexthop ???
        success-count 1
        test 10 {
            resp-time 5
            target 8.8.8.8
            ttl-limit 1
            type ping
        }
    }

Is the next hop of a PPPoE connection always the same or it can change once disconnected and connected again?

Thank you!

  • Is it possible to define an egress interface rather than an IP address as the next hop? – SleepyMan Jun 21 '16 at 9:14
  • No, as far as I know. Only a ping test through the next hop and a ttl test with an UDP packet also through the next hop – rocordial Jun 22 '16 at 12:31
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer. – Ron Maupin Aug 12 '17 at 17:42
1

you can set next-hop as dhcp

set load-balancing wan interface-health pppoe1 nexthop dhcp
| improve this answer | |
0

I hope this will help:

load-balancing {
    wan {
        flush-connections
        interface-health eth1 {
            failure-count 3
            nexthop <gatewayip>
            success-count 1
            test 10 {
                resp-time 5
                target 8.8.8.8
                ttl-limit 1
                type ping
            }
            test 20 {
                resp-time 5
                target 8.8.4.4
                ttl-limit 1
                type ping
            }
        }
        interface-health pppoe0 {
            failure-count 3
            nexthop <gatewayip>
            success-count 1
            test 10 {
                resp-time 5
                target <nameserverip>
                ttl-limit 1
                type ping
            }
            test 20 {
                resp-time 5
                target <nameserverip>
                ttl-limit 1
                type ping
            }
        }
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.