先查看下网卡
ifconfig eth0 ……外网 lo ……回路启用第二块网卡做内网
ifconfig eth1 up ifconfig eth1 192.168.0.11 netmask 255.255.0.0这样就可以使用了,但重启网络或机器后配置就会失效
想要不失效就需写的文件里
vi etc/sysconfig/networking/profiles/default/ifcfg-eth1 DEVICE=eth1 BOOTPROTO=static HWADDR=00:44:88:6C:3C:88 ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.0.11 TYPE=Ethernet
No Responses (yet)
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.