找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 3983|回复: 0

[linux] Linux 三个网络工具的 iproute2 替代。

[复制链接]
发表于 2007-3-7 16:21:16 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
ratz 写了几个脚本,还是很不错的,有兴趣的可以访问 http://www.drugphish.ch/~ratz/iproute2/
ifconfig replacement using the iproute2 architecture

netstat -rn replacement using the iproute2 architecture
rule branching information using the iproute2 architecture
Screenshot ;)-------------vmware0:~# ifcfg -nInterface    Netentity          MAC                PHY Infolo           127.0.0.1/8        00:00:00:00:00:00  n/aeth0         172.23.100.10/16   00:0c:29:0c:c4:01  UP ARP NONPROMISCeth0:0       195.186.3.11/28    00:0c:29:0c:c4:01  UP ARP NONPROMISCeth1         10.10.1.1/24       00:0c:29:0c:c4:0b  UP ARP NONPROMISCVMware0:~# show-rulesRuleNr     Source           Destination      Table    Special0          all              all              local    n/a100        all              all              main     n/a65000      all              all              1        n/avmware0:~# show-routesDestination        Gateway         Source             Iface    R_Type RT_table195.186.3.0/28     0.0.0.0         195.186.3.11       eth0            main10.10.1.0/24       0.0.0.0         10.10.1.1          eth1            main224.0.0.0/24       0.0.0.0         0.0.0.0/0          all      BL     main172.23.0.0/16      0.0.0.0         172.23.100.10      eth0            maindefault            172.23.1.1      172.23.100.10      eth0            1vmware0:~#
routeros
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-6-10 03:30 , Processed in 0.040746 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表