Questo contenuto non è disponibile nella lingua selezionata.

8.204. neutron router-gateway-set


usage: neutron router-gateway-set [-h] [--request-format {json}]
                                  [--disable-snat]
                                  [--fixed-ip subnet_id=SUBNET,ip_address=IP_ADDR]
                                  ROUTER EXTERNAL-NETWORK
Copy to Clipboard Toggle word wrap
Set the external network gateway for a router.

Positional arguments

ROUTER


        ID or name of the router.

EXTERNAL-NETWORK


        ID or name of the external network for the gateway.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

--disable-snat


        Disable source NAT on the router gateway.

--fixed-ip


        subnet_id=SUBNET,ip_address=IP_ADDR
      Desired IP and/or subnet on external network:
      subnet_id=<name_or_id>,ip_address=<ip>. You can
      specify both of subnet_id and ip_address or specify
      one of them as well. You can repeat this option.

Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat