mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed Mar 29 10:40:15 UTC 2023
This commit is contained in:
parent
4ccfc7a5e3
commit
5fabf24be7
269 changed files with 6797 additions and 464 deletions
|
|
@ -38,15 +38,20 @@ REQUIRED FLAGS
|
|||
For example, to create an external VPN gateway with one interface:
|
||||
|
||||
$ gcloud alpha compute external-vpn-gateways create \
|
||||
MY-EXTERNAL-GATEWAY --interfaces 0=8.9.9.9
|
||||
MY-EXTERNAL-GATEWAY --interfaces 0=192.0.2.0
|
||||
|
||||
To create an external VPN gateway with two interfaces: $ gcloud alpha
|
||||
compute external-vpn-gateways create \ MY-EXTERNAL-GATEWAY --interfaces
|
||||
0=8.9.9.9,1=8.9.9.10
|
||||
0=192.0.2.0,1=192.0.2.1
|
||||
|
||||
To create an external VPN gateway with four interfaces: $ gcloud alpha
|
||||
compute external-vpn-gateways create \ MY-EXTERNAL-GATEWAY \
|
||||
--interfaces 0=8.9.9.9,1=8.9.9.10,2=8.9.9.11,3=8.9.9.12
|
||||
--interfaces 0=192.0.2.0,1=192.0.2.1,2=192.0.2.3,3=192.0.2.4
|
||||
|
||||
To create an external VPN gateway with IPv6 addresses on four
|
||||
interfaces: $ gcloud alpha compute external-vpn-gateways create \
|
||||
MY-EXTERNAL-GATEWAY \ --interfaces \
|
||||
0=2001:db8::1,1=2001:db8::2,2=2001:db8::3,3=2001:db8::4
|
||||
|
||||
Note that the redundancy type of the gateway will be automatically
|
||||
inferred based on the number of interfaces provided:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue