User Tools

Site Tools


documentation:examples:simple_bgp-rip-ospf_lab_with_bird

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
documentation:examples:simple_bgp-rip-ospf_lab_with_bird [2022/02/21 16:13] – [Jail 5] olivierdocumentation:examples:simple_bgp-rip-ospf_lab_with_bird [2022/02/21 16:14] – [Jail 6] olivier
Line 415: Line 415:
  
 <code> <code>
-cat > /etc/jails/jail5/rc.conf <<EOF +cat > /etc/jails/jail6/rc.conf <<EOF 
-hostname="jail5"+hostname="jail6"
 gateway_enable=YES gateway_enable=YES
 ipv6_gateway_enable=YES ipv6_gateway_enable=YES
 cloned_interfaces=lo1 cloned_interfaces=lo1
-ifconfig_epair3b="inet 192.168.45.5/24" +ifconfig_epair3b="inet 192.168.56.6/24" 
-ifconfig_epair3b_ipv6="inet6 2001:db8:45::5/64" +ifconfig_epair3b_ipv6="inet6 2001:db8:56::6/64" 
-ifconfig_lo1="inet 192.168.50.5/24" +ifconfig_lo1="inet 192.168.60.6/24" 
-ifconfig_lo1_ipv6="inet6 2001:db8:50::5/64"+ifconfig_lo1_ipv6="inet6 2001:db8:60::6/64"
 bird_enable=yes bird_enable=yes
 EOF EOF
  
-cat > /etc/jails/jail5/local/bird.conf <<EOF+cat > /etc/jails/jail6/local/bird.conf <<EOF
 # Configure logging # Configure logging
 log syslog all; log syslog all;
Line 434: Line 434:
  
 # Override router ID # Override router ID
-router id 192.168.10.5;+router id 192.168.10.6;
  
 # Sync bird routing table with kernel # Sync bird routing table with kernel
Line 459: Line 459:
 protocol static static4 { protocol static static4 {
         ipv4;         ipv4;
-        route 0.0.0.0/0 via 192.168.45.4;+        route 0.0.0.0/0 via 192.168.56.5;
 } }
 protocol static static6 { protocol static static6 {
         ipv6;         ipv6;
-        route ::/0 via 2001:db8:45::4;+        route ::/0 via 2001:db8:56::5;
 } }
  
documentation/examples/simple_bgp-rip-ospf_lab_with_bird.txt · Last modified: 2022/02/21 17:06 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