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

Creating a sub-port

Sub-ports should be associated with networks that will be tagged using 802.1q VLAN encapsulation inside the instance. Sub-ports are then associated with a trunk and correspond to tagged sub-interfaces within the guest operating system. With the openstack client, create a sub-port with the following attributes:

  • Name: child-p0c1
  • Network: RED_NET

The following command can be used:

openstack port create --network RED_NET child-p0c1 

The output will resemble the following:

Like any other port, when a sub-port is created, Neutron dynamically assigns a MAC address. However, when creating VLAN sub-interfaces inside an instance, ...
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