linux网卡配置 ifcfgeth0配置.docx
《linux网卡配置 ifcfgeth0配置.docx》由会员分享,可在线阅读,更多相关《linux网卡配置 ifcfgeth0配置.docx(3页珍藏版)》请在三一办公上搜索。
1、linux网卡配置 ifcfgeth0配置ifcfg-eth0配置ifcfg-ethx网卡配置 文件路径 rootlocalhost # vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 #网卡设备名称 ONBOOT=yes #启动时是否激活 yes|no BOOTPROTO=static #协议类型 dhcp bootp none IPADDR=192.168.1.90 #网络IP地址 NETMASK=255.255.255.0 #网络子网地址 GATEWAY=192.168.1.1 #网关地址 BROADCAST=192.16
2、8.1.255 #广播地址 HWADDR=00:0C:29:FE:1A:09#网卡MAC地址 TYPE=Ethernet #网卡类型为以太网 重新导入ifcfg-eth0网络配置文件 rootlocalhost # /etc/init.d/network reload 正在关闭接口 eth0: 确定 关闭环回接口: 确定 设置网络参 数: 确定 弹出环回接 口: 确定 弹出界面 eth0: 确定 查看网卡状态 rootlocalhost # /etc/init.d/network status 配置设备: lo eth0 当前的活跃设备: lo eth0 网络服务启动 方法1 rootloca
3、lhost # /etc/init.d/network restart #start stop restart 正在关闭接口 eth0: 确定 关闭环回接 口: 确定 设置网络参 数: 确定 弹出环回接 口: 确定 弹出界面 eth0: 确定 重启网络服务2 方法2 rootlocalhost # service network restart #start stop restart 正在关闭接口 eth0: 确定 关闭环回接 口: 确定 设置网络参 数: 确定 弹出环回接 口: 确定 弹出界面 eth0: 确定 网卡关闭与激活 rootlocalhost # ifdown eth0 #关闭 rootlocalhost # ifup eth0 #激活
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- linux网卡配置 ifcfgeth0配置 linux 网卡 配置 ifcfgeth0
链接地址:https://www.31ppt.com/p-3160698.html