1, understand the OSI seven layer model, and the five layer protocol structure.
650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/73/0F/ Wkiom1xy5v-d7xmaaad77mm1-eo478.jpg "" 413 "height=" 287 "/>
650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/73/0F/ Wkiom1xy5v-i9f2aaafj68vetoe693.jpg "" 411 "height=" 295 "/>
2. Understanding the TCP three-time handshake and four-time disconnection
650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M00/73/0F/wKiom1Xy5WDQYd-GAAA_ Tama1pw150.jpg "" 244 "height="/>
650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; margin:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M01/73/0F/ Wkiom1xy5wcyb2qfaabotdf2prm813.jpg "" 244 "height=" 181 "/>
3, ifconfig Display information description
650) this.width=650; "title=" image "style=" border-top:0px; border-right:0px; Background-image:none; border-bottom:0px; padding-top:0px; padding-left:0px; border-left:0px; padding-right:0px "border=" 0 "alt=" image "src=" http://s3.51cto.com/wyfs02/M02/73/0F/ Wkiom1xy5whjiw0kaadtmyqusua563.jpg "" 368 "height=" 162 "/>
Maximum Transmission unit of MTU NIC
inet Internet IP
netmask Subnet Mask
Broadcast broadcast address
Error message caused by network media or NIC module
Dropped: Packet loss due to kernel accepted but no buffering system
Overruns: Packet loss due to inconsistent buffer size
Ifconfig up boot NIC
Ifconfig Down network card
Ifconfig Add IP address netmask subnet mask temporarily change IP address system restart failure
4. Permanently save NIC configuration information
vim/etc/sysconfig/network-scripts/if-NIC
Onboot Boot Yes or no
Type network types
Bootproto DHCP or static
IPADDR the IP address to set
Subnet mask set by NETMASK
Broadcast the broadcast address to set
Gateway Gateways
Note After Centos7
Dns1=dns Address
Wq Save exit
5. DNS Settings
Vim/etc/resolv.conf
NameServer DNS Address
Wq Save
Linux Basic Network knowledge