当前位置:网站首页>Network Security Learning (Qianfeng network security notes) 2 -- IP and basic DOS commands
Network Security Learning (Qianfeng network security notes) 2 -- IP and basic DOS commands
2022-07-21 04:17:00 【Watermelon that loves programming】
Network Security Learning ( Qianfeng network security notes )2–IP And basic DOS command
List of articles
1.IP Address details
LAN ( Intranet )
Single LAN composition : Switch , Ethernet cable ,pc
Switch : A device used to build a local area network for an intranet
IP Address
It's usually 32 Bit binary address
Or in the shape of X.X.X.X The decimal address of (X For the range of 0-255)
Subnet mask
LAN communication rules : All in the same LAN IP Addresses must be in the same network segment to communicate with each other
IP The composition of the : Network bit + Host bit ( The network bits are the same IP Address , For the same segment )
Subnet mask : Used to determine IP Network bit of (255 The corresponding number is network bit ,0 The corresponding number is the host bit ) There are three kinds of :
255.0.0.0
255.255.0.0
255.255.255.0
Pictured , The host network segment is 192.168.159., Host location is .128. Will host the IP The address and subnet mask can get the network bit of this note by phase and .
IP Address
ISO Define five categories (IP Address first distinguish )
A class :1-126 Default mask :255.0.0.0
B class :128-191 Default mask :255.255.0.0
C class :192-223 Default mask :255.255.255.0
D class :224-239 Multicast address
E class :240-254 Scientific research uses
notes : At present, we can only use A、B、C class
The subnet mask can be modified
255 Is the broadcast address of the network segment
127.0.0.1 Return address ( Communicate with yourself )
gateway
An exit to the network , Usually on the router
Router : Devices connected to the Internet
One of the functions of the gateway is as follows :pc Contract out
1、 First judge the target IP And whether you are Same segment
2、 If in the same network segment , Then send it directly , Gateway not found
3、 If not in the same network segment , Then contract to gateway
DNS
The domain name system ( service ) agreement (DNS) Is a distributed network directory service , Mainly used for domain name and IP Address translation , And controlling the sending of e-mail on the Internet
Test network connectivity
Resolve the domain name manually :nslookup website
ping The goal is IP # Test network connectivity , Going back and forth is the way
ping -t The goal is IP # always ping
ping -n Numbers # modify ping The number of bags , The default is 4
ping -l Numbers # modify ping The size of the bag
ipconfig # see ip essential information
ipconfig /all # see ip All the information
basic DOS command
cd… Return to parent directory
cd\ Return to root
d: Get into D disc
cls Clean all dos operation
dir Displays the current drive letter file information
browse files
type file name . Extension Show
type file name . Extension |more Pagination display
create a file
1、echo
2、copy con file name . Extension
Start writing content
ctrl+z Press enter to finish writing
Delete file
del *.txt Delete all txt Final document
del . Delete file
Shut down, restart, log off
shutdown -s -t 100 Timed shutdown
shutdown -s -f -t 100 Timed forced shutdown
shutdown -r -t second Restart regularly
shutdown -a Cancel timing
shutdown -l Cancellation
边栏推荐
- 好玩的猜数游戏(不是二分查找!)
- 结合源码看《我所理解的cocos2dx-3.0》—— 渲染流程
- Ask me if there is a better way to do database migration, whole database migration, from MySQL (old) - & gt; MySQL (New)?
- [unity script optimization]optimizing scripts in unity games - below 2019
- 不知道 MySQL 咋学?刷完牛客这 50 道题就够了!(第五篇)
- The new version of WordPress 6.0.1 has been released, and it is recommended to update it all.
- 解读最新ECCV 2022工作:组合式扩散模型
- 剑指offer专项突击版第3天
- Constructor, static method, abstract method, default method in interface
- 离线安装jenkins及离线安装插件
猜你喜欢
See "cocos2dx-3.0 as I understand it" in combination with the source code - Overview
Don't know how to learn MySQL? It's enough to finish the 50 questions of Niuke! (Part III)
How much does it cost to buy a kitchen knife that can shoot garlic? Get the price of kitchen knife by crawling
One bite of Stream(3)
TSN 802.1AS时钟同步协议测试
TSN 802.1as clock synchronization protocol test
[unity script optimization] unity magic methods
WordPress opens sitemap XML, a piece of code to solve.
pycharm 突然无法连接远程服务器
DNS域名解析服务
随机推荐
STM32 learning (1) basic introduction
Don't know how to learn MySQL? It's enough to finish the 50 questions of Niuke! (Part V)
聪明人的游戏提高篇:第三章第二课:k个数乘(cheng)
聪明人的游戏提高篇:第三章第一课:grid(格子位置)
「干货实验」华为 DHCP +单臂路由实验
Simple realization of unity life game
剑指 Offer II 016. 不含重复字符的最长子字符串
One bite of Stream(5)
jenkins设置语言为中文
栈模拟队列
WordPress开启sitemap.xml,一段代码解决。
Unity2D 自定义Scriptable Tiles的理解与使用(二)——通过了解Tile类来对TileBase类的方法(主要是GetTileData方法)进行详细理解
数据库笔记
Uni app - solution to the failure of the return key of the mobile phone with the embedded web page physics in the app platform (after the embedded WebView web page H5 is packaged, the mobile phone's p
UGUI官方优化文档翻译
网络安全学习(千锋网络安全笔记)2--IP与基本DOS命令
expect
UGUI——Text和TextEffect
How much does it cost to buy a kitchen knife that can shoot garlic? Get the price of kitchen knife by crawling
结合源码看《我所理解的cocos2dx-3.0》—— 内存管理