<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

s/ip/IP/,<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
+ */<br>
+const REMOTE_DOMAIN_IP_ADDR_MAX = 16;<br>
</blockquote>
<br></div>
hm, are these 2 limits too small? I don't believe one host could only have<br>
up to 32 interfaces.  Any evidence for you to descrease them in new series?<span class=""><font color="#888888"><br>
<br>
Osier<br>
</font></span></blockquote></div><div class="gmail_extra"><br></div>Since there is no theoretical limit on the number of interfaces that a physical</div><div class="gmail_extra">or virtual machine can have, I would suggest making </div>
<div class="gmail_extra">REMOTE_DOMAIN_INTERFACE_MAX = 2048</div><div class="gmail_extra">and</div><div class="gmail_extra">REMOTE_DOMAIN_IP_ADDR_MAX = 2048</div><div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">Earlier there used to be limitation defined in /usr/include/li</span><span style="font-family:arial,sans-serif;font-size:13px">nux/net_alias.h</span><span style="font-family:arial,sans-serif;font-size:13px">: </span></div>
<div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px">" #define NET_ALIAS_MAX_S</span><span style="font-family:arial,sans-serif;font-size:13px">LOT  256" but then the kernel developers thought</span></div>
<div class="gmail_extra"><span style="font-family:arial,sans-serif;font-size:13px"> that "limits suck" and removed them after kernel 2.0.</span><br></div><div class="gmail_extra">I have tested creating multiple ipv4 aliases on the same interface and was able</div>
<div class="gmail_extra">to achieve the count of 1010 without any warnings/errors.</div><div class="gmail_extra"><div><br></div>-- <br><div dir="ltr">Nehal J Wani<br><br></div>
</div></div>