forked from FRRouting/frr
-
Notifications
You must be signed in to change notification settings - Fork 14
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 #17 from opensourcerouting/ospf-topo1
Basic OSPF(v2|v3) Topology
- Loading branch information
Showing
34 changed files
with
973 additions
and
7 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
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
Empty file.
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,9 @@ | ||
! | ||
router ospf6 | ||
router-id 10.0.255.1 | ||
redistribute kernel | ||
redistribute connected | ||
redistribute static | ||
interface r1-eth0 area 0.0.0.0 | ||
interface r1-eth1 area 0.0.0.0 | ||
! |
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 @@ | ||
*N IA 2001:db8:1::/64 :: r1-eth0 00:02:11 | ||
*N IA 2001:db8:2::/64 fe80::b038:bcff:fe27:e2d6 r1-eth1 00:02:06 | ||
N E1 2001:db8:2::/64 fe80::b038:bcff:fe27:e2d6 r1-eth1 00:02:06 | ||
*N IA 2001:db8:3::/64 :: r1-eth1 00:02:11 | ||
N E1 2001:db8:3::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:06 | ||
N E1 2001:db8:3::/64 fe80::b038:bcff:fe27:e2d6 r1-eth1 00:02:06 | ||
*N IA 2001:db8:100::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:06 | ||
N E1 2001:db8:100::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:06 | ||
*N IE 2001:db8:200::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:06 | ||
N E1 2001:db8:200::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:06 | ||
N E1 2001:db8:200::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:04 | ||
*N IE 2001:db8:300::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:04 | ||
N E1 2001:db8:300::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:04 |
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,5 @@ | ||
*N IA 2001:db8:1::/64 :: r1-eth0 00:01:51 | ||
*N IA 2001:db8:2::/64 fe80::281a:23ff:fe22:8a40 r1-eth1 00:00:52 | ||
N E1 2001:db8:2::/64 fe80::281a:23ff:fe22:8a40 r1-eth1 00:00:52 | ||
*N IA 2001:db8:3::/64 :: r1-eth1 00:00:52 | ||
N E1 2001:db8:3::/64 fe80::281a:23ff:fe22:8a40 r1-eth1 00:00:52 |
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,9 @@ | ||
! | ||
router ospf | ||
ospf router-id 10.0.255.1 | ||
redistribute kernel | ||
redistribute connected | ||
redistribute static | ||
network 10.0.1.0/24 area 0 | ||
network 10.0.3.0/24 area 0 | ||
! |
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,23 @@ | ||
============ OSPF network routing table ============ | ||
N 10.0.1.0/24 [10] area: 0.0.0.0 | ||
directly attached to r1-eth0 | ||
N 10.0.2.0/24 [20] area: 0.0.0.0 | ||
via 10.0.3.3, r1-eth1 | ||
N 10.0.3.0/24 [10] area: 0.0.0.0 | ||
directly attached to r1-eth1 | ||
N 10.0.10.0/24 [20] area: 0.0.0.0 | ||
via 10.0.3.1, r1-eth1 | ||
N IA 172.16.0.0/24 [20] area: 0.0.0.0 | ||
via 10.0.3.1, r1-eth1 | ||
N IA 172.16.1.0/24 [30] area: 0.0.0.0 | ||
via 10.0.3.1, r1-eth1 | ||
|
||
============ OSPF router routing table ============= | ||
R 10.0.255.2 [10] area: 0.0.0.0, ASBR | ||
via 10.0.3.3, r1-eth1 | ||
R 10.0.255.3 [10] area: 0.0.0.0, ABR, ASBR | ||
via 10.0.3.1, r1-eth1 | ||
R 10.0.255.4 IA [20] area: 0.0.0.0, ASBR | ||
via 10.0.3.1, r1-eth1 | ||
|
||
============ OSPF external routing table =========== |
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 @@ | ||
============ OSPF network routing table ============ | ||
N 10.0.1.0/24 [10] area: 0.0.0.0 | ||
directly attached to r1-eth0 | ||
N 10.0.2.0/24 [20] area: 0.0.0.0 | ||
via 10.0.3.3, r1-eth1 | ||
N 10.0.3.0/24 [10] area: 0.0.0.0 | ||
directly attached to r1-eth1 | ||
|
||
============ OSPF router routing table ============= | ||
R 10.0.255.2 [10] area: 0.0.0.0, ASBR | ||
via 10.0.3.3, r1-eth1 | ||
|
||
============ OSPF external routing table =========== |
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 @@ | ||
! | ||
interface r1-eth0 | ||
ip address 10.0.1.1/24 | ||
ipv6 address 2001:db8:1::1/64 | ||
! | ||
interface r1-eth1 | ||
ip address 10.0.3.2/24 | ||
ipv6 address 2001:db8:3::2/64 | ||
! | ||
ip forwarding | ||
! |
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,9 @@ | ||
! | ||
router ospf6 | ||
router-id 10.0.255.2 | ||
redistribute kernel | ||
redistribute connected | ||
redistribute static | ||
interface r2-eth0 area 0.0.0.0 | ||
interface r2-eth1 area 0.0.0.0 | ||
! |
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 @@ | ||
*N IA 2001:db8:1::/64 fe80::b49b:4cff:fe80:4e87 r2-eth1 00:03:34 | ||
N E1 2001:db8:1::/64 fe80::b49b:4cff:fe80:4e87 r2-eth1 00:03:34 | ||
*N IA 2001:db8:2::/64 :: r2-eth0 00:03:39 | ||
*N IA 2001:db8:3::/64 :: r2-eth1 00:03:34 | ||
N E1 2001:db8:3::/64 fe80::b49b:4cff:fe80:4e87 r2-eth1 00:03:34 | ||
N E1 2001:db8:3::/64 fe80::50b7:d8ff:fe5f:8ff0 r2-eth1 00:03:34 | ||
*N IA 2001:db8:100::/64 fe80::50b7:d8ff:fe5f:8ff0 r2-eth1 00:03:34 | ||
N E1 2001:db8:100::/64 fe80::50b7:d8ff:fe5f:8ff0 r2-eth1 00:03:34 | ||
*N IE 2001:db8:200::/64 fe80::50b7:d8ff:fe5f:8ff0 r2-eth1 00:03:34 | ||
N E1 2001:db8:200::/64 fe80::50b7:d8ff:fe5f:8ff0 r2-eth1 00:03:34 | ||
N E1 2001:db8:200::/64 fe80::50b7:d8ff:fe5f:8ff0 r2-eth1 00:03:32 | ||
*N IE 2001:db8:300::/64 fe80::50b7:d8ff:fe5f:8ff0 r2-eth1 00:03:32 | ||
N E1 2001:db8:300::/64 fe80::50b7:d8ff:fe5f:8ff0 r2-eth1 00:03: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,5 @@ | ||
*N IA 2001:db8:1::/64 fe80::fc0b:daff:fe31:6791 r2-eth1 00:06:19 | ||
N E1 2001:db8:1::/64 fe80::fc0b:daff:fe31:6791 r2-eth1 00:06:19 | ||
*N IA 2001:db8:2::/64 :: r2-eth0 00:07:17 | ||
*N IA 2001:db8:3::/64 :: r2-eth1 00:06:27 | ||
N E1 2001:db8:3::/64 fe80::fc0b:daff:fe31:6791 r2-eth1 00:06:19 |
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,9 @@ | ||
! | ||
router ospf | ||
ospf router-id 10.0.255.2 | ||
redistribute kernel | ||
redistribute connected | ||
redistribute static | ||
network 10.0.2.0/24 area 0 | ||
network 10.0.3.0/24 area 0 | ||
! |
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,23 @@ | ||
============ OSPF network routing table ============ | ||
N 10.0.1.0/24 [20] area: 0.0.0.0 | ||
via 10.0.3.2, r2-eth1 | ||
N 10.0.2.0/24 [10] area: 0.0.0.0 | ||
directly attached to r2-eth0 | ||
N 10.0.3.0/24 [10] area: 0.0.0.0 | ||
directly attached to r2-eth1 | ||
N 10.0.10.0/24 [20] area: 0.0.0.0 | ||
via 10.0.3.1, r2-eth1 | ||
N IA 172.16.0.0/24 [20] area: 0.0.0.0 | ||
via 10.0.3.1, r2-eth1 | ||
N IA 172.16.1.0/24 [30] area: 0.0.0.0 | ||
via 10.0.3.1, r2-eth1 | ||
|
||
============ OSPF router routing table ============= | ||
R 10.0.255.1 [10] area: 0.0.0.0, ASBR | ||
via 10.0.3.2, r2-eth1 | ||
R 10.0.255.3 [10] area: 0.0.0.0, ABR, ASBR | ||
via 10.0.3.1, r2-eth1 | ||
R 10.0.255.4 IA [20] area: 0.0.0.0, ASBR | ||
via 10.0.3.1, r2-eth1 | ||
|
||
============ OSPF external routing table =========== |
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 @@ | ||
============ OSPF network routing table ============ | ||
N 10.0.1.0/24 [20] area: 0.0.0.0 | ||
via 10.0.3.2, r2-eth1 | ||
N 10.0.2.0/24 [10] area: 0.0.0.0 | ||
directly attached to r2-eth0 | ||
N 10.0.3.0/24 [10] area: 0.0.0.0 | ||
directly attached to r2-eth1 | ||
|
||
============ OSPF router routing table ============= | ||
R 10.0.255.1 [10] area: 0.0.0.0, ASBR | ||
via 10.0.3.2, r2-eth1 | ||
|
||
============ OSPF external routing table =========== |
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 @@ | ||
! | ||
interface r2-eth0 | ||
ip address 10.0.2.1/24 | ||
ipv6 address 2001:db8:2::1/64 | ||
! | ||
interface r2-eth1 | ||
ip address 10.0.3.3/24 | ||
ipv6 address 2001:db8:3::3/64 | ||
! | ||
ip forwarding | ||
! |
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,10 @@ | ||
! | ||
router ospf6 | ||
router-id 10.0.255.3 | ||
redistribute kernel | ||
redistribute connected | ||
redistribute static | ||
interface r3-eth0 area 0.0.0.0 | ||
interface r3-eth1 area 0.0.0.0 | ||
interface r3-eth2 area 0.0.0.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,12 @@ | ||
*N IA 2001:db8:1::/64 fe80::b49b:4cff:fe80:4e87 r3-eth0 00:04:03 | ||
N E1 2001:db8:1::/64 fe80::b49b:4cff:fe80:4e87 r3-eth0 00:04:03 | ||
*N IA 2001:db8:2::/64 fe80::b038:bcff:fe27:e2d6 r3-eth0 00:04:03 | ||
N E1 2001:db8:2::/64 fe80::b038:bcff:fe27:e2d6 r3-eth0 00:04:03 | ||
*N IA 2001:db8:3::/64 :: r3-eth0 00:04:08 | ||
N E1 2001:db8:3::/64 fe80::b49b:4cff:fe80:4e87 r3-eth0 00:04:03 | ||
N E1 2001:db8:3::/64 fe80::b038:bcff:fe27:e2d6 r3-eth0 00:04:03 | ||
*N IA 2001:db8:100::/64 :: r3-eth1 00:04:08 | ||
*N IA 2001:db8:200::/64 :: r3-eth2 00:04:05 | ||
N E1 2001:db8:200::/64 fe80::78e0:deff:feb1:ec0 r3-eth2 00:04:00 | ||
*N IA 2001:db8:300::/64 fe80::78e0:deff:feb1:ec0 r3-eth2 00:04:00 | ||
N E1 2001:db8:300::/64 fe80::78e0:deff:feb1:ec0 r3-eth2 00:04:00 |
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,5 @@ | ||
*N IA 2001:db8:100::/64 :: r3-eth1 00:08:06 | ||
*N IA 2001:db8:200::/64 :: r3-eth2 00:08:04 | ||
N E1 2001:db8:200::/64 fe80::80a6:c3ff:fea9:88be r3-eth2 00:07:59 | ||
*N IA 2001:db8:300::/64 fe80::80a6:c3ff:fea9:88be r3-eth2 00:07:59 | ||
N E1 2001:db8:300::/64 fe80::80a6:c3ff:fea9:88be r3-eth2 00:07:59 |
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,10 @@ | ||
! | ||
router ospf | ||
ospf router-id 10.0.255.3 | ||
redistribute kernel | ||
redistribute connected | ||
redistribute static | ||
network 10.0.3.0/24 area 0 | ||
network 10.0.10.0/24 area 0 | ||
network 172.16.0.0/24 area 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,23 @@ | ||
============ OSPF network routing table ============ | ||
N 10.0.1.0/24 [20] area: 0.0.0.0 | ||
via 10.0.3.2, r3-eth0 | ||
N 10.0.2.0/24 [20] area: 0.0.0.0 | ||
via 10.0.3.3, r3-eth0 | ||
N 10.0.3.0/24 [10] area: 0.0.0.0 | ||
directly attached to r3-eth0 | ||
N 10.0.10.0/24 [10] area: 0.0.0.0 | ||
directly attached to r3-eth1 | ||
N 172.16.0.0/24 [10] area: 0.0.0.1 | ||
directly attached to r3-eth2 | ||
N 172.16.1.0/24 [20] area: 0.0.0.1 | ||
via 172.16.0.1, r3-eth2 | ||
|
||
============ OSPF router routing table ============= | ||
R 10.0.255.1 [10] area: 0.0.0.0, ASBR | ||
via 10.0.3.2, r3-eth0 | ||
R 10.0.255.2 [10] area: 0.0.0.0, ASBR | ||
via 10.0.3.3, r3-eth0 | ||
R 10.0.255.4 [10] area: 0.0.0.1, ASBR | ||
via 172.16.0.1, r3-eth2 | ||
|
||
============ OSPF external routing table =========== |
Oops, something went wrong.