OpenVZ Forum


Home » General » Support » Setting network interface order
Setting network interface order [message #39869] Fri, 11 June 2010 13:50 Go to next message
pege is currently offline  pege
Messages: 8
Registered: May 2007
Junior Member
Hi,

I'm running into a problem discussed here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390404

On boot of VE with a NFS share the script
/etc/network/if-up.d/mountnfs
freezes apparently because it tries to connect using the venet0 device which has the ip 127.0.0.1 and obviously cannot connect to the NFS share. What it should do is bring up venet0:0 and connect trought that.

How can I change the order in which interfaces are brought up? /etc/network/interfaces says that you shouldn't edit the file
Re: Setting network interface order [message #39872 is a reply to message #39869] Fri, 11 June 2010 15:37 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

sorry, may be I miss the point but don't you think that it's not an OpenVZ problem? Why this logic still exists? Why don't we wait until network configuration is ready to mount? Could you please elaborate on this a little bit?
Re: Setting network interface order [message #39879 is a reply to message #39872] Mon, 14 June 2010 06:29 Go to previous message
pege is currently offline  pege
Messages: 8
Registered: May 2007
Junior Member
Hi,

I'm sorry, I'm no expert in this area but I'll try to explain my problem more precisely. In the link I gave, this http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390404#42 message is the one I'm referring to.

Meaning that the VE seems to try to mount NFS share using the venet0-device which has ip 127.0.0.1 and not venet0:0 which can access the NFS share. The fix suggested was to change the order of the devices in what I think is /etc/network/interfaces but the file states that you shouldn't change it manually since it's made by OpenVZ?

If there's another solution or someplace else I should ask that's ok also.
Previous Topic: Network problem
Next Topic: unable to lock password file
Goto Forum:
  


Current Time: Fri Jul 18 08:21:50 GMT 2025

Total time taken to generate the page: 0.03587 seconds