Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Azure Networking Cookbook, Second Edition - Second Edition

You're reading from  Azure Networking Cookbook, Second Edition - Second Edition

Product type Book
Published in Dec 2020
Publisher Packt
ISBN-13 9781800563759
Pages 298 pages
Edition 2nd Edition
Languages
Concepts
Author (1):
Mustafa Toroman Mustafa Toroman
Profile icon Mustafa Toroman

Table of Contents (15) Chapters

Preface 1. Azure Virtual Network 2. Virtual machine networking 3. Network Security Groups 4. Managing IP addresses 5. Local and virtual network gateways 6. DNS and routing 7. Azure Firewall 8. Creating hybrid connections 9. Connecting to resources securely 10. Load balancers 11. Traffic Manager 12. Azure Application Gateway and Azure WAF 13. Azure Front Door and Azure CDN Index

Assigning an NSG to a network interface

Now, we are going to widen our scope and show you how to associate an NSG with a network interface.

Getting ready

Before you start, open your browser and go to the Azure portal at https://portal.azure.com. Locate the previously created NSG.

How to do it...

To assign an NSG to a network interface, follow these steps:

  1. In the NSG pane, locate the Network interfaces option under Settings.
  2. Click on the Associate button at the top of the page and wait for the new pane to open:
    Clicking on the Associate button to assign the NSG to a network interface

    Figure 3.9: Assigning the NSG to a network interface

  3. Select the NIC you want to associate the NSG with from the list of those available:
    Selecting a NIC to associate with the NSG

Figure 3.10: Associating with the network interface

How it works...

When an NSG is associated with an NIC, the NSG rules will apply only to a single NIC (or a VM associated with the NIC). The NIC can be associated with only one NSG directly, but a subnet associated with an NIC can have an association...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}