News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

bridge network interfaces

Started by inschenjoer, November 29, 2005, 08:01:08 AM

Previous topic - Next topic

archived

Hello,

I would like to bridge my two network interfaces. Is this possible with pluto? I tried to manually configure /etc/network/interfaces, but plut overwrites my settings.

inschenjoer

archived

Hi,

actually Pluto overwrites network settings with those stored in mysql tables on every system boot.

I can suggest a very simple (and not really elegant) workaround that I used to modify network settings.

I created a modified interfaces file, naming it interfaces.mod. In this file I put my own network settings.

Then I edited the script /usr/pluto/bin/Network_Setup.sh , located where it gets network config from mysql, and just before the line where network services are reactivated I added a simple line:


cp /etc/network/interfaces.mod /etc/network/interfaces


In this way I overwrite the freshly extracted network settings with my own ones.

Althoug not really elegant, this workaroud works fine.
The only drawback is that when a Pluto update occours you may have to re-add that simple line to your Network_Setup.sh, as the update process may replace existing scripts with new ones.

HTH

Marco