Re: [問題]有關Multicast的address

看板IPv6作者 (喵喵叫的蜜蜂貓)時間10年前 (2013/12/07 23:34), 編輯推噓0(002)
留言2則, 1人參與, 最新討論串3/4 (看更多)
※ 引述《tanted (為何世界會那麼不單純)》之銘言: : 標題: 有關Multicast的address : 時間: Fri Nov 22 22:26:02 2013 : : 各位版友好, : 小弟目前在進行IPV6的multicast影音程式撰寫, : 之前測試發現同一網段收不到, : 原本接router(DIR-615) : 後來改接switch才用wireshark抓到封包 : 這時才發現原來DIR-615無法forward此封包 : 我測試的address 是 "FF1E:03AD::7F2E" : 請問這是跟multicast address有相關 我設定multicast address有誤 : 還是router(DIR-615)本身設定有關 因為dir-615本身是有經過ipv6認證的 : 再請問multicast address 設定除了前面是FF以外 : 還有第4個數字代表link local ,site local ,global ..等等 : 後面其餘數字是否可任意設定? : 我知道還有代表所有node,router,dhcp6 server ...等等特殊multicast address : 但除了這些是否可以任意設定呢? : 在此先謝過能回答的版友! : -- : 推 thisgo:615裡的設定 advanced有個頁面可以設定ipv6 muliticast 11/27 23:28 : → thisgo:enable, 是否有用? 11/27 23:28 : → thisgo:另外根據http://en.wikipedia.org/wiki/Multicast_address 11/27 23:29 : → thisgo:ffxe::/16 是global scope, 所以ff1e::/16應該是可以拿來 11/27 23:31 : → thisgo:測試的 11/27 23:31 : → thisgo:之前是用ff3e::123在615上跑ipv6 multicast streaming是ok 11/27 23:32 依據RFC4607,你這個IP是無效,可以被丟棄的 Addresses in the range FF3x::4000:0001 through FF3x::7FFF:FFFF are reserved in [IPv6-MALLOC] for allocation by IANA. Addresses in the range FF3x::8000:0000 through FF3x::FFFF:FFFF are allowed for dynamic allocation by a host, as described in [IPv6-MALLOC]. Addresses in the range FF3x::0000:0000 through FF3x::3FFF:FFFF are invalid IPv6 SSM addresses. ([IPv6-MALLOC] indicates that FF3x::0000:0001 to FF3x::3FFF:FFFF must set P=0 and T=0, but for SSM, [IPv6-UBM] mandates that P=1 and T=1, hence their designation as invalid.) The treatment of a packet sent to such an invalid address is undefined -- a router or host MAY choose to drop such a packet. ======== 照原文,你應該是要拿來全球使用的吧? 假設你所申請到的全球唯一network prefix是2001:0C08:1234:5678::/64 那你的IPv6 Source-specific Multicast IP應該是 FF3E:0040:2001:0C08:1234:5678:xxxx:xxxx 解釋如下: FF Multicast首碼 3 Unicast-Prefix-based(基於單撥領域)的位址 E 有效範圍為全球 00 保留為00 40 子網路長度(在此為64bit=0x40) 2001:0C08:1234:5678 你的IP前綴(network prefix) xxxx:xxxx 自訂Group ID 也就是說,只有最後32bit是可以自行指定的 不過也有4億個Group ID可以用就是了 細節可參見RFC3306 http://tools.ietf.org/html/rfc3306 第七章有一個/96的範例 另外,RFC3307有針對Group ID做進一步討論 http://tools.ietf.org/html/rfc3307 -- 標題 Re: [討論] 這是紀錄的一晚嗎?

05/28 01:44,
前十名吾就扮女裝
05/28 01:44
【看板列表】 批踢踢實業坊 看板《C_Chat》 9 C_Chat 聊天 ◎ 最萌請速速提名,CC版貼圖區開張 HOTcomsboy/Igroun 標題 [NICO] 幸運☆星 OP 文字列版

06/04 01:07,
推 comsboy: 前十名吾就食熱狗
06/04 01:07
-- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.248.224.96

12/08 10:50, , 1F
我原PO歐 我是用ff1e:: 不是 ff3e:: 話說這個問題其實我已
12/08 10:50, 1F

12/08 10:51, , 2F
解了 不過還是感謝各位網友和版主的回文
12/08 10:51, 2F
文章代碼(AID): #1Iep_i3k (IPv6)
討論串 (同標題文章)
文章代碼(AID): #1Iep_i3k (IPv6)