LINUX network settings
catalogue
View network configuration
Test network connection
Using the network configuration command
Modify network profile
summary
View network configuration
View network interface information ifconfig
View host name hostname
View the route table entry route
View network connectivity netstat
Get socket statistics ss
Test network co ...
Added by ClaytonBellmor on Sun, 16 Jan 2022 17:12:39 +0200
java network programming (socket (Tcp small Dome))
Java stream
Before network programming, we must understand how important streaming is to Java. We can store and read files through streams, and also transmit network data through streams. There is no concept of pointer in Java. We know that in C language, it regards all abstract concepts such as screen and keyboard as files, corresponding ...
Added by iii on Sun, 16 Jan 2022 14:07:33 +0200
Analysis of OkHttp source code of Android network framework -- interceptor analysis
Android network framework -- OkHttp source code analysis
This article is based on Kotlin language
Previous article: Analysis of OkHttp source code of Android network framework (1) -- request process After explaining the request process of OkHttp, this article enters the second part - OkHttp interceptor analysis.
Interceptor analysis of ...
Added by seriousdamage on Sat, 15 Jan 2022 11:46:01 +0200
Chapter 19 of TCP/IP network programming
Kernel Objects
definition
Resources created and managed by Windows operating system, including processes, threads, files, semaphores, mutexes, etc.
Different resource management methods are different.
File management, register and update file related data I/O Location, file open mode (read or write), etc.Thread management, register and ...
Added by projectshifter on Sat, 15 Jan 2022 07:49:38 +0200
Comprehensive experiment of mgre and ospf in ensp
catalogue
1, Experimental environment
2, Experimental requirements
3, Experimental steps
1. Reasonably divide network segments
2. Configure the specific network segment address
3. Configure MGRE structure of R1, R4 and R5
4. Configure MGRE structure of R1, R2 and R3
5. Manually write a default route to the isp
6. Turn ...
Added by mikegzarejoyce on Thu, 13 Jan 2022 14:30:02 +0200
Docker container network mode and data management
1, Docker container operation
1. Container creation
The process of loading a mirror into a container. The newly created container is stopped by default and does not run any program. A process needs to be initiated to start the container
format∶docker create [option]
Common options for mirroring∶
-i∶Keep the input of the container open
...
Added by guru2k9 on Thu, 13 Jan 2022 04:22:53 +0200
Java NIO Channel usage
Channel classification in Java NIO:
FileChannelSocketChannelServerSocketChannelDatagramChannel
FileChannel: it is mainly used for reading and writing files. You can read files from disk or write files to disk.
SocketChannel: used for data reading and writing of Socket TCP connection. You can read data from the Channel or write data to the C ...
Added by WhiteShade6 on Wed, 12 Jan 2022 08:01:48 +0200
Principle and configuration of DHCP
DHCP belongs to application layer protocol port 67 server 68 client UDP
How DHCP works
Understanding DHCP services
DHCP(Dynamic Host Configuration Protocol)Designed and developed by lnternet task forceA protocol designed to automatically assign TCP/IP parameters to computers in a TCP/IP network
Benefits of using DHCP
Reduce administrat ...
Added by phpcoding2 on Tue, 11 Jan 2022 18:48:24 +0200
Wireshark TS | Ping Google DNS 8.8.8.8 special result resolution
preface
In a word, Google DNS 8.8.8.8 will truncate the packet length of Ping response, and there will be different results on the system, but Wireshark packet capture results will show that Ping is not responding.
163 example
Start with www.163 Com as an example, Windows defaults to Ping, and the data length is 32.
$ ping www.163.com
I ...
Added by eraxian on Mon, 10 Jan 2022 14:53:54 +0200
Section 47 comprehensive network configuration experiment (including IP, RIP, VLAN, VTP, HSRP, ACL, NAT and other configuration complete commands) - based on packettracer8 0 simulation experiment
1. Network planning
1.1 network topology
1.2 network planning
Overall planning: the company is headquartered in Beijing and has branches in Shanghai and Guangzhou, which are connected to the headquarters through special lines. It is assumed that the internal and external network segments are planned as follows.
Department Network: V ...
Added by leon_nerd on Mon, 10 Jan 2022 09:06:55 +0200