php editor Baicao will introduce you in detail how to add temporary routes and permanent routes in Windows systems. In network configuration, routing settings are a very important part, which can help us realize network data transmission and access control. In Windows systems, we can add temporary routes and permanent routes through the command line or graphical interface to meet different network needs. Next, let’s learn how to do it!
Windows adds and deletes temporary routes and permanent routes
1. Use the route command to add temporary routes
1、查看自己电脑IP地址(记录子网掩码和默认网关) 例:子网掩码:255.255.255.0 默认网关:192.168.50.1 2、将需要添加路由的地址套入该命令中 route add -p IP地址 mask 子网掩码 默认网关 例:route add -p 192.168.50.0 mask 255.255.255.0 192.168.50.13、以管理员身份运行CMD命令
2. Use the route command to add Permanent routing
仿照以上步骤,临时路由命令中去掉“-P”,永久路由命令中保留“-P”例:route add 192.168.50.0 mask 255.255.255.0 192.168.50.1
3. Use the route command to delete the route
仿照以上步骤,命令为route delete 192.168.50.0 mask 255.255.255.0 192.168.50.1
4. Add static routing
First, enter "cmd" in the taskbar search box, then right-click "Command Prompt" in the options that appear, and select "Run as administrator".
In the command prompt window that opens, use the command in the following format to add a static route:
For example, if the target network IP that needs to be added is 192.168 .1.0, the subnet mask is 255.255.255.0, and the gateway is 192.168.0.1, the command you need to enter is:
If you need a permanent static route, you need to add " after the above command -p" parameter, for example:
Note: These values need to be replaced according to your actual network environment.
After entering the command, press the "Enter" key. If no error message appears, the static route was added successfully.
5. Query the routing table
You can query the routing table information through the command route print
C:\Users\Administrator>route print===========================================================================接口列表 11...00 ff a5 91 f3 9f ......Array Networks TAP-Windows Adapter 5...04 d9 f5 21 63 a2 ......Realtek PCIe GBE Family Controller 4...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1 6...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8 1...........................Software Loopback Interface 1===========================================================================IPv4 路由表===========================================================================活动路由:网络目标 网络掩码 网关 接口 跃点数 0.0.0.0 0.0.0.0 192.168.188.2 192.168.188.12 291 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.8 35 127.0.0.0 255.0.0.0 在链路上 127.0.0.1 331 127.0.0.1 255.255.255.255 在链路上 127.0.0.1 331 127.255.255.255 255.255.255.255 在链路上 127.0.0.1 331
The above is the detailed content of How to add temporary and permanent routes in Windows. For more information, please follow other related articles on the PHP Chinese website!

c盘的users是用户文件夹,主要存放用户的各项配置文件。users文件夹是windows系统的重要文件夹,不能随意删除;它保存了很多用户信息,一旦删除会造成数据丢失,严重的话会导致系统无法启动。

启动任务管理器的三个快捷键是:1、“Ctrl+Shift+Esc”,可直接打开任务管理器;2、“Ctrl+Alt+Delete”,会进入“安全选项”的锁定界面,选择“任务管理器”,即可以打开任务管理器;3、“Win+R”,会打开“运行”窗口,输入“taskmgr”命令,点击“确定”即可调出任务管理器。

PIN码是Windows系统为了方便用户本地登录而独立于window账户密码的快捷登录密码,是Windows系统新添加的一套本地密码策略;在用户登陆了Microsoft账户后就可以设置PIN来代替账户密码,不仅提高安全性,而且也可以让很多和账户相关的操作变得更加方便。PIN码只能通过本机登录,无法远程使用,所以不用担心PIN码被盗。

对于刚刚开始使用PHP的用户来说,如果在Windows操作系统中遇到了“php不是内部或外部命令”的问题,可能会感到困惑。这个错误通常是由于系统无法识别PHP的路径导致的。在本文中,我将为您提供一些可能会导致这个问题的原因和解决方法,以帮助您快速解决这个问题。

windows操作系统的特点包括:1、图形界面;直观高效的面向对象的图形用户界面,易学易用。2、多任务;允许用户同时运行多个应用程序,或在一个程序中同时做几件事情。3、即插即用。4、出色的多媒体功能。5、对内存的自动化管理。

win10自带的onenote是UWP版本;onenote是一套用于自由形式的信息获取以及多用户协作工具,而UWP版本是“Universal Windows Platform”的简称,表示windows通用应用平台,不是为特定的终端设计的,而是针对使用windows系统的各种平台。

因为win10系统是不自带扫雷游戏的,需要用户自行手动安装。安装步骤:1、点击打开“开始菜单”;2、在打开的菜单中,找到“Microsoft Store”应用商店,并点击进入;3、在应用商店主页的搜索框中,搜索“minesweeper”;4、在搜索结果中,点击选择需要下载的“扫雷”游戏;5、点击“获取”按钮,等待获取完毕后自动完成安装游戏即可。

在windows中鼠标指针呈四箭头时一般表示选中对象可以上、下、左、右移动。在Windows中鼠标指针首次用不同的指针来表示不同的状态,如系统忙、移动中、拖放中;在Windows中使用的鼠标指针文件还被称为“光标文件”或“动态光标文件”。


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Zend Studio 13.0.1
Powerful PHP integrated development environment
