Uploaded from github, added FreeBSD VMs support
This commit is contained in:
60
vm_example_scripts/ingress_files/bird.conf
Normal file
60
vm_example_scripts/ingress_files/bird.conf
Normal file
@ -0,0 +1,60 @@
|
||||
# This is a minimal configuration file, which allows the bird daemon to start
|
||||
# but will not cause anything else to happen.
|
||||
#
|
||||
# Please refer to the documentation in the bird-doc package or BIRD User's
|
||||
# Guide on http://bird.network.cz/ for more information on configuring BIRD and
|
||||
# adding routing protocols.
|
||||
|
||||
# Change this into your BIRD router ID. It's a world-wide unique identification
|
||||
# of your router, usually one of router's IPv4 addresses.
|
||||
router id 192.168.1.50;
|
||||
|
||||
log syslog all;
|
||||
|
||||
# controlplane
|
||||
protocol bgp {
|
||||
local 192.168.1.50 as 65000;
|
||||
neighbor 192.168.1.47 as 65000;
|
||||
direct;
|
||||
import filter {
|
||||
if ( net ~ [ 172.16.0.0/16{26,26} ] ) then accept;
|
||||
};
|
||||
export none;
|
||||
}
|
||||
|
||||
# worker1
|
||||
protocol bgp {
|
||||
local 192.168.1.50 as 65000;
|
||||
neighbor 192.168.1.48 as 65000;
|
||||
direct;
|
||||
import filter {
|
||||
if ( net ~ [ 172.16.0.0/16{26,26} ] ) then accept;
|
||||
};
|
||||
export none;
|
||||
}
|
||||
|
||||
# worker2
|
||||
protocol bgp {
|
||||
local 192.168.1.50 as 65000;
|
||||
neighbor 192.168.1.49 as 65000;
|
||||
direct;
|
||||
import filter {
|
||||
if ( net ~ [ 172.16.0.0/16{26,26} ] ) then accept;
|
||||
};
|
||||
export none;
|
||||
}
|
||||
|
||||
# The Kernel protocol is not a real routing protocol. Instead of communicating
|
||||
# with other routers in the network, it performs synchronization of BIRD's
|
||||
# routing tables with the OS kernel.
|
||||
protocol kernel {
|
||||
scan time 60;
|
||||
export all; # Actually insert routes into the kernel routing table
|
||||
}
|
||||
|
||||
# The Device protocol is not a real routing protocol. It doesn't generate any
|
||||
# routes and it only serves as a module for getting information about network
|
||||
# interfaces from the kernel.
|
||||
protocol device {
|
||||
scan time 60;
|
||||
}
|
||||
Reference in New Issue
Block a user