Internetworking
Lab #3
IP MULTICASTING
INWK 6115
Section 1
Group 4
Name
Kaushalkumar Shah (B00610490)
Shahrukh Khan (B00615585)
E.Ram Mohan Rao (B00639567)
QUESTIONS
Ans:
Definition:
Reverse path forwarding (RPF) is a technique used in modern routers for the purposes of
ensuring loop-free forwarding of multicast packets in multicast routing and to help prevent
IP address spoofing in unicast routing.
If the first assumption is not true, the RPF check will fail because it depends upon the
router's unicast routing table as a fallback. If the second assumption is not true, the RPF
check would reject multicast traffic on all but the shortest path from the sender to the
router and would eventually lead to non-optimal multicast tree.
In cases where the links are unidirectional, the reverse path approach can fail altogether.
Multicast RPF, typically denoted simply as RPF, is used in conjunction with a multicast
routing protocol such as MSDP, PIM-SM and PIM-DM to ensure loop-free forwarding of
multicast packets. In multicast routing, the decision to forward traffic is based upon source
address and not on destination address as in unicast routing. It does this by utilizing either
a dedicated multicast routing table or alternatively the router's unicast routing table.
When a multicast packet enters a router's interface, it will look up the list of networks that
are reachable via that interface i.e., it checks the reverse path of the packet. If the router
finds a matching routing entry for the source IP address of the multicast packet, the RPF
check passes and the packet is forwarded to all other interfaces that are participating in
multicast for that multicast group. If the RPF check fails, the packet will be dropped. As a
result, the forwarding of the packet is decided based upon the reverse path of the packet
rather than the forward path. RPF routers only forward packets that come into the
interface that also holds the routing entry for the source of the packet, thus breaking any
loop
Q2 Attach running configuration and all show commands in your report?
Ans
Router R4:
4R4#show run
Building configuration...
version 15.1
no service password-encryption
hostname 4R4
interface Loopback0
interface Embedded-Service-Engine0/0
no ip address
shutdown
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
interface GigabitEthernet0/1
ip pim sparse-dense-mode
duplex auto
speed auto
interface GigabitEthernet0/2
no ip address
duplex auto
speed auto
interface Serial0/0/0
ip pim sparse-dense-mode
interface Serial0/0/1
no ip address
shutdown
router ospf 1
router-id 4.4.4.4
network 4.4.4.4 0.0.0.0 area 1
network 169.1.24.4 0.0.0.0 area 1
ip forward-protocol nd
no ip http server
no ip http secure-server
end
RPF topology: ipv4 multicast base, originated from ipv4 unicast base
4R4#
4R4#ping 224.1.1.1
SWITCH 2: (CLIENT)
4S2#show run
Building configuration...
version 12.2
no service pad
service timestamps debug datetime msec
no service password-encryption
hostname 4S2
no aaa new-model
ip subnet-zero
ip routing
no ip domain-lookup
ip multicast-routing
interface Loopback0
ip pim sparse-dense-mode
interface FastEthernet0/9
no switchport
ip pim sparse-dense-mode
router ospf 1
router-id 7.7.7.7
log-adjacency-changes
!
ip pim rp-address 1.1.1.1
!
control-plane
line con 0
line vty 5 15
End
4S2#show ip pim ne
Address Prio/Mode
4S2#show ip pim in
Address Interface Ver/ Nbr Query DR DR
4R3#show run
Building configuration..
version 15.1
service config
no service password-encryption
hostname 4R3
ip multicast-routing
no ip domain lookup
interface Loopback0
ip pim sparse-dense-mode
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
interface GigabitEthernet0/0
ip pim sparse-dense-mode
duplex auto
speed auto
interface GigabitEthernet0/1
ip pim sparse-dense-mode
duplex auto
speed auto
interface GigabitEthernet0/2
ip pim sparse-dense-mode
duplex auto
speed auto
interface Serial0/0/0
!
interface Serial0/0/1
no ip address
shutdown
router ospf 1
router-id 3.3.3.3
ip forward-protocol nd
end
4R3#show ip pim rp
4R3#show ip pim ne
Address Prio/Mode
4R3#show ip mroute
Timers: Uptime/Expires
224.0.1.40(1)
4R3#ping 224.1.1.1
ROUTER R1 (RP)
4R1#show run
Building configuration...
version 15.3
no service password-encryption
hostname 4R1
!
interface Loopback0
ip pim sparse-dense-mode
interface Embedded-Service-Engine0/0
no ip address
shutdown
interface GigabitEthernet0/0
ip pim sparse-dense-mode
duplex auto
speed auto
interface Serial0/0/0
ip pim sparse-dense-mode
interface Serial0/0/1
no ip address
shutdown
!
router ospf 1
router-id 1.1.1.1
End
4R1#show ip pim rp
4R1#show ip pim ne
PIM Neighbor Table
Address Prio/Mode
Timers: Uptime/Expires
224.0.1.40(1)
4R1#show ip pim in
4R1#ping 224.1.1.1
ROUTER R2:
4R2#show run
Building configuration...
version 15.1
no service password-encryption
hostname 4R2
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip pim sparse-dense-mode
interface Loopback200
no ip address
shutdown
interface Embedded-Service-Engine0/0
no ip address
shutdown
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
interface GigabitEthernet0/2
ip pim sparse-dense-mode
duplex auto
speed auto
!
interface Serial0/0/0
ip pim sparse-dense-mode
interface Serial0/0/1
no ip address
shutdown
interface Serial0/1/0
ip pim sparse-dense-mode
interface Serial0/1/1
no ip address
shutdown
interface GigabitEthernet0/2/0
ip pim sparse-dense-mode
duplex auto
speed auto
!
!
router ospf 1
router-id 2.2.2.2
ip forward-protocol nd
end
4R2#show ip pim ne
Address Prio/Mode
4R2#show ip pim rp
4R2#show ip mroute
Timers: Uptime/Expires
4R2#show ip igmp in
224.0.1.40(1)
END