PDA

View Full Version : Virtual interface are down


atrik_Pr
7th December 2005, 10:57
hello all
I have a question that is troubling me for a while now
i have interface eth0 on /etc/sysconfig/network-scripts/ifcfg-eth0
now..i have added 2 extra virtual interfaces here :

/etc/sysconfig/network-scripts/ifcfg-eth1:0
/etc/sysconfig/network-scripts/ifcfg-eth1:1

They look like this:
DEVICE=eth1:0
BOOTPROTO=static
BROADCAST=XX.XX.XX.XX
IPADDR=XX.XX.XX.XX
NETMASK=XX.XX.XX.XX
NETWORK=XX.XX.XX.XX
ONBOOT=yes
TYPE=Ethernet


all works great until i make any change on ispconfig web interface and then both of the virtual interfaces are down

any suggestions ?

till
7th December 2005, 11:24
You have either to add the IP addresses in ISPConfig under Management > Server > settings and let ISPConfig create the virtual interfaces for you

or:

Edit the file /home/admispconfig/ispconfig/lib/config.inc.php and set the line:

$go_info["server"]["network_config"] = 1;

to:

$go_info["server"]["network_config"] = 0;

and configure your network interface manually.