Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: aleks1 on March 26, 2014, 11:34:13 am
-
Hello everybody,
i have a v.m. with Zentyal 3.2 and a v.m. with XP pro (i have created this little virtual network for test on xenserver)... everything was working fine. with zentyal i could access to the dashbord and visit sites. And the xp machine was connected to internet through the zentyal...
But yesterday, after system updates (of zentyal), the network is unreachable..
network configuration of zentyal:
auto lo eth0 eth1
iface lo inet loopback
iface eth0 inet static
address 192.168.10.199
netmask 255.255.255.0
broadcast 192.168.10.255
iface eth1 inet static
address 192.168.20.1
netmask 255.255.255.0
broadcast 192.168.20.255
how can i solve this problem? :(
i don't know what can i do... :(
thanks in advance :)
-
Hello aleks1,
you should check the network configuration of your xenserver and review if this is a lack of connectivity or maybe a problem with DNS. From your initial post I cannot determinate it. Also, I will advise to review your network configuration through the zentyal GUI and even reconfigure it again and save changes. You can also check if you can ping to any external IP address like 8.8.8.8 or try to resolve any external domain like google.com
-
thank you very much for the support zei! :) :) :)
you should check the network configuration of your xenserver and review if this is a lack of connectivity
the xenserver working fine.. :)
I will advise to review your network configuration through the zentyal GUI and even reconfigure it again and save changes
i think this too.. but i can't access to the GUI :( (waiting until zentyal is ready)
You can also check if you can ping to any external IP address like 8.8.8.8 or try to resolve any external domain like google.com
ping www.google.it
unknown host
ping 8.8.8.8
network is unreachable
I'm desperate :(
i have tried /etc/init.d/networking restart:
*(in red) Running /etc/init.d/networking restart is deprecated because it may no enable again some interfaces
* reconfiguring network interfaces...
ssh stop/waiting
ssh start/running process 9194
RTNETLINK answers: file exist
failed to bring up eth1.
[ok]
some help? :(
-
pls follow
https://forum.zentyal.org/index.php/topic,21148.0.html
-
pls follow
https://forum.zentyal.org/index.php/topic,21148.0.html
good work but i can't access to the internet... and so how can i update my zentyal? :)
-
please can anyone help me?? :( :( :(
-
because Zentyal does not start, missing a dns and a gateway for the connection.
they must be entered by hand on the command line. (will be overwritten by the Zentyal Zentyal settings when started).
with the command line command I know myself unfortunately not.
translated by google;)
-
because Zentyal does not start, missing a dns and a gateway for the connection.
oh and which dns and gateway can i add on my configuration? (see at the first post above) :)
-
you could add the DNS of google 8.8.8.8 and for gateway you need the IP of your router or the device that you use to go out to the internet.
-
[you could add the DNS of google 8.8.8.8 and for gateway you need the IP of your router or the device that you use to go out to the internet.
i do it... in the external interface
auto lo eth0 eth1
iface lo inet loopback
iface eth0 inet static
address 192.168.10.199
netmask 255.255.255.0
broadcast 192.168.10.255
gateway 192.168.10.1
dns-nameserver 8.8.8.8
iface eth1 inet static
address 192.168.20.1
netmask 255.255.255.0
broadcast 192.168.20.255
but the network still doesn't work!!!
i don't know how can i do to resolve this problem!!! :(
-
Please type in sudo ifdown eth0 followed by a sudo ifup eth0. If that doesn't work please post the results of ifconfig and the output route.
-
Amigo,
Try putting your dns settings in /etc/resolv.conf
nameserver 8.8.8.8
https://forum.zentyal.org/index.php/topic,21148.0.html
-
Please type in sudo ifdown eth0 followed by a sudo ifup eth0. If that doesn't work please post the results of ifconfig and the output route.
thank you for the support half life! :)
I have tried ifdown/ifup eth0/eth1 without results...:(
but now with this configuration:
auto lo eth0 eth1
iface lo inet loopback
iface eth0 inet static
address 192.168.10.199
netmask 255.255.255.0
broadcast 192.168.10.255
gateway 192.168.10.1
iface eth1 inet static
address 192.168.20.1
netmask 255.255.255.0
broadcast 192.168.20.255
I can ping 8.8.8.8 but i can't ping www.google.com (unknown host) and i can't access to the GUI :(
there are your commands! :)
ifconfig and route in attachments :)
-
Just so we can see what zentyal is doing.
/etc/resolv.conf
/etc/hosts
Should give us the DNS and just check if zentyal is set up as static in hosts.
I think your network gets rewritten every time you reboot or do a /etc/init.d/zentyal network (networking?) restart god wish my bleeding memory was better.
With ubuntu I usually if a dns server is installed then the first dns is the server ip as bind should use its forwarder
Also usually include dns-search = [domain]
then hosts usually has a fqdn with the gateway ip
hostname fqdn
resolv.conf is automatic [gateway ip] the server nic that your clients use as a gateway
nameserver 192.168.1.1
nameserver 127.0.0.1
search foobar.com example.com
-
yessss!!!!
SOLVED!!
the solution is:
step 1
set your gateway ip in the external interface /etc/network/interfaces
step 2
make sure that the command /etc/init.d/networking restart working fine.. ( i have tried 4 times :) )
step 3
set in /etc/resolv.conf the line: nameserver 8.8.8.8
step 4
apt-get update/upgrade in order!
step 5
OMG everything is working fine! :)
so... i love you so much!! eheheehh :) thanks to Zei, weißnix, illunis, half_life, royceb, StuartNaylor
thanks thanks thanks! :)