[Solved] How to flush ARP cache per interface?

Discussion in 'Windows 10' started by OpenSourceGhost, Sep 4, 2022.

  1. OpenSourceGhost

    OpenSourceGhost MDL Member

    Feb 14, 2022
    170
    24
    10
    I need to be able to delete ARP cache just for VPN connections (virtual TUN network adapater), but not for local ones. How can I do that? I can only find commands to delete/flush all of ARP cache or ARP cache per-IP. I need commands per-interface...
     
  2. OpenSourceGhost

    OpenSourceGhost MDL Member

    Feb 14, 2022
    170
    24
    10
    Nevermind... (netsh interface ipv4 delete neighbors "Interface")
     
  3. OpenSourceGhost

    OpenSourceGhost MDL Member

    Feb 14, 2022
    170
    24
    10
    Hmmm... Sometimes that command works, but other times it says "The parameter is Incorrect".
     
  4. OpenSourceGhost

    OpenSourceGhost MDL Member

    Feb 14, 2022
    170
    24
    10
    Same goes for "arp -d" command. Sometimes it works, but other times it says "The parameter is Incorrect". Any ideas? Isn't NetSh depreciated by now?