Thursday, 29 May 2014


Practical 8: Multicast Routing
Advance Computer Network MSc IT Part 1 Practicals

Network Topology



Configurations of all the routers
Router R1
R1#en
R1#conf t
R1(config)#int f1/0
R1(config-if)#ip add 192.168.12.1 255.255.255.0
R1(config-if)#no shut
R1(config-if)#exit
R1(config-router)#router ospf 1
R1(config-router)#network 0.0.0.0 255.255.255.255 area 0
R1(config-router)#exit
R1(config)#ip multicast-routing
R1(config)#int f1/0
R1(config-if)#ip pim sparse-dense-mode
R1(config-if)#exit
R1(config)#int f1/1
R1(config-if)#ip pim sparse-dense-mode
R1(config-if)#exit
R1(config)#ip pim rp-address 3.3.3.3 1
R1(config)#access-list 1 permit 224.4.4.4

Router R2
R2#en
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int f1/0
R2(config-if)#ip add 192.168.12.2 255.255.255.0
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#router ospf 1
R2(config-router)#network 0.0.0.0 255.255.255.255 area 0
R2#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#int f1/1
R2(config-if)#ip add 192.168.23.1 255.255.255.0
R2(config-if)#no shut
R2(config-if)#exit
R2(config)#ip multicast-routing
R2(config)#int f1/0
R2(config-if)#ip pim sparse-dense-mode
R2(config-if)#exit
R2(config)#int f1/1
R2(config-if)#ip pim sparse-demse-mode
R2(config)#ip pim rp-address 3.3.3.3 1
R2(config)#access-list 1 permit 224.4.4.4
R2(config)#
R2(config)#int f1/0
R2(config-if)#ip igmp join group 224.4.4.4

Router R3
R3#en
R3#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#int f1/0
R3(config-if)#ip add 192.168.34.2 255.255.255.0
R3(config-if)#no shut
R3(config-if)#exit
R3(config)#
R3(config)#router ospf 1
R3(config-router)#network 0.0.0.0 255.255.255.255 area 0
R3(config-router)#exit
R3(config)#ip multicast-routing
R3(config)#int f1/0
R3(config-if)#ip pim sparse-dense-mode
         
R3(config-if)#exit
R3(config)#int f1/1
R3(config-if)#ip pim sparse-dense-mode
R3(config-if)#exit
R3(config)#
R3(config)#ip pim rp-address 3.3.3.3 1
R3(config)#
*Apr  8 20:10:32.099: %LINEPROTO-5-UPDOWN: Line protocol on Interface Tunnel0, changed state to up
R3(config)#access-list 1 permit 224.4.4.4
R3(config)#int f1/0
R3(config-if)#ip igmp join-group 224.4.4.4
R3(config-if)#exit
 R3(config)#

Router R4
R4(config)#int f1/0
R4(config-if)#ip add 192.168.23.2 255.255.255.0
R4(config-if)#no shut
R4(config-if)#exit
R4(config)#int f1/1
R4(config-if)#ip add 192.168.34.1 255.255.255.0
R4(config-if)#no shut
R4(config-if)#exit
R4(config-router)#router ospf 1
R4(config-router)#network 0.0.0.0 255.255.255.0 area 0
R4(config)#ip multicast-routing
R4(config)#int f1/0
R4(config-if)#ip pim sparse-dense-mode
R4(config-if)#exit
R4(config)#
R4(config)#int f1/1
R4(config-if)#ip pim sparse-dense-mode
R4(config-if)#exit
R4(config)#
R4(config)#interface loopback 1
R4(config-if)#ip add 3.3.3.3 255.255.255.0
R4(config-if)#exit
R4(config)#ip pim rp-address 3.3.3.3 1
R4(config)#access-list 1 permit 224.4.4.4

Testing the connection
We try to ping the group address 224.4.4.4 from router R1


We can see the group membership with the show ip igmp groups.We run this command from router R2


Now we run the same from router R3




Related Posts :



0 comments:

Confused? Feel free to ask

Post a Comment