1、Linux防火墙iptables的关闭与启动
1) 重启后生效
开启: chkconfig iptables on
关闭: chkconfig iptables off
2) 即时生效,重启后失效
开启: service iptables start
关闭: service iptables stop
2、设置好ip之后重启网卡
service network restart
2、设置好ip之后重启网卡
service network restart