-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Add basic multicast boundary test
Add simple test to show filtering of IGMP joins using new "ip multicast boundary" filtering with access-lists, include test of existing prefix- list based "ip multicast boundary oil" command. Signed-off-by: Corey Siltala <[email protected]>
- Loading branch information
Corey Siltala
committed
Nov 21, 2024
1 parent
59ac426
commit 6cf4a1b
Showing
5 changed files
with
522 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
hostname r1 | ||
! | ||
debug pim events | ||
debug igmp events | ||
debug igmp packets | ||
! | ||
ip prefix-list pim-oil-plist seq 10 deny 229.1.1.0/24 | ||
ip prefix-list pim-oil-plist seq 20 permit any | ||
! | ||
access-list pim-acl seq 10 deny ip host 10.0.20.2 232.1.1.0 0.0.0.255 | ||
access-list pim-acl seq 20 permit ip any any | ||
! | ||
interface r1-eth0 | ||
ip address 10.0.20.1/24 | ||
ip igmp | ||
ip pim | ||
! | ||
interface r1-eth1 | ||
ip address 10.0.30.1/24 | ||
ip pim | ||
! | ||
interface r1-eth2 | ||
ip address 10.0.40.1/24 | ||
ip igmp | ||
ip pim | ||
! | ||
interface lo | ||
ip address 10.254.0.1/32 | ||
ip pim | ||
! | ||
router pim | ||
rp 10.254.0.3 | ||
join-prune-interval 5 | ||
! | ||
router bgp 65001 | ||
no bgp ebgp-requires-policy | ||
neighbor 10.0.30.3 remote-as external | ||
neighbor 10.0.30.3 timers 3 10 | ||
redistribute connected |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
hostname r2 | ||
! | ||
debug pim events | ||
debug igmp events | ||
debug igmp packets | ||
! | ||
ip prefix-list pim-oil-plist seq 10 deny 229.1.1.0/24 | ||
ip prefix-list pim-oil-plist seq 20 permit any | ||
! | ||
access-list pim-acl seq 10 deny ip host 10.0.20.2 232.1.1.0 0.0.0.255 | ||
access-list pim-acl seq 20 permit ip any any | ||
! | ||
interface r2-eth0 | ||
ip address 10.0.20.2/24 | ||
! | ||
interface lo | ||
ip address 10.254.0.2/32 | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
hostname r3 | ||
! | ||
! Need a pim statement in order to load pimd after merging pimd.conf | ||
debug pim events | ||
debug igmp events | ||
debug igmp packets | ||
! | ||
interface r3-eth0 | ||
ip address 10.0.40.4/24 | ||
! | ||
interface lo | ||
ip address 10.254.0.4/32 | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
hostname rp | ||
! | ||
interface rp-eth0 | ||
ip address 10.0.30.3/24 | ||
ip pim | ||
! | ||
interface lo | ||
ip address 10.254.0.3/32 | ||
ip pim | ||
! | ||
router pim | ||
rp 10.254.0.3 | ||
join-prune-interval 5 | ||
register-accept-list ACCEPT | ||
! | ||
ip prefix-list ACCEPT seq 5 permit 10.0.20.0/24 le 32 | ||
! | ||
router bgp 65003 | ||
no bgp ebgp-requires-policy | ||
neighbor 10.0.30.1 remote-as external | ||
neighbor 10.0.30.1 timers 3 10 | ||
redistribute connected |
Oops, something went wrong.