OpenVZ Forum


Home » Mailing lists » Users » dual ethernet woes
Re: Re: dual ethernet woes [message #15919 is a reply to message #15843] Wed, 15 August 2007 23:47 Go to previous messageGo to previous message
Steve Hodges is currently offline  Steve Hodges
Messages: 17
Registered: July 2007
Junior Member
On 15/08/2007 11:02 AM, Steve Hodges wrote:
> On 14/08/2007 7:01 PM, Steve Hodges wrote:
>> The servers I'm trying to put onto a single hardware node each have 2 
>> ethernet interfaces.
>>
>
> OK, after extensive testing I have narrowed down what I believe to be 
> the cause of the problem.  The VE always seems to chose the first IP 
> address it has been configured with as the source for new outgoing 
> connections (I have no idea if it does this for existing connections, 
> but I would suspect not).
>

After sleeping on it, reading some more, and applying my thinking cap, I 
tried the following:

 ifconfig venet0:0 netmask 255.255.255.0
 ifconfig venet0:1 netmask 255.255.255.0

these default to 255.255.255.255  and in retrospect the behaviour it was 
exhibiting was probably predictable.

And that appears to work with all pings to all hosts now working (I 
haven't checked the routes)

The question is, can I do this automatically, or is it something to put 
in my rc.local for each VE?

Steve
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: /dev/fd/3
Next Topic: Template for Centos 5 ve
Goto Forum:
  


Current Time: Thu Oct 09 15:15:08 GMT 2025

Total time taken to generate the page: 0.09359 seconds