View Single Post
  #1  
Old 27th September 2010, 22:22
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Exclamation some nasty behaviour of ISPConfig 3.0.2.2.

Hi Till,
Today i dicovered some nasty behaviour of ISPConfig 3.0.2.2.
I try to tell you what i found out:

In ISPConfig3 on the master server, i added the new (additional) IP-addess 12.34.56.222 for an existing slave server.
Before i did that the slave server had the following content within /etc/network/interfaces:


Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 12.34.56.111
        netmask 255.255.255.0
        network 12.34.56.0
        broadcast 12.34.56.255
        gateway 12.34.56.129
After adding the additional IP-address on the master server, the content of /etc/network/interfaces on the slave changed into:

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 12.34.56.222
        netmask 255.255.255.0
        network 12.34.56.0
        broadcast 12.34.56.255
        gateway 12.34.56.129

auto eth0:0
iface eth0:0 inet static
        address 12.34.56.111
        netmask 255.255.255.0
        network 12.34.56.0
        broadcast 12.34.56.255
        gateway 12.34.56.129
This is a problem, because of this automatic modification the slave server can not connect to the master anymore, because only root@12.34.56.111 is valid to connect to the master server, NOT root@12.34.56.222
So ISPConfig3 should not move 12.34.56.111 to eth0:0. but the new IP 12.34.56.222 instead!

So the right file content of /etc/networking/interfaces should be:

Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
        address 12.34.56.111
        netmask 255.255.255.0
        network 12.34.56.0
        broadcast 12.34.56.255
        gateway 12.34.56.129

auto eth0:0
iface eth0:0 inet static
        address 12.34.56.222
        netmask 255.255.255.0
        network 12.34.56.0
        broadcast 12.34.56.255
        gateway 12.34.56.129
It would be nice if this behaviour can be changed in the next release of ISPConfig3.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005

Last edited by Hans; 27th September 2010 at 23:49.
Reply With Quote
Sponsored Links