# nov/28/2007 16:44:48 by RouterOS 3.0rc10
/routing pim
set switch-to-spt=no switch-to-spt-bytes=0 switch-to-spt-interval=0s
/routing pim interface
add assert-override-interval=3s assert-time=3m disabled=no dr-priority=1 hello-holdtime=1m45s hello-period=30s \
hello-trigerred-delay=5s igmp-version=IGMPv2 interface=vlan60 join-prune-holdtime=3m30s join-prune-period=1m \
override-interval=250 propagation-delay=50 protocols=pim require-hello=yes tracking-support=yes
> ip address print from=12
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.0.253/30 192.168.0.252 192.168.0.255 vlan60
# tcpdump -n -i xl1 vlan 60 and ether host not 00:15:fa:9a:cd:04
16:41:29.658318 IP 192.168.0.253 > 224.0.0.13: PIMv2, Hello, length: 34
16:41:29.659229 IP 192.168.0.254 > 224.0.0.13: PIMv2, Hello, length: 34
16:41:58.965801 IP 192.168.0.254 > 224.0.0.13: PIMv2, Hello, length: 34
16:41:59.657671 IP 192.168.0.253 > 224.0.0.13: PIMv2, Hello, length: 34
16:42:04.940687 IP 192.168.0.254 > 224.0.0.13: PIMv2, Bootstrap, length: 36
> routing pim neighbors print detail
>
Not sure I understand your answer. Assuming the wireless AP is MT and there are multiple clients viewing the stream, will we see 1 x stream bandwidth or n x stream bandwidth?if AP is at the clients then yes, you should see stream to all subscribed customers
I know that. Just wasn't sure if there where any issues with wireless being the layer1/2 that needs to be taken into account.Yes, it's multicast.
Why should multicast behave differently because it travels on wireless?Hi Phendry,
I think the only issue in wireless is the broadcast. If 2 clients demand 1 different streams anyone, the 2 streams arrive all clients.
Kike
ExactlyAFAIK every single client will receive its own stream. and so it will be in wilress, so if 2 clients are connected to multicast single multicast group then each client will receive its stream, so AP will TX twice the stream, so each client receive its own stream.
So are you saying that if the clients are all wireless laptops running VLC to receive the multicast stream then the AP will unicast to each individual client?AFAIK every single client will receive its own stream. and so it will be in wilress, so if 2 clients are connected to multicast single multicast group then each client will receive its stream, so AP will TX twice the stream, so each client receive its own stream.
Not sure that's true. What if 2 wireless clients on main multicast router where also Multicast routers serving end users? Connectivity should still be Multicast not Unicast.You receive multicast to your switch (or wireless router). Packets to end-user are sent using unicast
Hi, your multicat config is working? can help me?Tanx Janisk, now vlc works well on mikrotik router. I have change pim config:
#####configuration script for router A
###
/ip address
add address=10.0.2.1/24 interface=ether1
add address=10.0.0.2/24 interface=ether2
/ip route
ip route add dst-address=10.0.1.0/24 gateway=10.0.0.1
/routing pim interface
add
/routing pim rp
add address=10.0.0.2
#####configuration script for router B
###
/ip address
add address=10.0.1.1/24 interface=ether1
add address=10.0.0.1/24 interface=ether2
/ip route
ip route add dst-address=10.0.2.0/24 gateway=10.0.0.2
/routing pim interface
add interface=ether1
add interface=ether2
/routing pim rp
add address=10.0.0.2
the only problem is "leaving channel": when I stop vlc, traffic don't stop!
I'm waiting for Rc11!!
best regard
---------------FV-----------------
Stream_1
"vlc.exe" "file:///D:/stream/video_file_1.avi" :sout=#transcode{vcodec=mp2v,vb=800,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=udp{mux=ts,dst=239.0.0.1:1234},dst=display} :sout-keep
Stream_2
"vlc.exe" "file:///D:/stream/video_file_2.avi" :sout=#transcode{vcodec=mp2v,vb=800,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=udp{mux=ts,dst=239.0.0.2:1234},dst=display} :sout-keep
#####configuration script for router A
###
/ip address
add address=10.0.2.1/24 interface=ether1
add address=10.0.0.2/24 interface=ether2
/ip route
ip route add dst-address=10.0.1.0/24 gateway=10.0.0.1
/routing pim interface
add
/routing pim rp
add address=10.0.0.2
#####configuration script for router B
###
/ip address
add address=10.0.1.1/24 interface=ether1
add address=10.0.0.1/24 interface=ether2
/ip route
ip route add dst-address=10.0.2.0/24 gateway=10.0.0.2
/routing pim interface
add interface=ether1
add interface=ether2
/routing pim rp
add address=10.0.0.2
#EXTM3U
#EXTINF:0,Stream_1
udp://@239.0.0.1:1234
#EXTINF:0,Stream_2
udp://@239.0.0.2:1234
Stream_1
"vlc.exe" --ttl 4 "file:///D:/stream/video_file_1.avi" :sout=#transcode{vcodec=mp2v,vb=800,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=udp{mux=ts,dst=239.0.0.1:1234},dst=display} :sout-keep
Stream_2
"vlc.exe" --ttl 4 "file:///D:/stream/video_file_2.avi" :sout=#transcode{vcodec=mp2v,vb=800,acodec=mpga,ab=128,channels=2,samplerate=44100}:duplicate{dst=udp{mux=ts,dst=239.0.0.2:1234},dst=display} :sout-keep