Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

關於routing table destination的問題

有一routing table如下:

destination address: 0.0.0.0

destination network mask: 0.0.0.0

nextHoplpAddress: 10.228.81.102

不是很懂意思...

什麼情況下會往10.228.81.102丟?

什麼情況下又不丟?

請了解的人指導一下小弟,非常感謝~

Update:

0.0.0.0,0.0.0.1,0.0.0.2,0.0.0.3,

這4個IP有什麼特別的意義嗎??

Update 2:

所以意思是10.228.81.102是閘道器嗎?

anywhere指的是無論要去哪都先往10.228.81.102送嗎?

Update 3:

destination address: 255.255.255.255

destination network mask: 255.255.255.255

指的又是什麼?

1 Answer

Rating
  • 1 decade ago
    Favorite Answer

    1. destination address: 0.0.0.0與destination network mask: 0.0.0.0組合起來就等於中文的 anywhere。

    2. nextHoplpAddress指的是下一個路由節點,若依據上述規則,則表示:預設閘道器的(Default Gateway)位置。

    3. 路由傳送原則是以最短路徑為原則,網路上每一個設備都有其路由表(Routing Table),用來判斷封包要去的IP要走哪裡比較快。

    4. 查看路由表:

     4.1. windows OS:輸入:route print

     4.2. Linux與Unix OS:輸入 rount -n

    5. 路由器可透過 Routing Protocol(RIP、IGRP、EIGRP、OSPF2等) 更新路由表。

    2008-10-29 21:00:32 補充:

    1. 一般網路上的IP分為幾個等級(Class):A、B、C、D、E,ClassD與ClassE的IP一般是保留不開放一般使用。

    Class A IP範圍:0.0.0.0〜127.255.255.255(Netmask 255.0.0.0)

    Class B IP範圍:128.0.0.0〜191.255.255.255(Netmask 255.255.0.0)

    Class C IP範圍:192.0.0.0〜223.255.255.255(Netmask 255.255..255.0)

    0.0.0.0 才有特別意義。

    2008-10-29 21:00:37 補充:

    2. 若destination address: 0.0.0.0與destination network mask: 0.0.0.0,next hope指的就是預設閘道器。

Still have questions? Get your answers by asking now.