Dataset configuration template for custom BGP advertisements on Cloud Router and BGP Peers (#3730)
* Created sample dataset template configuration for custom BGP advertisements on Cloud Router and BGP Peers
This commit is contained in:
committed by
GitHub
parent
6b6e50cc3a
commit
b9f7350f82
@@ -17,6 +17,12 @@ routers:
|
||||
"10.0.0.0/8": "rfc1918-10"
|
||||
"172.16.0.0/12": "rfc1918-172"
|
||||
"192.168.0.0/16": "rfc1918-192"
|
||||
# # Uncomment to advertise the Cloud DNS query source address range. (see https://docs.cloud.google.com/dns/docs/server-policies-overview#altns-targets:~:text=0/19-,Type%202%20name%20server,-An%20IP%20address)
|
||||
# "35.199.192.0/19": "cloud-dns-resolver"
|
||||
# # Uncomment to advertise the Private Google Access routes. (see https://docs.cloud.google.com/vpc/docs/private-google-access-hybrid)
|
||||
# "199.36.153.8/30": "private-googleapis-com"
|
||||
# # Uncomment to advertise the Private Google Access routes that support VPC Service Controls. (see https://docs.cloud.google.com/vpc/docs/private-google-access-hybrid)
|
||||
# "199.36.153.4/30": "restricted-googleapis-com"
|
||||
nat_config:
|
||||
nat-ew8:
|
||||
region: europe-west1
|
||||
|
||||
@@ -19,6 +19,16 @@ routers:
|
||||
vpn-router:
|
||||
region: $locations:primary
|
||||
asn: 64514
|
||||
# Uncomment to enable custom route advertisement. (see https://docs.cloud.google.com/network-connectivity/docs/router/how-to/advertising-custom-ip)
|
||||
# custom_advertise:
|
||||
# all_subnets: true
|
||||
# ip_ranges:
|
||||
# # Uncomment to advertise the Cloud DNS query source address range. (see https://docs.cloud.google.com/dns/docs/server-policies-overview#altns-targets:~:text=0/19-,Type%202%20name%20server,-An%20IP%20address)
|
||||
# "35.199.192.0/19": "cloud-dns-resolver"
|
||||
# # Uncomment to advertise the Private Google Access routes. (see https://docs.cloud.google.com/vpc/docs/private-google-access-hybrid)
|
||||
# "199.36.153.8/30": "private-googleapis-com"
|
||||
# # Uncomment to advertise the Private Google Access routes that support VPC Service Controls. (see https://docs.cloud.google.com/vpc/docs/private-google-access-hybrid)
|
||||
# "199.36.153.4/30": "restricted-googleapis-com"
|
||||
routes:
|
||||
default:
|
||||
dest_range: 0.0.0.0/0
|
||||
|
||||
@@ -30,6 +30,19 @@ tunnels:
|
||||
bgp_peer:
|
||||
address: 169.254.128.1
|
||||
asn: 64513
|
||||
# Uncomment to enable custom route advertisements for this BGP peer. (see https://docs.cloud.google.com/network-connectivity/docs/router/concepts/advertised-routes#am-custom)
|
||||
# custom_advertise:
|
||||
# all_subnets: true
|
||||
# ip_ranges:
|
||||
# "10.0.0.0/8": "rfc1918-10"
|
||||
# "172.16.0.0/12": "rfc1918-172"
|
||||
# "192.168.0.0/16": "rfc1918-192"
|
||||
# # Uncomment to advertise the Cloud DNS query source address range. (see https://docs.cloud.google.com/dns/docs/server-policies-overview#altns-targets:~:text=0/19-,Type%202%20name%20server,-An%20IP%20address)
|
||||
# "35.199.192.0/19": "cloud-dns-resolver"
|
||||
# # Uncomment to advertise the Private Google Access routes. (see https://docs.cloud.google.com/vpc/docs/private-google-access-hybrid)
|
||||
# "199.36.153.8/30": "private-googleapis-com"
|
||||
# # Uncomment to advertise the Private Google Access routes that support VPC Service Controls. (see https://docs.cloud.google.com/vpc/docs/private-google-access-hybrid)
|
||||
# "199.36.153.4/30": "restricted-googleapis-com"
|
||||
bgp_session_range: "169.254.128.2/30"
|
||||
peer_external_gateway_interface: 0
|
||||
shared_secret: "mySecret"
|
||||
@@ -38,6 +51,19 @@ tunnels:
|
||||
bgp_peer:
|
||||
address: 169.254.128.5
|
||||
asn: 64513
|
||||
# Uncomment to enable custom route advertisements for this BGP peer. (see https://docs.cloud.google.com/network-connectivity/docs/router/concepts/advertised-routes#am-custom)
|
||||
# custom_advertise:
|
||||
# all_subnets: true
|
||||
# ip_ranges:
|
||||
# "10.0.0.0/8": "rfc1918-10"
|
||||
# "172.16.0.0/12": "rfc1918-172"
|
||||
# "192.168.0.0/16": "rfc1918-192"
|
||||
# # Uncomment to advertise the Cloud DNS query source address range. (see https://docs.cloud.google.com/dns/docs/server-policies-overview#altns-targets:~:text=0/19-,Type%202%20name%20server,-An%20IP%20address)
|
||||
# "35.199.192.0/19": "cloud-dns-resolver"
|
||||
# # Uncomment to advertise the Private Google Access routes. (see https://docs.cloud.google.com/vpc/docs/private-google-access-hybrid)
|
||||
# "199.36.153.8/30": "private-googleapis-com"
|
||||
# # Uncomment to advertise the Private Google Access routes that support VPC Service Controls. (see https://docs.cloud.google.com/vpc/docs/private-google-access-hybrid)
|
||||
# "199.36.153.4/30": "restricted-googleapis-com"
|
||||
bgp_session_range: "169.254.128.6/30"
|
||||
peer_external_gateway_interface: 0
|
||||
shared_secret: "mySecret"
|
||||
|
||||
Reference in New Issue
Block a user