How to prohibit modification of ip address? Prohibit modification of ip tips

  

How to prohibit modification of ip address? Many LANs will encounter IP conflicts, which is the reason for someone to modify ip at will. Recently, Xiao Bian has a teacher who just did a teacher and wrote a bitter water to Xiaobian. He said that the current students are often free to modify the IP address in the school computer room, which causes many computers to fail to access the Internet. So how to prohibit the modification of the ip address? In fact, it is very simple, here are a few ways to prohibit the modification of ip.

How to prohibit the modification of the ip address The first trick: cut the IP entry

Modify the ip is generally modified by the connection properties. We can disable non-administrator access to the connection properties to prevent modification of the ip. Start Menu - Run - Enter <;gpedit.msc”--> Administrative Templates--> Network--> Network Connections, then "No Access to LAN Connection Component Properties";“Enable Windows 2000 for Administrators Network connection settings & rdquo; are enabled ok.

But if a computer is executed in this way, if the LAN you manage is very large, the workload will be large. We can do this with a simple batch file. Create a new txt file, name it random, and copy the following code into the txt file:

regsvr32 /u netcfgx.dll

regsvr32 /u netman.dll

regsvr32 /u netshell.dll

echo Rainforest Woodwind System Portal reminds you that the settings have been successful!

pause

Save the file and change the file extension to bat . Just click on this batch file and you will see that you can't access the "property" option when you right-click on your network neighborhood. If you want to revisit the "My Network Places" property option, change the /u of the file to /s.

How to prohibit modification of ip address second trick: bind MAC address

Start menu-Run-Enter"cmd”, execute “ipconfig /all” command in the pop-up window Record the MAC address and IP address of the network card; then bind the specified IP address to the corresponding MAC address. Even if someone changes the IP address in your computer, he cannot pass the proxy server. Internet connection. For example, to bind the IP address 10.115.223.198 to the NIC MAC address 00-00-0E-63-E6-3D, you need to execute the command line arp -s 10.115.223.198 00-00- in the "Command Prompt" window. 0E-63-E6-3D. If you want to unbind, run the command line arp -d 10.115.223.198.

In addition, if you manage a LAN using a Layer 3 switch to connect to each workstation, then you only need to limit the IP address at each switch port, so that others can modify the IP. The address is also unable to access the Internet through the switch.

Of course, you can also disable users on the LAN to modify the IP address at will by some tools that prohibit modification of the ip. This is not listed one by one.

Copyright © Windows knowledge All Rights Reserved