看板 PangSir 關於我們 聯絡資訊
對於昨天報告時教授提出一些疑問的地方做一些補充說明。 當correspondent node(CN)想傳輸資料至mobile node(MN)時可採取兩種方式: 1. indirect forwarding: CN先將資料傳至MN之home agent(HA),再由HA轉傳至MN。 2. direct routing: CN先藉由control message自HA取得MN目前所在的位址,再由CN直接 將資料傳至MN。 因此當VoIP application採用direct routing的方式時,HA所扮演的角色其功能就與SIP redirect server相似。 此外,當MN在建立網路連線時,Mobile IP的方式亦可像SIP般採用DHCP機制,再由ARP來 處理duplicate address的情形,此種情況下建立連線所產生的delay與SIP同為 4ts+tarp 。然而,mobile IP由於是一屬於network layer的方式,故可採用另一種更快建立網路連 線的機制,也就是說當MN進入另一個subnet時,可透過router solicitation以及router advertisement兩種message來取得在新的foreign address(又稱care-of address,COA) router advertisement(又稱agent advertisement): agent定期將一ICMP router discovery message broadcast至每個與之聯繫的 link,此message中的COA field提供了此subnet中目前可用的address。 router solicitation(又稱agent solicitation): 當MN想取得某些關於agent的訊息時,可由MN broadcast router solicication, 收到此訊息的agent則會unicast一個router advertisement至該MN。 因此當使用mobile IP的方式時,MN可透過發送router solicitation以及接收router advertisement在 2ts 時間內建立網路連線,相較SIP利用DHCP以及ARP所需 4ts+tarp 為 短。mobile IP不是不能用DHCP,只是有更適合更省時的方式。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.230.26.108