/etc/sysconfig/network-scripts/ifcfg-eth0 NIC configuration file

Source: Internet
Author: User

Type=ethernet #网卡类型
Device=eth0 #网卡接口名称
Onboot=yes #系统启动时是否自动加载
Bootproto=static #启用地址协议--static: Static protocol--BOOTP Protocol--DHCP Protocol
ipaddr=192.168.1.11 #网卡IP地址
netmask=255.255.255.0 #网卡网络地址
gateway=192.168.1.1 #网卡网关地址
dns1=10.203.104.41 #网卡DNS地址
hwaddr=00:0c:29:13:5d:74 #网卡设备MAC地址
broadcast=192.168.1.255 #网卡广播地址

This article is from the "Technology First" blog, please be sure to keep this source http://wuxiangdong.blog.51cto.com/8274747/1575254

/etc/sysconfig/network-scripts/ifcfg-eth0 NIC configuration file

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.