Author Topic: bridge network interfaces  (Read 4237 times)

archived

  • Hello, I'm new here
  • Posts: 0
    • View Profile
bridge network interfaces
« on: November 29, 2005, 08:01:08 am »
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

  • Hello, I'm new here
  • Posts: 0
    • View Profile
bridge network interfaces
« Reply #1 on: November 29, 2005, 06:32:40 pm »
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:

Code: [Select]

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