Hallo,
I recently installed a new server with ispconfig 3, everything worked fine. I run multiple websites with different clients and multiple mail and ftp users. But I just changed my server ip address and gateway configuration, and can’t connect to server with ftp or send/receive mail.
I think I don’t have internet connection on my linux system, what is strange because I can connect to the different websites on server and get a connection with putty. if I am logged on the server, I can’t get a connection with different aps like apt-get update,links, or wget.
This are the configurations I changed:
From:
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
# The primary network interface
#allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.120.120
netmask 255.255.255.0
network 129.168. 120.0
broadcast 192.168. 120.255
gateway 192.168. 120.1
To:
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
# The primary network interface
#allow-hotplug eth0
auto eth0
iface eth0 inet static
address 192.168.2.120
netmask 255.255.255.0
network 129.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.254
After that I did:
Code:
/etc/init.d/networking restart
And changed the host
From:
Code:
127.0.0.1 localhost.localdomain localhost
192.168.120.120 LinuxServer.j2e.nl LinuxServer
To:
Code:
127.0.0.1 localhost.localdomain localhost
192.168.2.120 LinuxServer.j2e.nl LinuxServer
And did:
Code:
echo LinuxServer.j2e.nl > /etc/hostname
/etc/init.d/hostname.sh start
I hope you can help me, thanks in advance
Recent comments
20 hours 10 min ago
1 day 1 hour ago
1 day 5 hours ago
1 day 7 hours ago
1 day 21 hours ago
1 day 21 hours ago
2 days 2 hours ago
2 days 9 hours ago
2 days 10 hours ago
2 days 11 hours ago