Linux Basic Network knowledge

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.