/share/examples/ppp/ppp.linkdown.span-isp.working

https://bitbucket.org/freebsd/freebsd-head/ · Unknown · 17 lines · 12 code · 5 blank · 0 comment · 0 complexity · 0093e6e1eaf35abb7703a6e3b4952889 MD5 · raw file

  1. # $FreeBSD$
  2. # This is a working example of ppp.linkdown.span-isp that uses ppp connections
  3. # to the same machine through 3 null-modem serial cables.
  4. # The ISP links start our MP version of ppp as they come up
  5. isp1:
  6. !bg pppctl /var/run/ppp/vpn link 1 close
  7. isp2:
  8. !bg pppctl /var/run/ppp/vpn link 2 close
  9. isp3:
  10. !bg pppctl /var/run/ppp/vpn link 3 close
  11. vpn:
  12. set server none