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

Watching the DHCP lease cycle

In this example, an instance will be created with the following characteristics:

  • Name: TestInstance1
  • Flavor: tiny
  • Image: cirros-0.4.0
  • Network: MyVLANNetwork
  • Compute Node: compute01

The command to create the instance is as follows:

openstack server create \ --image cirros-0.4.0 \ --flavor tiny \--nic net-id=MyVLANNetwork \--availability-zone nova:compute01 \TestInstance1
The tiny flavor may not exist in your environment, but can be created and defined with 1 vCPU, 1 MB RAM, and 1 GB disk.

To observe the instance requesting a DHCP lease, start a packet capture within the DHCP network namespace that corresponds to the instance's network using the following command:

ip netns exec <namespace> tcpdump -i any -ne ...
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