19 Temmuz 2018 Perşembe

Multicast Examples

R1

hostname R1
!
ip multicast-routing
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface Tunnel2
 ip address 4.4.4.1 255.255.255.0
 ip pim sparse-mode
 tunnel source 2.2.2.1
 tunnel destination 3.3.3.1
!
interface FastEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 ip pim sparse-mode

interface FastEthernet0/1
 ip address 2.2.2.1 255.255.255.0
 ip pim sparse-mode
!
router ospf 1
 network 0.0.0.0 255.255.255.255 area 0
!
ip pim rp-address 1.1.1.1
ip route 3.3.3.1 255.255.255.255 2.2.2.2


R2

hostname R2
!
ip multicast-routing
!
multilink bundle-name authenticated
interface Tunnel1
 ip address 4.4.4.2 255.255.255.0
 ip pim sparse-mode
 tunnel source 3.3.3.1
 tunnel destination 2.2.2.1
!
interface FastEthernet0/0
 ip address 192.168.2.1 255.255.255.0
 ip pim sparse-mode
!
interface FastEthernet0/1
 ip address 3.3.3.1 255.255.255.0
 ip pim sparse-mode
!
router ospf 1
 network 0.0.0.0 255.255.255.255 area 0
!
ip pim rp-address 1.1.1.1
ip route 2.2.2.1 255.255.255.255 3.3.3.2

R5,ISP

interface FastEthernet0/0
 ip address 2.2.2.2 255.255.255.0
!
interface FastEthernet0/1
 ip address 3.3.3.2 255.255.255.0

R3:

hostname R3
!
ip multicast-routing
!
interface FastEthernet0/0
 ip address 192.168.1.100 255.255.255.0
 ip pim sparse-mode
 ip igmp join-group 239.1.1.1
!
ip pim rp-address 1.1.1.1
!
router ospf 1
 network 0.0.0.0 255.255.255.255 area 0

R4:

hostname R4
!
ip multicast-routing
!
interface FastEthernet0/0
 ip address 192.168.2.100 255.255.255.0
 ip pim sparse-mode
 ip igmp join-group 238.1.1.1
!
router ospf 1
 network 0.0.0.0 255.255.255.255 area 0
!
ip pim rp-address 1.1.1.1


Hiç yorum yok:

Yorum Gönder