Book Image

Cisco ACI Cookbook

By : Stuart Fordham
Book Image

Cisco ACI Cookbook

By: Stuart Fordham

Overview of this book

Cisco Application Centric Infrastructure (ACI) is a tough architecture that automates IT tasks and accelerates data-center application deployments. This book focuses on practical recipes to help you quickly build, manage, and customize hybrid environment for your organization using Cisco ACI. You will begin by understanding the Cisco ACI architecture and its major components. You will then configure Cisco ACI policies and tenants. Next you will connect to hypervisors and other third-party devices. Moving on, you will configure routing to external networks and within ACI tenants and also learn to secure ACI through RBAC. Furthermore, you will understand how to set up quality of service and network programming with REST, XML, Python and so on. Finally you will learn to monitor and troubleshoot ACI in the event of any issues that arise. By the end of the book, you will gain have mastered automating your IT tasks and accelerating the deployment of your applications.
Table of Contents (17 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Preface

Creating a DHCP relay


By default, ACI-wide flooding is disabled. Because flooding is disabled, connecting to a DHCP server is only possible if it is in the same EPG as the client (as flooding within a bridge domain is enabled).

The options, therefore, are to have one DHCP server per-EPG, which would be wasteful on "compute" resources and on administrative time, or to use a DHCP relay and have one, central, server.

In this recipe, we will be setting up a DHCP relay.

How to do it…

We will be using the Common tenant for this (first), as it is best practice to place resources within this tenant if they are to be shared across multiple tenants. Using the Common tenant is not the only way, though; we can also use the Fabric Access policies to achieve the same goal for the Infrastructure tenant.

Note

Why would you use one tenant over the other?Using the Common tenant means that the DHCP relays can be used by any tenant. If we use the Infrastructure tenant, the DHCP relay policies are selectively exposed...