-
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.
Merge pull request #16490 from adrianomarto/master
tests: Test MSDP RPF
- Loading branch information
Showing
16 changed files
with
565 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,8 @@ | ||
router bgp 65001 | ||
no bgp ebgp-requires-policy | ||
neighbor 192.168.1.2 remote-as 65002 | ||
neighbor 192.168.3.3 remote-as 65003 | ||
address-family ipv4 unicast | ||
redistribute connected | ||
exit-address-family | ||
! |
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,20 @@ | ||
! debug pim | ||
! debug pim zebra | ||
! | ||
interface lo | ||
ip pim | ||
ip pim use-source 10.254.254.1 | ||
! | ||
interface r1-eth0 | ||
ip pim | ||
! | ||
interface r1-eth1 | ||
ip pim | ||
! | ||
interface r1-eth2 | ||
ip pim | ||
ip igmp | ||
! | ||
ip msdp peer 192.168.1.2 source 192.168.1.1 | ||
ip msdp peer 192.168.3.3 source 192.168.3.1 | ||
ip pim rp 10.254.254.1 |
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,14 @@ | ||
ip forwarding | ||
! | ||
interface r1-eth0 | ||
ip address 192.168.1.1/24 | ||
! | ||
interface r1-eth1 | ||
ip address 192.168.3.1/24 | ||
! | ||
interface r1-eth2 | ||
ip address 192.168.6.1/24 | ||
! | ||
interface lo | ||
ip address 10.254.254.1/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,8 @@ | ||
router bgp 65002 | ||
no bgp ebgp-requires-policy | ||
neighbor 192.168.1.1 remote-as 65001 | ||
neighbor 192.168.2.5 remote-as 65005 | ||
address-family ipv4 unicast | ||
redistribute connected | ||
exit-address-family | ||
! |
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,16 @@ | ||
! debug pim | ||
! debug pim zebra | ||
! | ||
interface lo | ||
ip pim | ||
ip pim use-source 10.254.254.2 | ||
! | ||
interface r2-eth0 | ||
ip pim | ||
! | ||
interface r2-eth1 | ||
ip pim | ||
! | ||
ip msdp peer 192.168.1.1 source 192.168.1.2 | ||
ip msdp peer 192.168.2.5 source 192.168.2.2 | ||
ip pim rp 10.254.254.2 |
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,11 @@ | ||
ip forwarding | ||
! | ||
interface r2-eth0 | ||
ip address 192.168.1.2/24 | ||
! | ||
interface r2-eth1 | ||
ip address 192.168.2.2/24 | ||
! | ||
interface lo | ||
ip address 10.254.254.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,8 @@ | ||
router bgp 65003 | ||
no bgp ebgp-requires-policy | ||
neighbor 192.168.3.1 remote-as 65001 | ||
neighbor 192.168.4.4 remote-as 65004 | ||
address-family ipv4 unicast | ||
redistribute connected | ||
exit-address-family | ||
! |
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,16 @@ | ||
! debug pim | ||
! debug pim zebra | ||
! | ||
interface lo | ||
ip pim | ||
ip pim use-source 10.254.254.3 | ||
! | ||
interface r3-eth0 | ||
ip pim | ||
! | ||
interface r3-eth1 | ||
ip pim | ||
! | ||
ip msdp peer 192.168.3.1 source 192.168.3.3 | ||
ip msdp peer 192.168.4.4 source 192.168.4.3 | ||
ip pim rp 10.254.254.3 |
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,11 @@ | ||
ip forwarding | ||
! | ||
interface r3-eth0 | ||
ip address 192.168.3.3/24 | ||
! | ||
interface r3-eth1 | ||
ip address 192.168.4.3/24 | ||
! | ||
interface lo | ||
ip address 10.254.254.3/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,8 @@ | ||
router bgp 65004 | ||
no bgp ebgp-requires-policy | ||
neighbor 192.168.4.3 remote-as 65003 | ||
neighbor 192.168.5.5 remote-as 65005 | ||
address-family ipv4 unicast | ||
redistribute connected | ||
exit-address-family | ||
! |
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,16 @@ | ||
! debug pim | ||
! debug pim zebra | ||
! | ||
interface lo | ||
ip pim | ||
ip pim use-source 10.254.254.4 | ||
! | ||
interface r4-eth0 | ||
ip pim | ||
! | ||
interface r4-eth1 | ||
ip pim | ||
! | ||
ip msdp peer 192.168.4.3 source 192.168.4.4 | ||
ip msdp peer 192.168.5.5 source 192.168.5.4 | ||
ip pim rp 10.254.254.4 |
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,11 @@ | ||
ip forwarding | ||
! | ||
interface r4-eth0 | ||
ip address 192.168.4.4/24 | ||
! | ||
interface r4-eth1 | ||
ip address 192.168.5.4/24 | ||
! | ||
interface lo | ||
ip address 10.254.254.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,8 @@ | ||
router bgp 65005 | ||
no bgp ebgp-requires-policy | ||
neighbor 192.168.2.2 remote-as 65002 | ||
neighbor 192.168.5.4 remote-as 65004 | ||
address-family ipv4 unicast | ||
redistribute connected | ||
exit-address-family | ||
! |
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,20 @@ | ||
! debug pim | ||
! debug pim zebra | ||
! | ||
interface lo | ||
ip pim | ||
ip pim use-source 10.254.254.5 | ||
! | ||
interface r5-eth0 | ||
ip pim | ||
! | ||
interface r5-eth1 | ||
ip pim | ||
! | ||
interface r5-eth2 | ||
ip pim | ||
ip igmp | ||
! | ||
ip msdp peer 192.168.2.2 source 192.168.2.5 | ||
ip msdp peer 192.168.5.4 source 192.168.5.5 | ||
ip pim rp 10.254.254.5 |
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,14 @@ | ||
ip forwarding | ||
! | ||
interface r5-eth0 | ||
ip address 192.168.2.5/24 | ||
! | ||
interface r5-eth1 | ||
ip address 192.168.5.5/24 | ||
! | ||
interface r5-eth2 | ||
ip address 192.168.7.5/24 | ||
! | ||
interface lo | ||
ip address 10.254.254.5/32 | ||
! |
Oops, something went wrong.