# Multicast streaming with VLC

Introduction

rfc2365

Static IGMP
Switch#show run | i ^interface|description
interface FastEthernet0/1
 description to_client_1
interface FastEthernet0/2
 description to_client_2
interface FastEthernet0/3
 description to_video_server
Switch(config)#ip igmp snooping vlan 1 static 239.0.0.1 interface fa0/1
Switch(config)#ip igmp snooping vlan 1 static 239.0.0.1 interface fa0/2
Switch#show ip igmp snooping groups | i 239.0.0.1
1    239.0.0.2    user    Fa0/1, Fa0/2
video_server# cvlc -vvv video.mpg --sout udp://239.0.0.1 --ttl 1
client_1# vlc -vvv udp://@239.0.0.1
client_2# vlc -vvv udp://@239.0.0.1
Dynamic IGMP (1 hop)
Switch#show run | i ^interface|description
interface FastEthernet0/1
 description client_1
interface FastEthernet0/2
 description client_2
interface FastEthernet0/3
 description to_Router
Router#show run | i ^interface|description
interface FastEthernet0/0
 description to_Switch
interface FastEthernet0/1
 description to_video_server
Router(config)#ip multicast-routing
Router(config)#int fa0/0
Router(config-if)#ip pim dense-mode
Router(config)#int fa0/1
Router(config-if)#ip pim dense-mode
video_server# cvlc -vvv video.mpg --sout udp://239.0.0.2 --ttl 2
client_1# vlc -vvv udp://@239.0.0.2
client_2# vlc -vvv udp://@239.0.0.2
Switch#show ip igmp snooping groups | i 239.0.0.2
1    239.0.0.2    igmp    Fa0/1, Fa0/2, Fa0/3

2 comments:

Anonymous said...

Genial. It's works.

Anonymous said...

Muy buen blog
Gracias