User Tools

Site Tools


documentation:examples:simple_bgp-rip-ospf_lab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
documentation:examples:simple_bgp-rip-ospf_lab [2019/08/10 14:15] – [Router 6] olivierdocumentation:examples:simple_bgp-rip-ospf_lab [2020/09/22 22:14] – [Router 1] olivier
Line 48: Line 48:
 cat > /usr/local/etc/frr/frr.conf <<EOF cat > /usr/local/etc/frr/frr.conf <<EOF
 log syslog log syslog
-! 
-interface em0 
- ip address 192.168.12.1/24 
- ipv6 address 2001:db8:12::1/64 
 ! !
 interface lo1 interface lo1
Line 84: Line 80:
 bfd bfd
  peer 2001:db8:12::2 local-address 2001:db8:12::1  peer 2001:db8:12::2 local-address 2001:db8:12::1
-  label router2-6 
   no shutdown   no shutdown
  !  !
  peer 192.168.12.2  peer 192.168.12.2
-  label router2-4 
   no shutdown   no shutdown
  !  !
Line 458: Line 452:
 sysrc cloned_interfaces=lo1 sysrc cloned_interfaces=lo1
 sysrc frr_enable=YES sysrc frr_enable=YES
-cat > /usr/local/etc/frr/zebra.conf <<EOF+cat > /usr/local/etc/frr/frr.conf <<EOF
 log syslog log syslog
 +!
 +ip route 0.0.0.0/0 192.168.67.6
 +ipv6 route ::/0 2001:db8:67::6
 +!
 interface em5 interface em5
  ip address 192.168.67.7/24  ip address 192.168.67.7/24
  ipv6 address 2001:db8:57::7/64  ipv6 address 2001:db8:57::7/64
-interface vtnet5 +!
- ip address 192.168.67.7/24 +
- ipv6 address 2001:db8:67::7/64+
 interface lo1 interface lo1
  ip address 192.168.70.7/24  ip address 192.168.70.7/24
  ipv6 address 2001:db8:70::7/64  ipv6 address 2001:db8:70::7/64
-EOF +! 
-cat > /usr/local/etc/frr/staticd.conf <<EOF +interface vtnet5 
-ip route 0.0.0.0/192.168.67.6 + ip address 192.168.67.7/24 
-ipv6 route ::/0 2001:db8:67::6+ ipv6 address 2001:db8:67::7/64 
 +!
 EOF EOF
 hostname router7 hostname router7
 service netif restart service netif restart
 service frr start service frr start
 +config save
 </code> </code>
 ===== Final testing ===== ===== Final testing =====
documentation/examples/simple_bgp-rip-ospf_lab.txt · Last modified: 2023/05/01 07:03 by olivier

Except where otherwise noted, content on this wiki is licensed under the following license: BSD 2-Clause
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki