吾生有涯,而知无涯,适当止学.循序渐进,步步提升 Talk is cheap, show me the code.
分类: LINUX
2012-07-03 16:34:25
zhangshengdong2012-07-20 16:03:01
其实,只要有如下配置,即可上网,让ssh连接
[root@mysql-m1 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
HWADDR="00:0C:29:1E:3A:4E"
DEVICE=eth0
NM_CONTROLLED=yes
ONBOOT=yes
IPADDR=10.0.17.150
NETMASK=255.255.252.0
TYPE=Ethernet
BOOTPROTO=none
GATEWAY=10.0.16.2
IPV6INIT=no
USERCTL=no
DNS1=172.16.1.214