Skip to Content
Learning OpenStack Networking - Third Edition
book

Learning OpenStack Networking - Third Edition

by James Denton
August 2018
Beginner
462 pages
12h 36m
English
Packt Publishing
Content preview from Learning OpenStack Networking - Third Edition

Attaching a gateway interface to a router

The external interface of a Neutron router is referred to as the gateway interface. A router is limited to a single gateway interface. To be eligible for use as an external network that can be used for router gateway interfaces, a provider network must have its router's external attribute set to True or External.

To attach a gateway interface to a router, use the openstack router set command shown here:

openstack router set --external-gateway <network> <router>

The <network>&amp;nbsp;argument represents a network name or ID to be attached to the router as the gateway network. Neutron will assign an IP address from the external network to the router. By default, Neutron routers perform source ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

You might also like

OpenStack Certification, 2/e

OpenStack Certification, 2/e

Sander van Vugt
Mastering OpenStack - Second Edition

Mastering OpenStack - Second Edition

Omar Khedher, Chandan Dutta

Publisher Resources

ISBN: 9781788392495