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 revision | ||
documentation:examples:simple_bgp-rip-ospf_lab [2020/09/22 22:16] – [Router 6] olivier | documentation:examples:simple_bgp-rip-ospf_lab [2023/05/01 07:03] (current) – [Final testing] 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 ===== | ||
+ | === VM mode: 7 VMs === | ||
All these routers can be configured with labconfig tool (use it only on a lab, because it will replace your current running configuration): | All these routers can be configured with labconfig tool (use it only on a lab, because it will replace your current running configuration): | ||
+ | |||
+ | Start the lab with 7 routers, here is an example with VirtualBox: | ||
+ | |||
+ | < | ||
+ | |||
+ | Then on each: | ||
< | < | ||
labconfig frr_vm[VM-NUMBER] | labconfig frr_vm[VM-NUMBER] | ||
+ | </ | ||
+ | |||
+ | === Jail mode: 1 VM running 7 jails === | ||
+ | |||
+ | |||
+ | Or just using one router: | ||
+ | < | ||
+ | |||
+ | |||
+ | Then you can use the jail/vnet version with command: | ||
+ | < | ||
+ | labconfig frr_jails | ||
</ | </ | ||
==== Router 1 ==== | ==== Router 1 ==== | ||
< | < | ||
- | sysrc hostname=router1 | + | sysrc hostname=router1 |
- | sysrc cloned_interfaces=lo1 | + | cloned_interfaces=lo1 |
- | sysrc ipsec_enable=YES | + | ipsec_enable=YES |
- | sysrc ipsec_file="/ | + | ipsec_file="/ |
- | sysrc frr_enable=yes | + | |
+ | | ||
cat <<EOF > / | cat <<EOF > / | ||
flush ; | flush ; | ||
Line 383: | Line 401: | ||
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 | ||
Line 418: | Line 432: | ||
round-trip min/ | round-trip min/ | ||
- | [root@router1]~# | + | [root@router1]~# |
PING6(56=40+8+8 bytes) 2001: | PING6(56=40+8+8 bytes) 2001: | ||
16 bytes from 2001: | 16 bytes from 2001: |
documentation/examples/simple_bgp-rip-ospf_lab.1600805804.txt.gz · Last modified: 2020/09/22 22:16 by olivier