首页 > 系统相关 >路由表操作(windows)

路由表操作(windows)

时间:2022-08-28 12:12:11浏览次数:64  
标签:网段 windows route 本地网 num interface 操作 路由表

路由表操作--windows

一、路由表打印

命令行:route print -4

二、路由表添加

route add 目标网段 mask 目标网段掩码 本地网口的网关 metric 跃点数 if 本地网口的interface_num

注意:route print -4可以查看所有本地网口的 interface_num。如果命令行未给出 interface_num,则系统会尝试找一个最优的网口

三、路由表修改

route change 目标网段 mask 目标网段掩码 本地网口的网关 metric 跃点数 if 本地网口的interface_num

四、路由表删除

route delete 目标网段

标签:网段,windows,route,本地网,num,interface,操作,路由表
From: https://www.cnblogs.com/caojun97/p/16632494.html

相关文章

  • juniper基本操作之 三
                               查看端口下控制协议报文:   ......
  • PowerShell教程 - WMI操作(Interact With Windows Management Instrumentation)
    更新记录转载请注明出处。2022年8月28日发布。2022年8月28日从笔记迁移到博客。WMI操作(InteractWithWindowsManagementInstrumentation)说明WindowsManageme......
  • mongodb基础操作
    前言本文主要针对的是mongoDB的基本操作,以及使用python语言对mongodb的接口调用。使用工具为pycharmerobot3T【已经被收购,推出了收费版。robot3T还是免费的】......
  • 操作系统的介绍
    操作系统的介绍1.什么是操作系统操作系统其实就是一个协调、管理、控制计算机硬件资源和软件资源的一个控制程序2.为什么要有操作系统(1)可以控制计算机硬件的基本运行(2......
  • python文件操作 r w a
    文件操作创建文件"asdf.txt"open()#打开file#文件的位置(路径)mode#操作文件的模式encoding#文件编码方......
  • Django入门到放弃之ORM单表操作
    1.常用和非常用字段和参数概览#常用字段 -IntegerField整数-AutoField-BooleanField-CharField-DateField-DateTimeField-DecimalFi......
  • 5 - Windows端Git可视化工具TortoiseGit(小乌龟)
     TortoiseGit是一个开放的Git版本控制系统的源客户端,只运行于Windows系统中,与操作系统紧密结合,使用起来非常方便 一、TortoiseGit的下载安装1、TortoiseGit软件链接:h......
  • juniper基本操作之 二
    配置主机名:[edit]root#setsystemhost-nameR1root@R1#setsystemname-server8.8.8.8        密码恢复:       ......
  • how to make the windows console work with utf-8 encoded project
    theconsoleofthewindowsosisnotworkingintheutf-8encoding,bydefault.Whenyouforceyourcodebeencodedwithutf-8,theconsolewillnotprintwhat......
  • juniper防火墙基本操作之 一
    rootcliconfigureshowinterfacesterseshowinterfacesbriefshowinterfacesdetailshowinterfacesextensiveshowinterfacesdetail|matchfe-0/0/0helpreferen......