linux on the network interface and configuration tool Description

Configure the Linux operating system, network interfaces, typically implemented by a network configuration tool, but the ultimate goal is to achieve modify the network configuration files over the network configuration tool functioning. By this token, we can configure the network to modify the configuration file directly.

Such as a network IP address of the network interface (NIC), and the subnet mask, gateway, modifying a configuration file in Slackware /etc/rc.d/rc.inet1 just on the line, and in Redhat / Fedora or the like Redhat / Fedora based release, generally involves several files, such as including such as / etc / sysconfig / network-scripts / ifcfg-eth0 account.

Learn Linux network configuration file is extremely important, we modified by means of what is how in effect, only to understand the network profile to find out. Be an inappropriate analogy: Linux system is a transparent box, as a box filled with what is straightforward. The closed-source operating system, we do not have the opportunity to know them, but he did not know how to achieve.

For complex network model, Linux operating system is a great advantage, may we look at the man and help, modify modify the configuration file, you can get in a few minutes. But closed-source graphical interface of the operating system are not so lucky, mouse repeatedly.

Point dozens hundreds of times can not solve a problem, which is extremely common. Because there are many versions of Linux distributions and operating systems, most of the releases has its own dedicated configuration tool. Mainly for the convenience of the user to configure the network; but there are also common configuration tools, such as Linux ifconfig, ifup, ifdown;

2 drives on the network hardware device;

I have written in previous documents, network hardware, such as network cards (including wired and wireless), including ordinary cat cat and the cat ADSL, are required kernel support, so we first have to know your network equipment is not already It is hard-core support. If not, we have to find a drive (or through the kernel compilation) to support it; see:

3 , Linux ifconfig configure a network interface presentation tool;

Linux ifconfig is used to view, configure, enable or disable network interface tool, this tool is extremely common. For instance, we can use this tool to temporary card configuration IP address, mask, broadcast address, gateway, and so on. You may write it to a file (such as /etc/rc.d/rc.local), so that the system boots, it will read the file, set the IP address for the card;

But now it seems to do so not much need. The main issue is each version has its own configuration tool, in any case, the host can join the network

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11109271.html