Set correct peer ASN for hessnet_home

This commit is contained in:
Jesper Hess 2020-04-22 09:42:16 +02:00
parent 21042962d4
commit eb6b599b5c
Signed by: graffen
GPG key ID: 351A89E40D763F0F
4 changed files with 9 additions and 10 deletions

View file

@ -16,10 +16,10 @@ bgp_peers:
- name: "hessnet_home" - name: "hessnet_home"
template: "peer_hessnet" template: "peer_hessnet"
peer_asn: "209616" peer_asn: "64512"
neighbor_ip: "2001:678:15c:a00::1" neighbor_ip: "2001:678:15c:a00::1"
filters: filters:
export: "{ peer_export_default_only(); }" export: "{ peer_export_dfz_and_default(); }"
import: "myroutes_import_export" import: "myroutes_import_export"
announce_from_here: true announce_from_here: true

View file

@ -6,7 +6,7 @@ router_v6_ip: "2001:19f0:5001:256b:5400:02ff:feb0:cd41"
bgp_peers: bgp_peers:
- name: "vultr_v4" - name: "vultr_v4"
template: "peer_vultr_v4" template: "peer_vultr_v4"
asn: "64515" peer_asn: "64515"
neighbor_ip: "169.254.169.254" neighbor_ip: "169.254.169.254"
password: !vault | password: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
@ -18,7 +18,7 @@ bgp_peers:
- name: "vultr_v6" - name: "vultr_v6"
template: "peer_vultr_v6" template: "peer_vultr_v6"
asn: "64515" peer_asn: "64515"
neighbor_ip: "2001:19f0:ffff::1" neighbor_ip: "2001:19f0:ffff::1"
password: !vault | password: !vault |
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
@ -30,7 +30,7 @@ bgp_peers:
- name: "home_router" - name: "home_router"
template: "peer_hessnet" template: "peer_hessnet"
asn: "209616" peer_asn: "209616"
neighbor_ip: "172.16.12.19" neighbor_ip: "172.16.12.19"
filters: filters:
export: "{ peer_export_default_only(); }" export: "{ peer_export_default_only(); }"

View file

@ -6,7 +6,7 @@ archvm2.hosts.v6.hessnet.dk
vul1.ams.nl.routers.v6.hessnet.dk vul1.ams.nl.routers.v6.hessnet.dk
[routers_copenhagen] [routers_copenhagen]
# frb1.cph.dk.routers.v6.hessnet.dk frb1.cph.dk.routers.v6.hessnet.dk
[routers:children] [routers:children]
routers_vultr routers_vultr

View file

@ -172,15 +172,14 @@ protocol direct {
protocol kernel { protocol kernel {
ipv4 { ipv4 {
import filter myroutes_import_export; import filter myroutes_import_export;
export none; #filter kernel_export; export filter kernel_export;
}; };
} }
protocol kernel kernel6 { protocol kernel kernel6 {
scan time 5;
ipv6 { ipv6 {
import none; import filter myroutes_import_export;
export none; #filter kernel_export; export filter kernel_export;
}; };
} }