当前位置:网站首页>网络命令:网卡信息,netstat,arp
网络命令:网卡信息,netstat,arp
2022-07-17 05:06:00 【dafeng2773】
查看网卡信息

1.物理地址:00-26-C7-50-46-B4
也称MAC地址,每一台设备都会有一个MAC地址,由设备厂商分配,烧录在网卡中。运用于数据链路层中。通常表示为12个16进制数,每2个16进制数之间用 “-”隔开,MAC地址的长度为48位(6个字节),只要你不去更改自己的MAC地址,那么你的MAC地址在世界是惟一的。
2.已启用DHCP:
DHCP(动态主机配置协议)是一个局域网的网络协议。指的是由服务器控制一段IP地址范围,客户机登录服务器时就可以自动获得服务器分配的IP地址和子网掩码。默认情况下,DHCP作为Windows Server的一个服务组件不会被系统自动安装,还需要管理员手动安装并进行必要的配置。
3.IPv4地址:192.168.1.3
IP地址,运用于网络层中,用点分十进制数来表示,IP地址是32位的(4个字节)。
4. IPv4子网掩码:255.255.255.0
用来做子网划分,也可以表示为:192.168.1.3/24。
5.IPv4默认网关:192.192.168.1
作为局域网内数据的默认出口
较下IP与默认网关的设置就会发现其实前3位都是相同的,最后一位,IP地址你可以随便填(区间为2-255之间的数字),但是默认网关最后一位必须填1( 如192.168.1.1,不能填192.168.1.2)。
6.IPv4DHCP服务器:192.168.1.1
7.IPv4 DNS 服务器:202.96.209.133
域名服务器,dns主要的功能就是将域名和ip地址进行转换,例如:我们在浏览器中输入“www.baidu.com”,计算机会去DNS服务器中转换出对应的IP。

IPv6:用于解决IPv4地址不足问题。
Netstat
netstat是基于Netstat这个命令行工具的指令,它可以用来查询系统上的网络套接字连接情况,包括tcp,udp以及Unix套接字;另外它还能列出路由表,接口状态和多播成员等信息。

参考链接:
Linux中的netstat命令详解 - HF&SLC - 博客园
arp
显示和修改地址解析协议(ARP)使用的“IP 到物理”地址转换表。
示例:
> arp -s 157.55.85.212 00-aa-00-62-c6-09.... 添加静态项。
> arp -a .... 显示 ARP 表。
边栏推荐
- Installation and fast use of Mongo DB stand-alone version
- STL容器——vector的基本操作
- uniapp中使用ucharts图表,饼状图,柱状图,折线图
- Leetcode53. maximum subarray and
- Continue from the previous issue: the remaining two methods of the rotation chart
- Mongo DB aggregate operations and indexes
- ArcGIS Pro发布服务
- H5如何获取内网IP和公网IP
- 读论文《Learning to Measure Changes: Fully Convolutional Siamese Metric Networks for Scene Change Detec》
- Two JS methods of rolling wheel loading and modal box dragging
猜你喜欢

实习项目1-个性化主页配置

Feature extraction of machine learning (digitization and discretization of category features and digitization of text features)

es6新增-数组部分

Ucharts chart, pie chart, bar chart and line chart are used in uniapp

uniapp 表单(input、radio、picker)提交获取参数值

基于cuda10.0的pytorch深度学习环境配置

Applet cloud development form submission and data acquisition in the page

【C语言_学习_考试_复习第三课】ASCII码与C语言概述

About the current response, the method getoutputstream() has been called

Installation and fast use of Mongo DB stand-alone version
随机推荐
Get the multi-functional version of the maximum and minimum values of the internal values of the objects in the array and the full version of the roll call system, and show the effect
轮播图移动速度(匀速,缓动)案例归总
热更新及其原理
读论文《Learning to Measure Changes: Fully Convolutional Siamese Metric Networks for Scene Change Detec》
02 Bar _ Recommandation de film (basée sur le contenu) Portrait de l'utilisateur
ES6 latest commonly used knowledge dictionary (which can help you solve interview questions, problems in programming, etc.)
Two JS methods of rolling wheel loading and modal box dragging
学习C语言第三天
The code of yolov5 model for pest identification in Title A of the 10th Teddy cup data mining challenge (has been run through, original works, continuously updated)
js 原生对象加属性
获取数组中对象内部的数值最大与最小值多功能版及点名系统完整版并展示效果
Es6 真实案例解构(多维数组对象)全新案例:
硬核结构体,暴力解读
Bi design: distributed high concurrency epidemic prevention health management system based on vue+socket+redis
Pat class B 1017: a divided by B
About the current response, the method getoutputstream() has been called
遍历的方法总结
How to upload qiniu cloud
IText modify PDF Text
轮播图节流阀原理及本地存储归总