documentation:examples:bgp_route_reflector_and_confederation_using_quagga_and_bird
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
documentation:examples:bgp_route_reflector_and_confederation_using_quagga_and_bird [2018/10/22 10:42] – external edit 127.0.0.1 | documentation:examples:bgp_route_reflector_and_confederation_using_quagga_and_bird [2021/03/22 21:15] – [Router 6] olivier | ||
---|---|---|---|
Line 851: | Line 851: | ||
sysrc ipsec_enable=YES | sysrc ipsec_enable=YES | ||
sysrc ipsec_file="/ | sysrc ipsec_file="/ | ||
- | service frr start | ||
cat <<EOF > / | cat <<EOF > / | ||
flush ; | flush ; | ||
Line 860: | Line 859: | ||
EOF | EOF | ||
service ipsec start | service ipsec start | ||
- | cli | + | cat > / |
- | conf t | + | |
interface vtnet2 | interface vtnet2 | ||
ip address 10.0.2.4/24 | ip address 10.0.2.4/24 | ||
Line 872: | Line 870: | ||
bgp confederation identifier 200 | bgp confederation identifier 200 | ||
bgp confederation peers 65535 | bgp confederation peers 65535 | ||
+ | no bgp ebgp-requires-policy | ||
no bgp default ipv4-unicast | no bgp default ipv4-unicast | ||
| | ||
Line 879: | Line 878: | ||
| | ||
| | ||
+ | ! | ||
| | ||
network 10.0.3.0/24 | network 10.0.3.0/24 | ||
+ | neighbor 10.0.2.3 activate | ||
neighbor 10.0.3.5 activate | neighbor 10.0.3.5 activate | ||
neighbor 10.0.3.5 next-hop-self | neighbor 10.0.3.5 next-hop-self | ||
- | neighbor 10.0.2.3 activate | ||
no neighbor 2001: | no neighbor 2001: | ||
no neighbor 2001: | no neighbor 2001: | ||
| | ||
+ | ! | ||
| | ||
network 2001: | network 2001: | ||
Line 893: | Line 894: | ||
neighbor 2001: | neighbor 2001: | ||
| | ||
- | exit | + | ! |
- | exit | + | EOF |
- | wr | + | service frr start |
- | exit | + | |
config save | config save | ||
</ | </ | ||
Line 955: | Line 955: | ||
sysrc hostname=R5 | sysrc hostname=R5 | ||
sysrc frr_enable=YES | sysrc frr_enable=YES | ||
- | hostname R5 | + | cat <<EOF > / |
- | service | + | log syslog |
- | cli | + | |
- | conf t | + | |
interface vtnet3 | interface vtnet3 | ||
ip address 10.0.3.5/24 | ip address 10.0.3.5/24 | ||
ipv6 address 2001: | ipv6 address 2001: | ||
+ | ! | ||
interface vtnet4 | interface vtnet4 | ||
ip address 10.0.4.5/24 | ip address 10.0.4.5/24 | ||
Line 969: | Line 968: | ||
bgp confederation identifier 200 | bgp confederation identifier 200 | ||
bgp confederation peers 65535 | bgp confederation peers 65535 | ||
+ | no bgp ebgp-requires-policy | ||
no bgp default ipv4-unicast | no bgp default ipv4-unicast | ||
| | ||
Line 974: | Line 974: | ||
| | ||
| | ||
+ | ! | ||
| | ||
network 10.0.3.0/24 | network 10.0.3.0/24 | ||
Line 984: | Line 985: | ||
no neighbor 2001: | no neighbor 2001: | ||
| | ||
+ | ! | ||
| | ||
network 2001: | network 2001: | ||
Line 992: | Line 994: | ||
neighbor 2001: | neighbor 2001: | ||
| | ||
- | exit | + | EOF |
- | exit | + | hostname R5 |
- | wr | + | service frr start |
- | exit | + | |
config save | config save | ||
</ | </ | ||
Line 1055: | Line 1056: | ||
sysrc ipsec_file="/ | sysrc ipsec_file="/ | ||
sysrc frr_enable=YES | sysrc frr_enable=YES | ||
- | service frr start | ||
cat <<EOF > / | cat <<EOF > / | ||
flush ; | flush ; | ||
Line 1064: | Line 1064: | ||
EOF | EOF | ||
service ipsec start | service ipsec start | ||
- | cli | + | cat <<EOF > / |
- | conf t | + | log syslog |
interface vtnet4 | interface vtnet4 | ||
ip address 10.0.4.6/24 | ip address 10.0.4.6/24 | ||
ipv6 address 2001: | ipv6 address 2001: | ||
+ | ! | ||
interface vtnet5 | interface vtnet5 | ||
ip address 10.0.5.6/24 | ip address 10.0.5.6/24 | ||
Line 1076: | Line 1077: | ||
bgp confederation identifier 200 | bgp confederation identifier 200 | ||
bgp confederation peers 64512 | bgp confederation peers 64512 | ||
+ | no bgp ebgp-requires-policy | ||
no bgp default ipv4-unicast | no bgp default ipv4-unicast | ||
| | ||
Line 1083: | Line 1085: | ||
| | ||
| | ||
+ | ! | ||
| | ||
network 10.0.5.0/24 | network 10.0.5.0/24 | ||
Line 1092: | Line 1095: | ||
no neighbor 2001: | no neighbor 2001: | ||
| | ||
+ | ! | ||
| | ||
network 2001: | network 2001: | ||
Line 1099: | Line 1103: | ||
neighbor 2001: | neighbor 2001: | ||
| | ||
- | exit | + | EOF |
- | exit | + | service frr start |
- | wr | + | |
- | exit | + | |
config save | config save | ||
</ | </ | ||
Line 1165: | Line 1167: | ||
sysrc ipsec_file="/ | sysrc ipsec_file="/ | ||
sysrc frr_enable=YES | sysrc frr_enable=YES | ||
- | service frr start | ||
cat <<EOF > / | cat <<EOF > / | ||
flush ; | flush ; | ||
Line 1174: | Line 1175: | ||
EOF | EOF | ||
service ipsec start | service ipsec start | ||
- | cli | + | cat <<EOF > / |
- | conf t | + | log syslog |
interface vtnet0 | interface vtnet0 | ||
ip address 10.0.7.7/24 | ip address 10.0.7.7/24 | ||
ipv6 address 2001: | ipv6 address 2001: | ||
+ | ! | ||
interface vtnet5 | interface vtnet5 | ||
ip address 10.0.5.7/24 | ip address 10.0.5.7/24 | ||
Line 1186: | Line 1188: | ||
bgp confederation identifier 200 | bgp confederation identifier 200 | ||
bgp confederation peers 64512 | bgp confederation peers 64512 | ||
+ | no bgp default ipv4-unicast | ||
| | ||
| | ||
| | ||
| | ||
+ | ! | ||
| | ||
network 10.0.5.0/24 | network 10.0.5.0/24 | ||
Line 1195: | Line 1199: | ||
neighbor 10.0.5.6 activate | neighbor 10.0.5.6 activate | ||
no neighbor 2001: | no neighbor 2001: | ||
- | | + | exit-address-family |
+ | ! | ||
| | ||
network 2001: | network 2001: | ||
network 2001: | network 2001: | ||
neighbor 2001: | neighbor 2001: | ||
- | | + | exit-address-family |
- | exit | + | EOF |
- | exit | + | service frr start |
- | wr | + | |
- | exit | + | |
config save | config save | ||
</ | </ |
documentation/examples/bgp_route_reflector_and_confederation_using_quagga_and_bird.txt · Last modified: 2021/03/22 21:15 by olivier