Chinaunix首页 | 论坛 | 博客
  • 博客访问: 716213
  • 博文数量: 235
  • 博客积分: 4309
  • 博客等级: 中校
  • 技术积分: 2325
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-17 11:25
个人简介

If you don\\\\\\\\\\\\\\\'t wanna do it, you find an EXCUSE; if you do, you\\\\\\\\\\\\\\\'ll find a WAY :-)

文章分类

全部博文(235)

文章存档

2014年(3)

2013年(2)

2012年(31)

2011年(199)

分类: LINUX

2011-02-19 21:39:46

nc localhost 25

ip link [show]      ip addr [show]        ip -6 addr [show]

route
netstat -r
ip route [show]
ip route add 192.168.1.0/24 via 192.168.1.1

配置static route 成功, 但是重启后失效
vim /etc/sysconfig/network-scripts/route-eth0

10.0.2.0/24 via 192.168.0.144  


(IPV6: 
vim /etc/sysconfig/network-scripts/route6-eth0)

(ping6    traceroute6   tracepath6   ip -6)


[root@rhel5 ~]# sestatus /* 查看管理SELinux状态 */

[root@rhel5 ~]# ps -Z /* List process Context */
[root@rhel5 ~]# ls -Z  /* List file Context */

[root@rhel5 ~]# id -Z  /* 显示当前用户的Security Context */
Root:system_r:unconfined_t

----------------------------------------------------------------


[root@stationX ~] cat /etc/sysconfig/network-scripts/ifcfg-eth0:1
DEVICE=eth0:1
BOOTPROTO=none
IPADDR=191.168.1.9
NETMASK=255.255.255.0
ONBOOT=yes

阅读(468) | 评论(0) | 转发(0) |
0

上一篇:useful commads

下一篇:kickstart diskboot

给主人留下些什么吧!~~