RH Linux 网络配置

网络配置:

#setup

 

ifconfig

#service network restart

命令配置只是1

/etc/sysconfig/network-scripts/ifcfg-eth0

/etc/resolv.conf

 

网络安全初步:

ping -b 192.168.1.255  ping广播

 

(1) ping

/proc/sys/net/ipv4

icmp-echo-ignore-all  (0  改成  1)

 

ttl: window   128(256)  Linux 64  Unix 53

ip-default-ttl

 

(2) service

/etc/services    定义了服务的默认端口

 

(3) chattr +(-)i passwd

然后把chattr  改名

 

#which chattr

#whereis chattr

<!--EndFragment--> 

猜你喜欢

转载自william750214.iteye.com/blog/1266646