请superloveo讲一讲本机路由

来源:百度知道 编辑:UC知道 时间:2024/05/19 19:34:20
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\407>netstat -r

Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0a e4 c1 c6 07 ...... Broadcom NetXtreme Gigabit Ethernet - 数据包计划
程序微型端口
0x20004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 218.4.221.177 218.4.221.177 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
169.254.0.0 255.255.0.0 169.254.109.47 169.254.109.47 20
1

这里的路由条目格式大概是目标网络 子网掩码 网关 网络接口ip地址 管理距离。也就是说你要达到目标网络需要从网络接口到达网关来实现,管理距离则用来表示路由的优先程度,数值越小则优先度越高。