当前位置:网站首页>01 network basics
01 network basics
2022-06-25 21:00:00 【Zhushuaijie 1】
Catalog
One 、 Test network connectivity
One 、 Test network connectivity
1:ifconfig eth0 View network card information
2:ifconfig View active interfaces
3:ifconfig -a View multiple network interfaces ( Contains hidden interfaces )
4:ping IP Address Test network connectivity
ping www.baidu.com
time=15ms
ping 167.87.23.4
5:route -n View routing table
6:host The target host /DNS The server DNS analysis IP Address / domain name ( website )
host 172.88.8.35
host www.baidu.com
7:ifconfig Interface IP Address Subnet mask
ifconfig eth0 192.168.0.1 255.255.255.0
ifconfig eth0 192.168.0.1/24
8:ifconfig Interface close / open
ifconfig eth0 down
ifconfig eth0 up
9:ifconfig Interface : Serial number IP Address / Mask length Add virtual interface
ifconfig eth0:0 172.88.8.254/24
Two 、IP(IP address) Address Overview
IP Address : Identify the nodes of a device in the network
IPv4 Address IPv6 Address
192.168.0.1
1: form
32 position 2 It's made up of hexadecimal numbers
Decimal system :0 1 2 3 4 5 6 7 8 9 10 11 12 20
Binary system :0 1 10 11 100 101 110 111 1000
11000000.10101000.0000000.00000001
2: Representation
dotted decimal
192.168.0.1
3: Hexadecimal conversion
Decimal system --- Binary system 30(10)---11110(2)
Binary system --- Decimal system 1101(2)---13(10)
4:0.0.0.0--255.255.255.255
The first category : Private address Public address
Private address :
A:10.0.0.1-10.255.255.254
B:172.16.0.1-172.31.255.254
C:192.168.0.1-192.168.255.254
LAN Internet
The second category :IP First number of addresses
For general computer networks
A:0-127
B:128-191
C:192-223
Multicast and special for scientific research
D:224-239 Multicast
E:240-254 scientific research
3、 ... and 、 Subnet mask
1: distinguish IP The network bit and host bit of the address
Default subnet mask
A:255.0.0.0 1+3
B:255.255.0.0 2+2
C:255.255.255.0 3+1
2: How to distinguish between ?
(1: according to IP Determine the subnet mask corresponding to the address 255.255.255.0
(2: Determine the network bit and host bit 192.168.0 1
(3: If two IP The address network bits are the same , So these two IP Belong to the same LAN
Four 、Windows see IP Address
1. Command mode
Windows + R --> cmd -->ipconfig
5、 ... and 、 Gateway concept and DNS Server concept
To configure IP Address :
1、 Manual configuration
2、DHCP Automatic access to ( If there are dhcp The server )
gateway : Gateway address from one network to another , When it comes to network devices, routers
The exit address of a network
The entry address of a network
DNS The server : Domain name resolution system , A machine that provides domain name resolution .
Domain name resolution : Can resolve the domain name to IP Address
www.baidu.com -------> DNS The server -------> IP Address --------> Baidu's servers
边栏推荐
- Leetcode daily [2022 - 02 - 17]
- [summary] 2021unctf Campus (cry & MISC)
- How does jest expose specific problems in complex judgment conditions?
- Is flush app regular? Is it safe or not
- Lesson 1 Preparation
- Node connection MySQL
- Introduction to the basics of kotlin language: lambda expression
- What is an app circle of friends advertisement
- [machine learning] machine learning from zero to mastery -- teaching you how to use decision tree to predict contact lens types
- SaaS privatization deployment scheme
猜你喜欢
laf. JS - open source cloud development framework (readme.md)
js (1)
R language quantile autoregressive QAR analysis pain index: time series of unemployment rate and inflation rate
Cross project measurement is a good helper for CTOs and PMOS
Boomfilter learning
Interview shock: talk about thread life cycle and transformation process?
[opencv] opencv from introduction to mastery -- detailed explanation of input and output XML and yaml files
Jingxi Pinpin wechat applet -signstr parameter encryption
Cvpr2019 | the latest cvpr2019 papers are the first to read!
Yunzhisheng atlas supercomputing platform: computing acceleration practice based on fluid + alluxio (Part 2)
随机推荐
Reasons for network timeout app flash back
Log4j2 vulnerability detection tool list
Inventory - those automated test interview questions you can't help but know
Global netizens Yuanxiao created a picture of appreciating the moon together to experience the creativity of Baidu Wenxin big model aigc
JS__ Prototype, prototype chain, call/apply__ Duyi
The correct way to clear the cache of the computer. The computer will not get stuck immediately after changing. practical
Soft test intermediate simple notes
Cloud native 04: use envoy + open policy agent as the pre agent
Leetcode theme [array] -31- next spread
Boomfilter learning
Those high-frequency and real software test interview questions sorted out by the test director in 7 days, come to get
Patrol script
1.0-mq getting started and using
Lantern Festival, learning at the right time! Novice training camp attacks again, learning buff continues to fill up
VFS appears when mounting a file system from an SD card: cannot open root device "mmcblk1p2“
Bank digital transformation layout in the beginning of the year, 6 challenges faced by financial level structure and Countermeasures
Yolov4 improved version comes out! Yolov4 extended edition! Yolov4 launched scaled-yolov4: scaling cross stage partial network
The SH runtime directly reported an error syntax error near unexpected token ` $'. \r‘
Yunzhisheng atlas supercomputing platform: computing acceleration practice based on fluid + alluxio (Part 2)
Heavy update! Yolov4 latest paper! Interpreting yolov4 framework