Disconnect and reconnect pppoe from shell

  • Hi
    I have a pppoe interface with dynamic ip from my isp
    I need a command through shell to force the change of ip
    something like disconnct and connect pppoe
    help me

  • I found this command:

    /usr/local/sbin/pfSctl -c 'interface reload wan'

    but it seems it doesn't work in my case

    interface description of pppoe interface: DYN1
    if I do ifconfig I see pppoe0 interface
    it's using em2 physical interface

    which is the command to try in my case?
    please help me

Log in to reply