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 2] 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 121: Line 115:
  key 1  key 1
   key-string rippassword   key-string rippassword
-! 
-interface em0 
- ip address 192.168.12.2/24 
- ipv6 address 2001:db8:12::2/64 
-! 
-interface em1 
- ip address 192.168.23.2/24 
- ip rip authentication key-chain rippass 
- ip rip authentication mode md5 
- ipv6 address 2001:db8:23::2/64 
 ! !
 interface vtnet0 interface vtnet0
Line 143: Line 127:
 ! !
 router rip router rip
- network em1 
  network vtnet1  network vtnet1
  redistribute bgp  redistribute bgp
Line 150: Line 133:
 ! !
 router ripng router ripng
- network em1 
  network vtnet1  network vtnet1
  redistribute bgp  redistribute bgp
Line 181: Line 163:
 bfd bfd
  peer 192.168.12.1  peer 192.168.12.1
-  label router1-4 
   no shutdown   no shutdown
  !  !
  peer 2001:db8:12::1 local-address 2001:db8:12::2  peer 2001:db8:12::1 local-address 2001:db8:12::2
-  label router1-6 
   no shutdown   no shutdown
  !  !
Line 458: Line 438:
 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