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 5] olivierdocumentation:examples:simple_bgp-rip-ospf_lab [2019/08/10 14:15] – [Router 7] olivier
Line 415: Line 415:
 sysrc hostname=router6 sysrc hostname=router6
 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 192.168.70.0/24 192.168.67.7
 +ipv6 route 2001:db8:70::/64 2001:db8:67::7
 +!
 interface em4 interface em4
  ip address 192.168.56.6/24  ip address 192.168.56.6/24
  ipv6 address 2001:db8:56::6/64  ipv6 address 2001:db8:56::6/64
 +!
 +interface em5
 + ip address 192.168.67.6/24
 + ipv6 address 2001:db8:67::6/64
 +!
 interface vtnet4 interface vtnet4
  ip address 192.168.56.6/24  ip address 192.168.56.6/24
  ipv6 address 2001:db8:56::6/64  ipv6 address 2001:db8:56::6/64
-interface em5 +!
- ip address 192.168.67.6/24 +
- ipv6 address 2001:db8:67::6/64+
 interface vtnet5 interface vtnet5
  ip address 192.168.67.6/24  ip address 192.168.67.6/24
  ipv6 address 2001:db8:67::6/64  ipv6 address 2001:db8:67::6/64
-EOF +!
-cat > /usr/local/etc/frr/babeld.conf <<EOF+
 router babel router babel
  network em4  network em4
Line 438: Line 444:
  redistribute ipv6 connected  redistribute ipv6 connected
  redistribute ipv6 static  redistribute ipv6 static
-EOF +!
-cat > /usr/local/etc/frr/staticd.conf <<EOF +
-ip route 192.168.70.0/24 192.168.67.7 +
-ipv6 route 2001:db8:70::/64 2001:db8:67::7+
 EOF EOF
 hostname router6 hostname router6
 service netif restart service netif restart
 service frr start service frr start
 +config save
 </code> </code>
  
Line 454: Line 458:
 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 lo1
 + ip address 192.168.70.7/24
 + ipv6 address 2001:db8:70::7/64
 +!
 interface vtnet5 interface vtnet5
  ip address 192.168.67.7/24  ip address 192.168.67.7/24
  ipv6 address 2001:db8:67::7/64  ipv6 address 2001:db8:67::7/64
-interface lo1 +!
- ip address 192.168.70.7/24 +
- ipv6 address 2001:db8:70::7/64 +
-EOF +
-cat > /usr/local/etc/frr/staticd.conf <<EOF +
-ip route 0.0.0.0/0 192.168.67.6 +
-ipv6 route ::/0 2001:db8:67::6+
 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