1.查看网卡: 2.临时修改网卡名: 3.ifconfig命令 来自于net-tools包,建议使用 ip 代替 ifconfig修改网卡IP地址: ifconfig禁用网卡: ifconfig启用网卡 ...
.配置文件 etc hosts 本地主机ip地址映射,可以有多个别名 。 etc services 端口号与标准服务之间的对应关系 。 etc sysconfig network 设置主机名,网关,域名 。HOSTANME zjw.com 主机名 需要重启计算机才有效 GATEWAY . . . 网关 etc rc.d init.d network restart 脚本服务启动 service ...
2016-04-29 18:05 0 8922 推荐指数:
1.查看网卡: 2.临时修改网卡名: 3.ifconfig命令 来自于net-tools包,建议使用 ip 代替 ifconfig修改网卡IP地址: ifconfig禁用网卡: ifconfig启用网卡 ...
http://jingyan.baidu.com/article/455a99508be7cda167277865.html vi /etc/sysconfig/network-scripts/ifcfg-eth0 (记住是ifcfg-eth0文件就可以了) BOOTPRORO是设置本机 ...
查看网卡配置文件: [root@www ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 开机网卡自启动: [root@www ~]# sed -i 's#ONBOOT=no#ONBOOT=yes#g' /etc ...
配置文件位置:/etc/sysconfig/network-scripts/ifcfg-eth0 1. DEVICE=eth0 网卡的名字 2. HWADDR=00:0c:29:90:89:d9 HWADDR HardWare Address 硬件地址 MAC地址 3. TYPE ...
linux 网卡配置文件详解 配置文件位置:/etc/sysconfig/network-scripts/ifcfg-eth0 1. DEVICE=eth0 网卡的名字 2. HWADDR=00:0c:29:90:89:d9 HWADDR HardWare Address ...
配置文件位置:/etc/sysconfig/network-scripts/ifcfg-eth0 # cat /etc/sysconfig/network-scripts/ifcfg-eth0 TYPE="Ethernet" BOOTPROTO="none" IPV6INIT ...
1. 配置文件位置:/etc/sysconfig/network-scripts/ifcfg-ens33 1. DEVICE=ens33网卡的名字 2. HWADDR=00:0c:29:90:89:d9 HWADDR HardWare Address 硬件地址 MAC地址 3. ...
restart service命令调用上面这个脚本并传递参数restart 2、配置路由 配置文件位置: / ...