Chapter 6 Network Configuration

Source: Internet
Author: User

Generally, the Linux kernel should be able to detect all connected PCI devices. Use the lspci command to verify whether the given PCI device is detected by the kernel.

Unlike other devices, Linux kernel does not allow users to access the network interface card Nic as a file. All nodes directly associated with the NIC device are not in the/dev directory.

Linux accesses the network card through network interfaces. The kernel generates a network interface for each recognizable network card and uses the eth0 command. The letter indicates the data connection technology, A number is used to distinguish multiple detected NICs.

Eth0 Ethernet lo loose device fddi0 Optical Fiber ppp0 serial port device

Run the ifconfig-a command to view information about all identified network interfaces.

Use the ifconfig command to configure the network interface and activate: ifconfig eth0 192.168.1.100 netmask 255.255.255.0 up

Ifconfig eth0 up | The Down command can activate or disable network interfaces.

All the interface information configured with ifconfig takes effect temporarily and becomes invalid after restart. All network interface configuration files must be modified. /Etc/sysconfig/network-scripts/ifcfg-eth0

Chapter 6 Network Configuration

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.