Linux 三个网络工具的 iproute2 替代。
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:00n/aeth0 172.23.100.10/16 00:0c:29:0c:c4:01UP ARP NONPROMISCeth0:0 195.186.3.11/28 00:0c:29:0c:c4:01UP ARP NONPROMISCeth1 10.10.1.1/24 00:0c:29:0c:c4:0bUP 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:~#
页:
[1]