帮忙解释一下以下的路由表信息
来源:百度知道 编辑:UC知道 时间:2024/05/26 03:49:51
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 f0 4c 8d 8e aa ...... Realtek RTL8139 Family PCI Fast Ethernet NIC - 数据包计划程序微型端口
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.5.1 192.168.5.8 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.5.0 255.255.255.0 192.168.5.8 192.168.5.8 20
192.168.5.8 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.5.255 255.255.255.255 192.168.5.8 192.168.5.8 20
224.0.0.0 240.0.0.0 192.168.5.8 192.168.5.8 20
255.255.
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 f0 4c 8d 8e aa ...... Realtek RTL8139 Family PCI Fast Ethernet NIC - 数据包计划程序微型端口
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.5.1 192.168.5.8 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.5.0 255.255.255.0 192.168.5.8 192.168.5.8 20
192.168.5.8 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.5.255 255.255.255.255 192.168.5.8 192.168.5.8 20
224.0.0.0 240.0.0.0 192.168.5.8 192.168.5.8 20
255.255.
这个问题很简单!
我来例举第一行路由条目:
0.0.0.0 0.0.0.0 192.168.5.1 192.168.5.8 20
前两个0.0.0.0 0.0.0.0 表示目的网络和目的网络的掩码。两个0.0.0.0表示默认路由转发。192.168.5.1是你的网关,也就是你网卡上设置的网关地址。192.168.5.8是你到达这个网关的本机接口地址,也就是你的网卡地址。20表示的是路由开销,也可以叫度量值。它表示这条路由的使用优先级。在CISCO中应该是越小越优先。
你的IP是192.168.5.8
默认网关是192.168.5.1
在192.168.5.0网段是通过发送广播来查找目标计算机,如果找不到将从网关出去查找