During this session, we will be covering how to configure MicroSegmentation in ACI. We will be focusing in two use cases:
From POD29-WEB-SRV-01 start a continuos to POD29-WEB-SRV-02 Don't stop the ping.
ping 10.0.144.227
root@pod29-web-srv-01 ~]#ping 10.0.144.227 PING 10.0.144.227 ((10.0.144.227) 56(84) bytes of data. 64 bytes from 10.0.144.227: icmp_seq=1 ttl=64 time=0.174 ms 64 bytes from 10.0.144.227: icmp_seq=2 ttl=64 time=0.193 ms 64 bytes from 10.0.144.227: icmp_seq=3 ttl=64 time=0.164 ms
Create the Intra-EPG Policy in the aci_p29_epg_web by:
After you click submit, you will notice the Pings are not longer working.
From 10.0.144.227 icmp_seq=1577 Destination Host Unreachable From 10.0.144.227 icmp_seq=1578 Destination Host Unreachable From 10.0.144.227 icmp_seq=1579 Destination Host Unreachable
Let's revert back the Intra EPG isolation setting to Unenforced. In order to do this we need to do the following steps:
The Pings are back and working
root@pod29-web-srv-01 ~]#ping 10.0.144.227 PING 10.0.144.227 ((10.0.144.227) 56(84) bytes of data. 64 bytes from 10.0.144.227: icmp_seq=1000 ttl=64 time=0.174 ms 64 bytes from 10.0.144.227: icmp_seq=1001 ttl=64 time=0.193 ms 64 bytes from 10.0.144.227: icmp_seq=1002 ttl=64 time=0.164 ms
In this particular example, ACI will be leveraging Virtual Machines Attributes in order to provide the segmentation needed to control the desired Virtual Machines communication. In some instances, customers may add an identifier in their naming convention to differetiate the VM role such as:
We need to allow uSeg-EPG Segmentation in the aci_p29_epg_web by:
Once you have allowed MicroSegmentation in the aci_p29_epg_web. We need to create the uSeg EPGs policy by:
We need to define the rule for our USeg, in this particular case we are going to be using name as the VM attribute. Where POD29-WEB-SRV-01 and POD29-WEB-SRV-02 will not be able to communicate
In order to create our uSeg Attributes, we need to do the following:
After you click submit, you will notice the Pings are not longer working.
From 10.0.144.227 icmp_seq=1577 Destination Host Unreachable From 10.0.144.227 icmp_seq=1578 Destination Host Unreachable From 10.0.144.227 icmp_seq=1579 Destination Host Unreachable
As you can see in this chapter, ACI can provide different type of MicroSegmentation for different use cases. It is always import to understand the use case in order to configure ACI with the right set of properties.