Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The client configures ARP binding to prevent ARP gateway spoofing

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

The sudden and inexplicable inability to access the Internet in the local area network is often caused by the ARP problem, in which ARP gateway spoofing accounts for the majority. The fundamental way to solve this problem is to manually bind the gateway arp on the host.

Prepare for

1. Identify the gateways IP and MAC that need to perform binding

Arp-d

Ping Gateway address

Arp-a gateway address

two。 Determine which network card needs to be bound.

Netsh interface ipv4 show interface | find "Nic name"

The first number of the output line is the serial number of the network card

The name of the network card in the command needs to be determined in the network management interface, which is usually "local connection" or "Loacl Area Connection".

Start binding

I. under the XP system

1. Single network card situation

Arp-s IP MAC

two。 Situation of multiple network cards

Arp-s IP MAC network card IP

This method fails after restart and needs to be executed each time it is booted (add batch to start-> start)

II. Under the win7 system

Method 1:

The following command reboot fails, which needs to be executed each time you boot.

Netsh interface ipv4 set neighbors network card serial number "IP"MAC" store=active

Method 2:

The following order is in effect forever

Netsh-c "I I" add neighbors network card serial number "IP"MAC"

Unbind

Netsh interface ipv4 reset

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report