Linux ifconfig, IP, and route network configuration commands

Source: Internet
Author: User
Tags linux

One, as a crazy love of Linux, we first need to master in the Linux system how to configure IP, Routing and host name basic Linux network configuration, of course, if we want to access the Internet basic IP address configuration is not enough, Access to the network we need to configure our Domain name resolution Server DNS, the following as a rookie I put our usual use of basic network configuration commands to and you introduce, write bad words, please forgive me ~~~~~

This article mainly introduces Linux under the network view, configuration of the basic commands: Ifconfig, IP, route, and then the introduction of DNS, host name and other information configuration!

Second, before we configure the network, we first understand the Linux system under the network interface type and naming rules, as well as the type of network address

1. Network Interface type:

Lo: Local loopback interface

ETH[0-9]: Ethernet interface

PPPX: Point to Point Connection

Of course, we usually use the LO and Ethernet interface. These two types of loopback loop interface lo are only used for loop testing within the system, and the ETH Ethernet interface is the physical interface that we often use to connect the network cable.

2, the Ethernet network card naming rules:

Under different systems its naming rules are not the same, and we take the Redhat 5-32bit system as an example:

Rehl 5-32bit: The definition file of the Ethernet network card naming rule is/etc/modprod.conf

3, network Address type:

Temporary Network address: Network information configured using commands such as ifconfig will take effect immediately, but restarting the network service or system will fail

Permanent network address: By modifying the network configuration file within the system, the changes will not take effect immediately, need to restart the network services or the system will be effective, and will be permanently effective.

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.