<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello,</p>
<p><br>
</p>
<p>Network object is an isolation layer, it's defined by the cloud administrator: isolation type (VLAN, VXLAN...), physical NIC.. The subnet is a free value to cloud users, this mechanism allows multiples users to use same L3 networks (overlapping). So the
 network is used by admin to isolate the client and subnet is used by client to "isolate" his instances (webfont  / db ...). Isolation works only on layer3 because all subnets will use the same layer2 (defined by admin). It's very easy to verify: boot one instance
 on each subnet then capture the traffic: you will see ARP trames.</p>
<p><br>
</p>
<p><br>
</p>
<p>I dont know why Neutron drains all IP from last network but anyway the best practice is to create port then allocate to instance.</p>
<p><br>
</p>
<p>Does it mean that VM instances from both these subnets would be configured under the same VLAN?  > yes<br>
</p>
<p><br>
</p>
<p>Best regards,</p>
<p>Romain<br>
</p>
<p><br>
</p>
<p><br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Anil Jangam <anilj.mailing@gmail.com><br>
<b>Sent:</b> Saturday, August 1, 2020 11:36 PM<br>
<b>To:</b> openstack-discuss<br>
<b>Subject:</b> Two subnets under same network context.</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi, 
<div><br>
</div>
<div>I have observed that one can create two subnets under the same network scope. See below an example of the use case. </div>
<div><br>
</div>
<div>
<div><img alt="Screen Shot 2020-08-01 at 2.22.15 PM.png" width="542" height="153" src="cid:ii_kdc5y9kz0"><br>
</div>
</div>
<div>Upon checking the data structures, I saw that the segment type (vlan) and segment id (55) is associated with the "network" object and not with the "subnet" (I was under impression that the segment type (vlan) and segment id (55) would be allocated to the
 "subnet"). </div>
<div><br>
</div>
<div>When I create the VM instances, they always pick the IP address from the SUBNET1-2 IP range. If the segment (vlan 55) is associated with "network" then what is the reason two "subnets" are allowed under it? </div>
<div><br>
</div>
<div>Does it mean that VM instances from both these subnets would be configured under the same VLAN? </div>
<div><br>
</div>
<div>
<div>/anil.</div>
</div>
<div><br>
</div>
</div>
</div>
</div>
</body>
</html>