Author Topic: [solved] losing lan connection to zentyal temporary  (Read 3288 times)

Lueghi

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +1/-0
    • View Profile
[solved] losing lan connection to zentyal temporary
« on: August 13, 2011, 09:48:59 pm »
When my XP-Clients are logged in to my Zentyal-server (working as PDC, DHCP, DNS, MAIL, Gateway etc.) and there is temporary no active traffic from the client to the server, very often the lan connection is lost. There is no way to ping the server. All the other IP's in my network I can ping. It happens too when the notebooks are reactivated after a standby. The internal NIC in the server has 3 additional IP's. To get the connection working again I have to ping a couple of times to the different server-IP's and as if by a miracle the ping to the server is working again and 'normal' work for the clients is possible.

First I thought I made some misconfiguration in the DNS/DHCP area. So I set up a new server without editing manually the config files (what I did for the first time in the DNS/DHCP area). I also read the parts of the documentation to do the configuration right. But the problem is still existing.

I configured the DNS as dynamic. Could the problem result in this? How can I deactivate the dynamic? When I edit the DNS section in the GUI there is no possibilty to deactivte it. I'm working on a linux server as a small home server for a couple of years. In the past I used debian and I did all the configuration manually. I was hard work (for me) but it ran finally. But I never had problems like this.

[edit]
I don't think it's a hardware problem, because the new server has complete different hardware.
[/edit]

So what can I do? Which information I have to post to get some help?
« Last Edit: September 11, 2011, 08:25:28 pm by Lueghi »
Lueghi
--------------
Zentyal 7.0 with samba, DNS, DHCP, Webserver, SoGo and VPN-server in my little home-network, based on proxmox

christian

  • Guest
Re: losing lan connection to zentyal temporary
« Reply #1 on: August 16, 2011, 11:19:34 am »
In order to isolate domains for investigation: what if you ping IP address instead of FQDN? (this to ensure DNS is not used and out of the investigation scope).
And what if you "traceroute"?

BTW, which version are you using? I'm asking because Linux kernel solved (I hope) some similar issue with Realtek network some time ago...
« Last Edit: August 16, 2011, 11:21:55 am by christian »

Lueghi

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +1/-0
    • View Profile
Re: losing lan connection to zentyal temporary
« Reply #2 on: August 26, 2011, 01:00:41 pm »
In order to isolate domains for investigation: what if you ping IP address instead of FQDN? (this to ensure DNS is not used and out of the investigation scope).
timeout :(
And what if you "traceroute"?
also timeout :(

BTW, which version are you using? I'm asking because Linux kernel solved (I hope) some similar issue with Realtek network some time ago...
That sound interesting. I will check if I use Realtek NIC. My Version is [edit]2.02.[/edit]
« Last Edit: August 26, 2011, 10:31:27 pm by Lueghi »
Lueghi
--------------
Zentyal 7.0 with samba, DNS, DHCP, Webserver, SoGo and VPN-server in my little home-network, based on proxmox

Lueghi

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +1/-0
    • View Profile
Re: losing lan connection to zentyal temporary
« Reply #3 on: September 02, 2011, 10:11:39 pm »
@christian: I'm using a VIA Rhine NIC ...
Lueghi
--------------
Zentyal 7.0 with samba, DNS, DHCP, Webserver, SoGo and VPN-server in my little home-network, based on proxmox

Lueghi

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +1/-0
    • View Profile
Re: losing lan connection to zentyal temporary
« Reply #4 on: September 04, 2011, 09:39:17 pm »
This weekend I did some testing and the result is surprising for me:

I worked on a WinXP client and I had an open DOS Window. Additionally I had an ssh client session to my server. While the ping in the dos box gets the timeout error, the connection in the ssh session still worked .... ? Both session were using the name of the server and not the IP address to get the connection.

So is there someone with an idea?
Lueghi
--------------
Zentyal 7.0 with samba, DNS, DHCP, Webserver, SoGo and VPN-server in my little home-network, based on proxmox

DWAM

  • Zen Warrior
  • ***
  • Posts: 113
  • Karma: +3/-0
    • View Profile
Re: losing lan connection to zentyal temporary
« Reply #5 on: September 04, 2011, 10:37:57 pm »
It could be a switch problem... or an ethernet cable problem...

While the ping in the dos box gets the timeout error, the connection in the ssh session still worked .... ?

Are you sure ? Your SSH session might be closed and reconnected before it declares itself as closed.
Can you ping your XP host from your server at the same time ?

Are you sure you do not have 2 DHCP servers running concurrently on your LAN ?

Did you try the command "ipconfig /all" at your XP host when your server seems unreachable ?

christian

  • Guest
Re: losing lan connection to zentyal temporary
« Reply #6 on: September 05, 2011, 08:33:08 am »
@christian: I'm using a VIA Rhine NIC ...

Any IRQ erlated message in /var/messages or syslog?

christian

  • Guest
Re: losing lan connection to zentyal temporary
« Reply #7 on: September 05, 2011, 08:43:32 am »
I worked on a WinXP client and I had an open DOS Window. Additionally I had an ssh client session to my server. While the ping in the dos box gets the timeout error, the connection in the ssh session still worked .... ? Both session were using the name of the server and not the IP address to get the connection.

You demonstrated with previous test that problem occurs with both FQDN and IP, thus DNS is not the faulty one.
Problem you describe really looks like the one I was referring  to with Realtek. Performing some additional search, I discovered that similar problem occurred in the past with VIA Rhine. (Google is your friend  ;) ) but I believe it's solved with current kernels.

Did you try not to set up multiple IPs in this interface (server side)?

Definitely I would investigate deeper in logs server side  :-\

I know the Realtek issue because I had to face it and this pushed me to jump asap to Ubuntu 9.10
1 - What is the output of "dmesg | grep via-rhine" ?
2 - Is there a way to disable ACPI in your BIOS?

Lueghi

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +1/-0
    • View Profile
Re: losing lan connection to zentyal temporary
« Reply #8 on: September 09, 2011, 12:40:51 pm »
@christian:
I will try to change the NIC and I will post the results.
Lueghi
--------------
Zentyal 7.0 with samba, DNS, DHCP, Webserver, SoGo and VPN-server in my little home-network, based on proxmox

christian

  • Guest
Re: losing lan connection to zentyal temporary
« Reply #9 on: September 09, 2011, 12:47:40 pm »
OK, thank you. I think this is the ultimate test  ;)

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: losing lan connection to zentyal temporary
« Reply #10 on: September 11, 2011, 07:25:42 pm »
As another possibility,  check in bios to make sure that any "green" settings are not enabled on the server or client.  Also business class Cisco switches have similar green settings that might be effecting you.  This sounds like some device in the physical path is going to sleep and powering down.

Lueghi

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +1/-0
    • View Profile
Re: losing lan connection to zentyal temporary
« Reply #11 on: September 11, 2011, 08:25:01 pm »
Here is the preliminary result:

I installed another NIC and I disabled the Onboard-NIC. Since two hours the problem is gone  ;D .... and I hope it will stay away  ;).

Because I did my tries with different hardware I assumed that I did some misconfiguration and that there is no hardware problem. But I used very similar mainboards both with a f***ing VIA Rhine NIC onboard :'( :'(.

So thank you to all the guys who led me to the hardware way ...... and yes: Zentyal is a great system with a fantastic forum .
Lueghi
--------------
Zentyal 7.0 with samba, DNS, DHCP, Webserver, SoGo and VPN-server in my little home-network, based on proxmox

christian

  • Guest
Re: [solved] losing lan connection to zentyal temporary
« Reply #12 on: September 11, 2011, 08:59:07 pm »
Good to know that your problem is somewhat solve.
Problem you initially described was very similar to the one I got with Realtek, reason why I made this comment in my first reply.
Then, issue has been solved in kernel for Realtek. Perhaps it's worth to check status for you VIA Rhine card...

Lueghi

  • Zen Monk
  • **
  • Posts: 94
  • Karma: +1/-0
    • View Profile
Re: [solved] losing lan connection to zentyal temporary
« Reply #13 on: September 17, 2011, 01:45:33 pm »
My problem is still gone ....  ;D ;D ;D

Good to know that your problem is somewhat solve.
Problem you initially described was very similar to the one I got with Realtek, reason why I made this comment in my first reply.
Then, issue has been solved in kernel for Realtek. Perhaps it's worth to check status for you VIA Rhine card...

I assume that there is a hardware problem with both onboard NIC's and that it wasn't a problem of ubuntu ....
Lueghi
--------------
Zentyal 7.0 with samba, DNS, DHCP, Webserver, SoGo and VPN-server in my little home-network, based on proxmox