标签:vmw 16px 故障 eth oldboy 外网 bash 虚拟化 /etc/
………………
注意:不用做任何修改
参数讲解:
[zhang@docker01 ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0 # 当做内网 DEVICE=eth0 TYPE=Ethernet ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=none USERCTL=no IPV6INIT=no IPADDR=172.16.1.100 NETMASK=255.255.255.0
[zhang@docker01 ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth1 # 当做外网 DEVICE=eth1 TYPE=Ethernet ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=none USERCTL=no IPV6INIT=no IPADDR=10.0.0.100 NETMASK=255.255.255.0 DNS2=223.5.5.5 GATEWAY=10.0.0.2 DNS1=10.0.0.2
相关网址: https://github.com/zhanglianghhh/system-install/blob/master/linux-CenetOS6/basedOptimi_6.sh
标签:vmw 16px 故障 eth oldboy 外网 bash 虚拟化 /etc/
原文地址:https://www.cnblogs.com/zhanglianghhh/p/9158737.html