Use iBGP for home router after switching to OPNSense
This commit is contained in:
parent
0388d33c99
commit
c446d43c6a
|
@ -20,12 +20,9 @@ bgp_peers:
|
|||
neighbor_ip: "2a01:4262:1ab:20::75"
|
||||
|
||||
- name: "hessnet_home"
|
||||
template: "peer_hessnet"
|
||||
peer_asn: "64512"
|
||||
template: "ibgp_hessnet"
|
||||
peer_asn: "209616"
|
||||
neighbor_ip: "2001:678:15c:c00::"
|
||||
filters:
|
||||
import: "{ accept; }"
|
||||
export: "{ if is_own_route() then reject; accept; }"
|
||||
|
||||
- name: "ibgp_fra1"
|
||||
template: "ibgp_hessnet"
|
||||
|
@ -35,10 +32,6 @@ bgp_peers:
|
|||
announce_from_here: true
|
||||
configure_static_multihop_routes: false
|
||||
|
||||
extra_static_routes:
|
||||
- route: "2001:678:15c:c00::/128"
|
||||
destination: "v6tunnel-home"
|
||||
|
||||
wireguard:
|
||||
privatekey: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
|
|
|
@ -31,10 +31,7 @@ bgp_peers:
|
|||
- name: "home_router"
|
||||
template: "peer_hessnet"
|
||||
peer_asn: "209616"
|
||||
neighbor_ip: "172.16.12.19"
|
||||
filters:
|
||||
export: "{ peer_export_default_only(); }"
|
||||
import: "myroutes_import_export"
|
||||
neighbor_ip: "2001:678:15c:c00::"
|
||||
|
||||
announce_from_here: false
|
||||
configure_static_multihop_routes: true
|
||||
|
|
Loading…
Reference in a new issue