iproute

所属分类:Windows编程
开发工具:Visual C++
文件大小:8KB
下载次数:16
上传日期:2005-07-25 19:38:31
上 传 者meino
说明:  This sample demonstrates the use of IP Helper API functions to manipulate the routing table.

文件列表:
iproute (0, 2004-08-20)
iproute\IPRoute.Cpp (16222, 1998-05-28)
iproute\IpRoute.exe (16384, 1999-06-25)
iproute\IPRoute.h (875, 1998-05-28)
iproute\Makefile (484, 1998-05-28)

Module Name: IpRoute.exe File : ReadMe.txt Description: This sample demonstrates the use of IP Helper API functions to manipulate the routing table. Author: Frank Li April 18, 19*** Revision History: Who When What -------- -------- --------------------------------- Frank Li 04-18-*** created --------------------- Supported Platforms: --------------------- Windows NT 5.0, Windows NT 4.0 with SP4, and Windows ***. --------------------- Building this sample: --------------------- To Build the sample application, Microsoft Visual C++ 5.0 with Service Pack 3 or later should have been installed: nmake cleanall nmake ------ Usage: ------ Manipulates network routing tables. IpRoute -p ...Prints route table. IpRoute -a destination netmask gateway interface [metric]...Adds a route. IpRoute -d destination ...Deletes routes to destination. destination Specifies the destination host. netmask Specifies a subnet mask value to be associated with this route entry. gateway Specifies gateway. interface Specifies the interface ip. metric The cost for this destination Diagnostic Notes: Invalid MASK generates an error, that is when (DEST & MASK) != DEST. Example> IpRoute -a 157.0.0.0 155.0.0.0 157.55.80.1 157.55.80.9 IpRoute: Invalid Mask 155.0.0.0 Examples: > IpRoute -p > IpRoute -a 157.0.0.0 255.0.0.0 157.55.80.1 157.55.80.9 1 ^destination ^mask ^gateway ^existing interface ^metric > IpRoute -p > IpRoute -d 157.0.0.0 > IpRoute -p

近期下载者

相关文件


收藏者