已知: [code] Network Next Hop Metric LocPrf Weight Path * 2001::/32 ::ffff:193.149.44.34 0 5539 6939 i * ::ffff:202.12.28.190 0 4777 2516 6939 i *> ::149.20.65.196 0 1280 6939 i * ...
今天大致的完成了DHT的boot strap工作。 完成之后得到的路由表如下 不过没法确认是否正确, 根据推算, 网络上大概有50万的节点 myid: 33d56b843ee392dab0ac284a59fb1bcdaa1ce535 ------------------------------------------------- 0x00: eeb0b07ff08871c0793954c33dab6ad5f3664eba 0x00: e885d38b90b9d73ba7d8fb049e0b67ec1ca32a86 0x00: aa32a45e6c43aadc828c6b07fc700c7ccf9cd677 0x00: be97b9c112d0b5...
路由器通过interface和gateway定义一调到下一个路由器的链路,通常情况下,interface和gateway是同一网段的metric 跳数,该条路由记录的质量,一般情况下,如果有多条到达相同目的地的路由记录,路由器会采用metric值小的那条路由。 当前的路由: destination 目的网段 mask 子网掩码 interface 到达该目的地的本路由器的出口ip gateway 下一跳路由器入口的ip 路由器通过interface和gateway定义一调到下...
源码:------------------------------------------------------------ Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.123.254 192.168.123.88 1 0.0.0.0 0.0.0.0 192.168.123.254 192.168.123.68 1 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.123.0 255.255.255.0 192.168.123.68 192.168.123.68 1 192.168.123.0 255.255.255.0 192.168.123.88 192.168.123.88 1 ...
动态路由表不能删除的问题。 查看如有表如下: # netstat -nr Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- 0.0.0.2 10.1.124.130 U 1 5 eri0 192.168.0.0 192.168.1.110 U 1 0 hme0 .............. 省略 不知道为何会有0.0.0.2的...
$ netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 125.33.192.1 UGSc 3 696445 ng0 10/22 link#1 UC 6 0 fxp0 10.0.0.42 00:16:17:10:44:24 UHLW 0 10 fxp0 756 10.0.0.51 00:1a:a0:ff:1f:64 UHLW 3 577504 fxp0 912 ...
Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.123.254 192.168.123.88 1 0.0.0.0 0.0.0.0 192.168.123.254 192.168.123.68 1 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.123.0 255.255.255.0 192.168.123.68 192.168.123.68 1 192.168.123.0 255.255.255.0 192.168.123.88 192.168.123.88 1 192.168.123.68 255.255.255.255 127.0.0.1 127.0.0.1 1 192.168.123.88 255...
关于路由表问题: 我的系统是 Win XP 本机只有一个网卡,发现有一条不能理解: =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.121 20 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 19...
# netstat -rn 参数解释: r :Show the routing tables n :Show network addresses as numbers Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ------ --------- 192.168.0.0 192.168.0.61 U 1 7 pcn0 default 192.168.0.2 UG 1 2 127.0.0.1 ...