連接情況如下
機器連接狀況如下
FreeBSD BOX上面有兩張網卡
我想要做到兩邊可以用239.0.0.2這個D class 來傳送影音!
NIC1
ip:192.168.1.254
Mask:255.255.255.0
接client1
ip為192.168.1.1
NIC2
ip:10.0.0.254
Mask:255.0.0.0
接client2
ip為10.0.0.1
想請教各位,我核心有重新編譯,Mrouted 已經在執行,可是上面這兩個dump後,好像
都沒有收到packet,上面都是0/0!請問是哪裡出了什麼問題嗎?
但是我用tcpdump 看得到 兩邊傳送的packets
以下是一些設定檔還有dump資料
mrouted.cache
Multicast Routing Cache Table (0 entries)
Origin Mcast-group CTmr Age Ptmr Rx IVif Forwvifs
<(prunesrc:vif[idx]/tmr) prunebitmap
>Source Lifetime SavPkt Pkts Bytes RPFf
mrouted.dump
[blockquote]Kevin# cat mrouted.dump
mrouted version 3.9-beta3+IOS12 up 0:10:24 Tue Sep 30 03:36:21 2008
vifs_with_neighbors = 0
Virtual Interface Table
Vif Name Local-Address M Thr Rate Flags
0 nfe0 192.168.1.254 subnet: 192.168.1/24 1 1 0 querier leaf
group host (time left): 239.0.0.2 192.168.1.1 ( 0:04:19)
224.0.0.2 192.168.1.254 ( 0:02:18)
224.0.0.9 192.168.1.254 ( 0:02:12)
224.0.0.4 192.168.1.254 ( 0:02:19)
224.0.0.252 192.168.1.1 ( 0:02:15)
239.255.255.250 192.168.1.1 ( 0:04:19)
boundaries: 239.0/16
IGMP querier: 192.168.1.254 (this system)
Nbr bitmaps: 0x0000000000000000
pkts/bytes in : 0/0
pkts/bytes out: 0/0
1 rl0 10.0.0.254 subnet: 10/8 1 1 0 querier leaf
group host (time left): 239.0.0.2 10.0.0.1 ( 0:04:00)
239.255.255.250 10.0.0.1 ( 0:02:16)
224.0.0.4 10.0.0.254 ( 0:02:13)
224.0.0.252 10.0.0.1 ( 0:04:17)
224.0.0.2 10.0.0.254 ( 0:04:19)
224.0.0.9 10.0.0.254 ( 0:02:13)
boundaries: 239.0/16
IGMP querier: 10.0.0.254 (this system)
Nbr bitmaps: 0x0000000000000000
pkts/bytes in : 0/0
pkts/bytes out: 0/0
Multicast Routing Table (2 entries)
Origin-Subnet From-Gateway Metric Tmr Fl In-Vif Out-Vifs
192.168.1/24 1 30 .. 0 1*
10/8 1 3
netstat -g
Kevin# netstat -g
IPv4 Virtual Interface Table
Vif Thresh Rate Local-Address Remote-Address Pkts-In Pkts-Out
0 1 0 192.168.1.254 0 0
1 1 0 10.0.0.254 0 0
IPv4 Multicast Forwarding Table is empty
IPv6 Multicast Interface Table is empty
IPv6 Multicast Forwarding Table is empty
WARNING: This functionality is deprecated, and will be removed
in FreeBSD 7.0. Please consider using ifmcstat(8) instead.
Link-layer Multicast Group Memberships
Group Link-layer Address Netif
01:00:5e:00:00:02 <none> nfe0
01:00:5e:00:00:04 <none> nfe0
01:00:5e:00:00:09 <none> nfe0
01:00:5e:00:00:01 <none> nfe0
01:00:5e:00:00:02 <none> rl0
01:00:5e:00:00:04 <none> rl0
01:00:5e:00:00:09 <none> rl0
01:00:5e:00:00:01 <none> rl0
IPv4 Multicast Group Memberships
Group Link-layer Address Netif
224.0.0.2 01:00:5e:00:00:02 nfe0
224.0.0.4 01:00:5e:00:00:04 nfe0
224.0.0.9 01:00:5e:00:00:09 nfe0
224.0.0.1 01:00:5e:00:00:01 nfe0
224.0.0.2 01:00:5e:00:00:02 rl0
224.0.0.4 01:00:5e:00:00:04 rl0
224.0.0.9 01:00:5e:00:00:09 rl0
224.0.0.1 01:00:5e:00:00:01 rl0
224.0.0.1 <none> lo0
IPv6 Multicast Group Memberships
Group Link-layer Address Netif
ff01:6::1 <none> lo0
ff02:6::2:2641:1585 <none> lo0
ff02:6::1 <none> lo0
ff02:6::1:ff00:1 <none> lo0
mrouted.conf
1 cache_lifetime 3600 # seconds
2 pruning on
3 name LOCAL 239.0.0.0/16
4 phyint nfe0 boundary LOCAL
5 phyint rl0 boundary LOCAL
6
請會的朋友幫忙一下
我搞了好幾天了
灌了fedora 又灌bsd…
快瘋了
謝謝^^
內文搜尋

X