<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>This would break IPv6.  The gateway address, according to RFC 4861[1] Section 4.2 regarding Router Advertisements: "Source Address MUST be the link-local address assigned to the interface from which this message is sent".  This means that if you configure
 a subnet with a Globally Unique Address scope, the gateway by definition cannot be in the configured subnet.  Please don't force this option, as it will break work going on in the Neutron IPv6 sub-team.</div>
<div>-Anthony</div>
<div><br>
</div>
<div>[1] <a href="http://tools.ietf.org/html/rfc4861">http://tools.ietf.org/html/rfc4861</a></div>
<span id="OLK_SRC_BODY_SECTION">
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>Neutron permits to set a gateway IP outside of the subnet cidr by default. And, thanks to the garyk's patch [1], it's possible to change this default behavior with config flag 'force_gateway_on_subnet'.</div>
<div><br>
</div>
<div>This flag was added to keep the backward compatibility for people who need to set the gateway outside of the subnet.</div>
<div><br>
</div>
<div>I think this behavior does not reflect the classic usage of subnets. So I propose to update the default value of the flag 'force_gateway_on_subnet' to True.</div>
<div><br>
</div>
<div>Any thought?</div>
<div><br>
</div>
<div>[1] <a href="https://review.openstack.org/#/c/19048/">https://review.openstack.org/#/c/19048/</a></div>
<div><br>
</div>
<div>Regards,</div>
<div>Édouard.</div>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>