documentation:examples:simple_bgp-rip-ospf_lab
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
documentation:examples:simple_bgp-rip-ospf_lab [2020/09/22 22:15] – [Router 3] olivier | documentation:examples:simple_bgp-rip-ospf_lab [2020/11/10 22:42] – [Download Lab scripts] olivier | ||
---|---|---|---|
Line 20: | Line 20: | ||
More information on these BSDRP lab scripts available on [[documentation: | More information on these BSDRP lab scripts available on [[documentation: | ||
- | Start the lab with 5 routers, here is an example with VirtualBox: | ||
- | < | ||
===== Routers configuration ===== | ===== Routers configuration ===== | ||
Line 29: | Line 27: | ||
< | < | ||
labconfig frr_vm[VM-NUMBER] | labconfig frr_vm[VM-NUMBER] | ||
+ | </ | ||
+ | |||
+ | Or just using one router, you can use the jail/vnet version with command: | ||
+ | < | ||
+ | labconfig frr_jails | ||
</ | </ | ||
==== Router 1 ==== | ==== Router 1 ==== | ||
Line 235: | Line 238: | ||
! | ! | ||
EOF | EOF | ||
+ | |||
hostname router3 | hostname router3 | ||
service frr start | service frr start | ||
Line 246: | Line 250: | ||
cat > / | cat > / | ||
log syslog | log syslog | ||
- | ! | ||
- | interface em2 | ||
- | ip address 192.168.34.4/ | ||
- | ip ospf bfd | ||
- | ip ospf message-digest-key 1 md5 superpass | ||
- | ipv6 address 2001: | ||
- | ipv6 ospf6 bfd | ||
- | ! | ||
- | interface em3 | ||
- | ip address 192.168.45.4/ | ||
- | ip router isis BSDRP | ||
- | ipv6 address 2001: | ||
- | ipv6 router isis BSDRP | ||
- | isis circuit-type level-2-only | ||
! | ! | ||
interface vtnet2 | interface vtnet2 | ||
Line 285: | Line 275: | ||
| | ||
| | ||
- | | ||
| | ||
! | ! | ||
Line 298: | Line 287: | ||
bfd | bfd | ||
peer 2001: | peer 2001: | ||
- | label router3-6 | ||
no shutdown | no shutdown | ||
! | ! | ||
peer 192.168.34.3 | peer 192.168.34.3 | ||
- | label router3-4 | ||
no shutdown | no shutdown | ||
! | ! | ||
Line 320: | Line 307: | ||
cat > / | cat > / | ||
log syslog | log syslog | ||
- | ! | ||
- | interface em3 | ||
- | ip address 192.168.45.5/ | ||
- | ip router isis BSDRP | ||
- | ipv6 address 2001: | ||
- | ipv6 router isis BSDRP | ||
- | isis circuit-type level-2-only | ||
- | ! | ||
- | interface em4 | ||
- | ip address 192.168.56.5/ | ||
- | ip router isis BSDRP | ||
- | ipv6 address 2001: | ||
- | ipv6 router isis BSDRP | ||
- | isis circuit-type level-2-only | ||
- | isis passive | ||
! | ! | ||
interface vtnet3 | interface vtnet3 | ||
Line 352: | Line 324: | ||
! | ! | ||
router babel | router babel | ||
- | | ||
| | ||
- | | ||
| | ||
| | ||
Line 382: | Line 352: | ||
ip route 192.168.70.0/ | ip route 192.168.70.0/ | ||
ipv6 route 2001: | ipv6 route 2001: | ||
- | ! | ||
- | interface em4 | ||
- | ip address 192.168.56.6/ | ||
- | ipv6 address 2001: | ||
- | ! | ||
- | interface em5 | ||
- | ip address 192.168.67.6/ | ||
- | ipv6 address 2001: | ||
! | ! | ||
interface vtnet4 | interface vtnet4 | ||
Line 400: | Line 362: | ||
! | ! | ||
router babel | router babel | ||
- | | ||
| | ||
| | ||
Line 425: | Line 386: | ||
ip route 0.0.0.0/0 192.168.67.6 | ip route 0.0.0.0/0 192.168.67.6 | ||
ipv6 route ::/0 2001: | ipv6 route ::/0 2001: | ||
- | ! | ||
- | interface em5 | ||
- | ip address 192.168.67.7/ | ||
- | ipv6 address 2001: | ||
! | ! | ||
interface lo1 | interface lo1 |
documentation/examples/simple_bgp-rip-ospf_lab.txt · Last modified: 2023/05/01 07:03 by olivier