Multicast Routing
Multicast Routing:
Static
Multicast route PIM
Dense Mode PIM Spares-Mode
STOP SMOKING
or you will …
You can use static route for multicast |
ip mroute 239.1.1.1
255.255.255.255 192.168.2.2 |
IP Dense Mode Will flood the multicast
traffic to all IP connected interfaces even if it is not configured with PIM. To simulate a client use ip
igmp join-group 239.2.2.2 To simulate a server use
ping 239.2.2.2 |
ip
multicast-routing ! interface FastEthernet0/0 ip address 192.168.0.1 255.255.255.0 ip pim dense-mode ! interface FastEthernet1/0 ip address 192.168.1.254 255.255.255.0 ip pim dense-mode ! ip route 192.168.2.0
255.255.255.0 192.168.0.2 |
IP Sparse Mode Will send the multicast
traffic only to joined routers Needs to define a RP Clients will register in RP |
ip
multicast-routing ! interface FastEthernet0/0 ip address 192.168.0.1 255.255.255.0 ip pim sparse-mode ! interface FastEthernet1/0 ip address 192.168.1.254 255.255.255.0 ip pim sparse-mode ! ip pim rp-address
192.168.0.1 ! ip route 192.168.2.0
255.255.255.0 192.168.0.2 |