vIOS1 en terminal length 0 conf t hostname vIOS1 line console 0 logging synchronous exit ! ip multicast-routing ! int lo0 ip address 1.1.1.1 255.255.255.255 ip pim sparse-mode ! int gi0/0 ip address 10.1.1.254 255.255.255.0 ip pim sparse-mode no shut ! int gi0/2 ip address 192.168.2.1 255.255.255.0 ip pim sparse-mode no shut ! int gi0/3 ip address 192.168.3.1 255.255.255.0 ip pim sparse-mode no shut exit ! router ospf 1 network 1.1.1.1 0.0.0.0 area 0 network 10.1.1.0 0.0.0.255 area 0 network 192.168.0.0 0.0.255.255 area 0 exit ! ip pim send-rp-discovery loopback0 scope 16 end ! vIOS2 en terminal length 0 conf t hostname vIOS2 line console 0 logging synchronous exit ! ip multicast-routing ! int gi0/1 ip address 192.168.2.2 255.255.255.0 ip pim sparse-mode no shut ! int gi0/2 ip address 192.168.4.2 255.255.255.0 ip pim sparse-mode no shut ! int lo0 ip address 2.2.2.2 255.255.255.255 ip pim sparse-mode exit ! router ospf 1 network 192.168.0.0 0.0.255.255 area 0 network 2.2.2.2 0.0.0.0 area 0 exit ! access-list 1 permit 239.1.1.5 ip pim send-rp-announce loopback0 scope 16 group-list 1 end ! vIOS3 en terminal length 0 conf t hostname vIOS3 line console 0 logging synchronous exit ! ip multicast-routing ! int gi0/0 ip address 172.16.1.254 255.255.255.0 ip pim sparse-mode no shut ! int gi0/1 ip address 192.168.3.3 255.255.255.0 ip pim sparse-mode no shut ! int gi0/2 ip address 192.168.4.3 255.255.255.0 ip pim sparse-mode no shut exit ! router ospf 1 network 172.16.1.0 0.0.0.255 area 0 network 192.168.0.0 0.0.255.255 area 0 end ! vIOS4 en terminal length 0 conf t hostname vIOS4 line console 0 logging synchronous exit ! ip route 0.0.0.0 0.0.0.0 10.1.1.254 int gi0/0 ip address 10.1.1.1 255.255.255.0 no shut end ! vIOS5 en terminal length 0 conf t hostname vIOS5 line console 0 logging synchronous exit ! ip route 0.0.0.0 0.0.0.0 172.16.1.254 int gi0/0 ip address 172.16.1.1 255.255.255.0 ip igmp join-group 239.1.1.5 no shut end !