2025-02-05 10:17:20 +01:00
|
|
|
!
|
|
|
|
hostname r1
|
2025-03-12 10:26:19 +01:00
|
|
|
!
|
|
|
|
!debug pim autorp
|
2025-02-05 10:17:20 +01:00
|
|
|
!
|
|
|
|
interface r1-eth0
|
2025-03-12 10:26:19 +01:00
|
|
|
ip address 10.0.0.1/24
|
|
|
|
ip igmp
|
|
|
|
ip pim
|
|
|
|
!
|
|
|
|
interface r1-eth1
|
|
|
|
ip address 10.0.1.1/24
|
2025-02-05 10:17:20 +01:00
|
|
|
ip igmp
|
|
|
|
ip pim
|
|
|
|
!
|
|
|
|
ip forwarding
|
|
|
|
!
|
2025-03-12 10:26:19 +01:00
|
|
|
ip route 10.0.2.0/24 10.0.0.2 50
|
|
|
|
ip route 10.0.3.0/24 10.0.0.2 50
|
|
|
|
!
|
2025-02-05 10:17:20 +01:00
|
|
|
router pim
|
|
|
|
autorp discovery
|
2025-03-12 10:26:19 +01:00
|
|
|
rp 10.0.3.4 224.0.1.0/24
|
|
|
|
!
|