作者:暧gx祢生 | 来源:互联网 | 2017-11-10 23:52
问题:新装机器为 Linux version 2.6.9-5后,/etc/sysconfig/network-scripts/ifcfg-eth0 正确配置了网卡的信息,但用ifconfig查看却发现网卡的ip没有配好,连不上网,ping不通同一网段的其他机器
处理:命令system-config-network打开network configuration窗口,选devices中的eth0打开ethernet device窗口,选Hardware Device,将Bind to MAC Address前的框选中将mac 地址和hardware(eth0)绑定;if down eth0;if up eth0;ifconfig可见网卡的ip配好,可以ping通同一网段的其他机器
问题:某台机器名叫server1新装Linux version 2.6.9-5后,网络服务已配sshd,可ping通别的机器,可ssh本机,别的机器可ping通server1却不能ssh连接到server1
处理:窗口模式下applications-system tools-security level,打开security level configuration-将firewall Options 的security level从enable firewall变为disable firewall,SElinux修改为低些安全级别得到解决。