0
我在linux上測試一個簡單的多播應用程序。我得到它的工作在我的電腦通過執行以下操作:在Linux上多播
- 禁用防火牆
- 運行命令添加路由-net 224.0.0.0網絡掩碼240.0.0.0 dev的eth0的
如果你有興趣詳情請見this後
爲什麼需要這兩個步驟?有沒有其他選擇。
我正在測試localhost上的代碼。
在另一臺電腦上我試過在禁用防火牆後運行程序。它不起作用。 當我運行route命令我得到以下信息
route: netmask 0fffffff doesn't make sense with host route
Usage: route [-nNvee] [-FC] [<AF>] List kernel routing tables
route [-v] [-FC] {add|del|flush} ... Modify routing table for AF.
route {-h|--help} [<AF>] Detailed usage syntax for specified AF.
route {-V|--version} Display version/author and exit.
-v, --verbose be verbose
-n, --numeric don't resolve names
-e, --extend display other/more information
-F, --fib display Forwarding Information Base (default)
-C, --cache display routing cache instead of FIB
<AF>=Use '-A <af>' or '--<af>'; default: inet
List of possible address families (which support routing):
inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
x25 (CCITT X.25)
該如何解決?
請在superuser.com上發佈這個問題 –
@Anand:我們有一個遷移系統,如果它屬於超級用戶,它將被遷移,他不應該發佈它,它會被移動。 – Gnoupi
負責遷移問題的人 –