The Linux ifconfig command has already been used to view the NIC information. Here we will describe how to use this command to perform simple configuration and status settings for the NIC, which involves switching the IP address, MAC address, and nic status.
Ifconfig
Configure the IP address of the NIC
Ifconfig eth0 1
Many people are very familiar with the ipconfig command-line tool under Windows, which is used to obtain and modify network interface configuration information. The Linux system has a similar tool, the ifconfig (Interfaces config). You typically need to log in as root or use sudo to use the Ifconfig tool on a Linux mac
Network Configuration of ifconfig Nic in Linux (1)
The Ifconfig command allows the LINUX core to know some network interfaces such as software delivery and network card, so that Linux can use them.
In addition to the usage described above, the
Try the ip command in Linux. ifconfig is out of date.
Linux's ip commands are similar to ifconfig, but the former is more powerful and aims to replace the latter. Using ip commands, you can easily execute some network management tasks with only one command. Ifconfig is an obsolete command in net-tools. It has not been
Original URL: http://www.cnblogs.com/peida/archive/2013/02/27/2934525.htmlMany windows are familiar with the ipconfig command-line tool, which is used to obtain and modify network interface configuration information. The Linux system has a similar tool, the ifconfig (Interfaces config). You typically need to log in as root or use sudo to use the Ifconfig tool on
Many windows are familiar with the ipconfig command-line tool, which is used to obtain and modify network interface configuration information. The Linux system has a similar tool, the ifconfig (Interfaces config). You typically need to log in as root or use sudo to use the Ifconfig tool on a Linux machine. Depending on
Linux: ifconfig command example shows the information of each Nic: 1ifconfig enable eth0: 1ifconfigeth0up disable eth0: 1ifconfigeth0down change IP address and mask: 1ifconfigeth0192. 168.1.101netmask00000000255.0 change the mac address (... linux: ifconfig command example shows the information of each Nic: 1
The content originates from the people's post and Telecommunications press "Linux command Application big dictionary"tell 729 commands, 1935 examplesLearn about the Linux system's reference books, desk book, encountered the command or command not understand the options can be foundStrive to publish content every dayIfconfig commanduse the ifconfig command to disp
What is Eth0,eth1,eth2,lo eth0,eth1,eth2 ... On behalf of a network card, network card two, network card three ...... Lo representative 127.0.0.1, that is localhost reference: Linux command:ifconfig www.2cto.com Function Description: Display or set up network equipment syntax: ifconfig [network device][down up-allmulti-arp-promisc][addOne of the eth0 is led by the local Ethernet card configuration par
First, Introduction Ifconfig is a tool that Linux systems use to obtain and modify network interface configuration information. Note: The NIC information configured with the Ifconfig command does not exist after the machine restarts after the network card restarts. In order to keep the above configuration information in the computer forever, it is necessary to mo
Linux View IP address command--ifconfig
Ifconfig command to view and change the address and parameters of a network interface
The code is as follows:
$ifconfig-A
lo0:flags=849 MTU 8232
inet 127.0.0.1 netmask ff000000
hme0:flags=863 MTU 1500
inet 211.101.149.11 netmask ffffff00 broadcast 211.101.149.255
Ether 8:
Use of the ifconfig command in linux-Linux Enterprise Application-Linux server application information. The following is a detailed description. You can use the ifconfig command to view network configurations in linux to display t
After installing linux, enter the terminal and enter the command line ifconfig. the prompt bash: ifconfig: commandnotfound is displayed. This is because the complete variables have not been set in our environment variables. If we enter/sbin/ifconfig or/usr/bin/gcc, we can execute the command...
After installing
In linux, ifconfig, shutdown, and other commands cannot use the _ enable Shell command Java code. why cannot I use the ifconfig command in RedHatLinux5? after installing RedHatLinux5, I use some commands on the terminal, such: ifcinfig view local machine...
In linux, commands such as
Whether it's a Linux installation or a manual installation, Linux asks you questions about the network and configures the relevant software. The basic command for configuring the NIC is Ifconfig.
After the ifconfig command is executed, the system will set the necessary parameters in the kernel table so that
Linux ifconfig, route, and ip commands I: instructions for use of the three commands; 1: ifconfig can enable/disable Nic interfaces; Set subnet mask and broadcast address; set the mtu of the NIC interface; 2: The route can view routes; add routes; Modify routes; 3; the ip can complete all the functions of ifconfig (ip
minus sign indicates start.
Add
Del
HW
Io_add
IRQ
Media
Mem_start
Metric
MTU
netmask
Tunnel
Broadcast
-pointtopoint
[IP Address]: Specifies the IP address of the network device.
is the output of the Ifconfig command. Specific indications:
Eth0: Represents the first Ethernet card of the current system. If you have more than one NIC, the other network card numbers will eth1,eth2 and so on.
Lo: loca
reproduced from: http://www.cnblogs.com/peida/archive/2013/02/27/2934525.html
Many windows are very familiar with the Ipconfig command-line tool, which is used to obtain and modify network interface configuration information. The Linux system has a similar tool, namely ifconfig (Interfaces config). You typically need to log in as root or use sudo to use the Ifconfig
The newly installed Linux cannot run the ifconfig command:Bash: ifconfig command not foundIn fact, the ifconfig directory is no longer configured in environment variables. This program is actually in the/sbin directory. In fact, sbin contains some system management commands. Therefore, for general users, this directory
Nic naming rules in Linux: eth0 and eth1. The first Ethernet Card and the second card. Lo is the loopback interface, its IP address is fixed to 127.0.0.1, And the mask is 8 bits. It represents your machine. The Java code ifconfig [Interface] www.2cto.com is used to view the information of the NIC. If you do not add a parameter to view information of all NICs and add the parameter eth0, it is used to view in
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.