当前位置:网站首页>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
边栏推荐
- Jingxi Pinpin wechat applet -signstr parameter encryption
- ZK implementation of distributed global counter for cursor application scenario analysis
- Common optimization of e-commerce server system architecture
- Installing mysql8 under centos8
- Global netizens Yuanxiao created a picture of appreciating the moon together to experience the creativity of Baidu Wenxin big model aigc
- MySQL installation tutorial
- Leetcode daily [2022 - 02 - 18]
- Web components series (11) -- realizing the reusability of mycard
- Must see the summary! In depth learning era, you should read 10 articles to understand image classification!
- [deep learning series] - visual interpretation of neural network
猜你喜欢
Global netizens Yuanxiao created a picture of appreciating the moon together to experience the creativity of Baidu Wenxin big model aigc
Boomfilter learning

Vbpr (visual Bayesian personalized ranking) paper summary

Insert and update each database
Live broadcast preview | front line experts invite you to talk: the value of data science enabling multiple application scenarios

Docker failed to remotely access 3306 after installing MySQL
![[buucry] sensor (Manchester code)](/img/ab/066923f1aa1e8dd8dcc572cb60a25d.jpg)
[buucry] sensor (Manchester code)
Yanjiehua, editor in chief of Business Review: how to view the management trend of business in the future?
Great changes in the interaction between people and the digital world
Feature Engineering in simple terms – a practice guide based on openmldb (Part 1)
随机推荐
Desktop network error display red ×, Component failed to start
Common optimization of e-commerce server system architecture
An unusual interview question: why doesn't the database connection pool adopt IO multiplexing?
Leetcode topic [array] -33- search rotation sort array
Mysqldumpslow out slow statements in the database
Causes and solutions of unreliable JS timer execution
How does zhiting home cloud and home assistant access homekit respectively? What is the difference between them?
[data recovery in North Asia] a data recovery case in which the upper virtual machine data is lost due to the hard disk failure and disconnection of raid6 disk array
Shell scripts: Variables
[summary] 2021unctf Campus (cry & MISC)
HMS core actively explores the function based on hardware ear return, helping to reduce the overall singing delay rate of the singing bar by 60%
Illustration tcp/ip - Chapter 1 and 2 Notes
[machine learning] machine learning from zero to mastery -- teaching you how to use decision tree to predict contact lens types
MySQL lock
The user name and password will be automatically filled in when adding a form
Lesson 4 beautifulsoup
Leetcode daily [2022 - 02 - 18]
股市小白通过网上进行股票开户安全吗?
Live broadcast preview | front line experts invite you to talk: the value of data science enabling multiple application scenarios
Soft test intermediate simple notes