Under Red Hat these routes would be configured for the network interfaces by editing the&nbsp; /etc/sysconfig/network-scripts/route-eth* interface. Here is an example of one such file:<br><br><pre>GATEWAY0=<a href="http://192.168.1.254">
192.168.1.254</a><br>NETMASK0=<a href="http://255.255.255.0">255.255.255.0</a><br>ADDRESS0=<a href="http://192.168.55.0">192.168.55.0</a><br><br>GATEWAY1=<a href="http://10.164.234.112">10.164.234.112</a><br>NETMASK1= <a href="http://255.255.255.240">
255.255.255.240</a><br>ADDRESS1=<a href="http://10.164.234.132">10.164.234.132</a><br><br>Taken from <a href="http://www.cyberciti.biz/tips/configuring-static-routes-in-debian-or-red-hat-linux-systems.html">http://www.cyberciti.biz/tips/configuring-static-routes-in-debian-or-red-hat-linux-systems.html
</a><br><br>Hope that helps.<br><br>Romeo<br></pre><br><div><span class="gmail_quote">On 8/15/07, <b class="gmail_sendername">Steve Hodges</b> &lt;<a href="mailto:shodges@iinet.net.au">shodges@iinet.net.au</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 15/08/2007 11:02 AM, Steve Hodges wrote:<br>&gt; On 14/08/2007 7:01 PM, Steve Hodges wrote:
<br>&gt;&gt; The servers I&#39;m trying to put onto a single hardware node each have 2<br>&gt;&gt; ethernet interfaces.<br>&gt;&gt;<br>&gt;<br>&gt; OK, after extensive testing I have narrowed down what I believe to be<br>
&gt; the cause of the problem.&nbsp;&nbsp;The VE always seems to chose the first IP<br>&gt; address it has been configured with as the source for new outgoing<br>&gt; connections (I have no idea if it does this for existing connections,
<br>&gt; but I would suspect not).<br>&gt;<br><br>After sleeping on it, reading some more, and applying my thinking cap, I<br>tried the following:<br><br> ifconfig venet0:0 netmask <a href="http://255.255.255.0">255.255.255.0
</a><br> ifconfig venet0:1 netmask <a href="http://255.255.255.0">255.255.255.0</a><br><br>these default to <a href="http://255.255.255.255">255.255.255.255</a>&nbsp;&nbsp;and in retrospect the behaviour it was<br>exhibiting was probably predictable.
<br><br>And that appears to work with all pings to all hosts now working (I<br>haven&#39;t checked the routes)<br><br>The question is, can I do this automatically, or is it something to put<br>in my rc.local for each VE?<br>
<br>Steve<br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openvz.org">Users@openvz.org</a><br><a href="https://openvz.org/mailman/listinfo/users">https://openvz.org/mailman/listinfo/users
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Romeo Theriault<br>System Administrator<br>University of Maine at Fort Kent<br>Ph#: 207-834-7815<br>Em@: <a href="mailto:romeo.theriault@maine.edu">romeo.theriault@maine.edu
</a>