Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] Two servers, one network problem...

Featured Replies

Dear friends...

 

First of all, thank you a lot for your help. I'm fighting against a network problem in two different servers some time ago, and after a lot of work trying to solve it, I'm not able to solve and I need your help.

 

And please, sorry for my poor english...

 

I have two servers, the first, HDSERVER, running from 2011, has been updated, I can't remember what was the first unRAID version I used, until today, that is running version 6.3.3. I have never had any problem until one and a half months ago, or so... This server is a personal creation.

The second server is HDSERVER2, running from last months of 2016, updated a couple of times, until today, that is running version 6.3.3. Also without any problem until one and a half months ago. This server is a HP N54L.

 

The problem, is the same in both servers:

 

1. After booting, I have perfect LAN conectivity, but I cannot update plugins nor update the media libraries in docker plex. There is no internet connection in both servers.

2. I need to deactivate docker, and in network settings I need to change network to bridged, and next, change to not bridged again.

3. I activate docker, and network begins to have internet connection.

 

This problem has appeared about one month and a half ago. I've tried with different network cards in both servers, and the problem was not solved. Same behaviour.

 

So I have prepared a test system, installing a fresh 6.3.3 version, with trial key, and one hard disk. I have installed docker plex, some plugins I use in both servers, and this system has no problem. I always have LAN and internet connection.

 

I don't know what more can I try. Nothing I have tried has solved the problem.

 

I've attached the diagnostics with servers just booted, and after stopping docker, changing network configuration and after starting docker again, of both servers, HDSERVER and HDSERVER2. Also system logs.

 

I've attached too the diagnostic of test system TOWER just after booting, also system log.

 

If you need more information, please let me know.

 

Very very thanks in advance.

 

Regards.

hdserver2-diagnostics-20170509-1339-Just boot-LAN-but-no-internet connection.zip

hdserver2-syslog-20170509-1431.zip

hdserver-syslog-20170509-1430.zip

tower-syslog-20170509-1430.zip

tower-diagnostics-20170509-1426-Just boot-LAN and internet connection.zip

hdserver-diagnostics-20170509-1424-Docker Off-Network bridged-Network not bridged-Docker On-LAN and internet connection.zip

hdserver-diagnostics-20170509-1421-Just boot-LAN-but-no-internet connection.zip

hdserver2-diagnostics-20170509-1343-Docker Off-Network bridged-Network not bridged-Docker On-LAN and internet connection.zip

Edited by alikuenkano

Without looking at the diagnostics, the obvious question is are they both set to have the same IP address (in either unRaid's settings or in your router)?

 

If only one is on at a time does it have full connectivity?

 

Try setting static DNS addresses of 8.8.8.8 and 8.8.4.4 in network settings.

  • Author
6 minutes ago, Squid said:

Without looking at the diagnostics, the obvious question is are they both set to have the same IP address (in either unRaid's settings or in your router)?

 

If only one is on at a time does it have full connectivity?

 

Try setting static DNS addresses of 8.8.8.8 and 8.8.4.4 in network settings.

 

Hi, Squid !!!

 

Thank you for your answer. 

 

Every server has his own static IP and I use google's dns. 

 

And the problem occurs with one server on, or with the two on. 

 

Thanks again !!!

Can you tell us what each servers network settings are? How many routers do you have on your network?

  • Author
1 hour ago, ashman70 said:

Can you tell us what each servers network settings are? How many routers do you have on your network?

 

Hi, ashman70 !!!

 

I attach network settings of the two servers and the test server.

At home I have a wimax internet connection, with a Ubiquiti LiteBeam M5, that is connected to an TPLINK 8 port gigabit switch, for some equipment I have in my home cinema room. From this switch, goes one network cable that goes to a DLINK 8 port gigabit switch that connects to my pcs and my servers.

 

Everything has always worked well, until one month and a half ago, approx. I have not changed nothing in the servers nor in the network installation. It's very strange for me. I can not find a logical explanation.

 

Thanks for your help.

HDSERVER - Network settings .png

HDSERVER2 - Network settings .png

TOWER - Network settings .png

Is it possible some other device or computer on the network has the same IP as one of your servers?

  • Author
4 minutes ago, ashman70 said:

Is it possible some other device or computer on the network has the same IP as one of your servers?

 

No. I've already checked.


One thing: I have seen that when the network configuration is restarted in the servers, either by changing the operating mode (bridged - not bridged), or the IP address, once restarted, everything works correctly.

 

Thanks again...

That is very bizarre.

  • Author
10 minutes ago, ashman70 said:

That is very bizarre.

 

Is there a command to restart the network configuration at startup, placing it in the GO file?

It's an idea that comes to mind ... For testing ...

Is there a DHCP-Server on your Network? And if yes, check if the DHCP Adress-Pool is not overlapping the static adresses.

  • Author
3 minutes ago, Zonediver said:

Is there a DHCP-Server on your Network? And if yes, check if the DHCP Adress-Pool is not overlapping the static adresses.

Hi Zonediver !!!

 

I will have to talk with my internet provider. I cannot access to the LiteBeam configuration.

 

Thanks for your help...

Are the static IP addresses you are using on the two servers in the same subnet as other devices on your network that do have Internet access?  Since you say you do not have access to the router you might consider going with DHCP and see if that allows both to access the Internet.

  • Author
1 minute ago, unevent said:

Are the static IP addresses you are using on the two servers in the same subnet as other devices on your network that do have Internet access?  Since you say you do not have access to the router you might consider going with DHCP and see if that allows both to access the Internet.

 

Hi unevent !!!

 

HDSERVER --> 192.168.1.100

HDSERVER2 --> 192.168.1.101

 

All my devices have IPs 192.168.1.xxx

 

I will try using dynamic IPs with DHCP.

 

Thanks !!!

Also, consider commenting out your echo statements in the go files until you get the network issue resolved.

  • Author

Hi all !!!

 

I finally solved the problem, but still don't know the origin.

I have tried restarting the network settings, and it worked !!!

I've added to the GO file the next lines, before starting emhttp:

 

# Restart network configuration
logger -t "$0[$$]"  "##### Restart network configuration. #####"
/etc/rc.d/rc.inet1 stop
/etc/rc.d/rc.inet1 start
logger -t "$0[$$]"  "##### Network configuration restarted. #####"

 

The command /etc/rc.d/rc.inet1 restart returns errors and doesn't work:

 

Not enough information: "type" argument is required
Error: argument "up" is wrong: Device does not exist

 

What happends to "restart" option ???

 

What I said. Solved, but I do not know why it happens.

 

Thank you all for your help !!!

3 hours ago, alikuenkano said:
8 minutes ago, alikuenkano said:

Hi all !!!

 

I finally solved the problem, but still don't know the origin.

I have tried restarting the network settings, and it worked !!!

I've added to the GO file the next lines, before starting emhttp:

 

# Restart network configuration
logger -t "$0[$$]"  "##### Restart network configuration. #####"
/etc/rc.d/rc.inet1 stop
/etc/rc.d/rc.inet1 start
logger -t "$0[$$]"  "##### Network configuration restarted. #####"

 

The command /etc/rc.d/rc.inet1 restart returns errors and doesn't work:

 

Not enough information: "type" argument is required
Error: argument "up" is wrong: Device does not exist

 

What happends to "restart" option ???

 

What I said. Solved, but I do not know why it happens.

 

Thank you all for your help !!!

 

 

When starting your  system it will perform a rc.inet1 start, there shouldn't be a reason to do this in the go file. Didn't read the whole thread, but can you post your diagnostics if not done already? 

 

Edited by bonienl

  • Author
1 minute ago, bonienl said:

 

 

When starting your  system it will perform a rc.inet1 start, there shouldn't be a reason to do this in the go file. Didn't read the whole thread, but can you post your diagnostics if not done already?

 

Hi, bonienl !!!

 

I know, but the "start" command only gives up the network interface, and then the problem starts too.

The "stop-start" commands have made the trick.

 

The diagnostics files are in my first post.

 

Thanks in advance...

You should remove the line from your go file

echo nameserver 192.168.1.1 >/etc/resolv.conf

It overwrites the DNS settings of your network page (8.8.8.8 and 8.8.4.4). If you want your local gateway to act as DNS server, just enter its address in the network settings.

 

When static entries are used then unRAID will generate the resolv.conf file.

 

Edited by bonienl

  • Author
33 minutes ago, bonienl said:

You should remove the line from your go file


echo nameserver 192.168.1.1 >/etc/resolv.conf

It overwrites the DNS settings of your network page (8.8.8.8 and 8.8.4.4). If you want your local gateway to act as DNS server, just enter its address in the network settings.

 

When static entries are used then unRAID will generate the resolv.conf file.

 

 

Hi bonienl !!!

 

You are my hero !!!

I've tried what you suggested and it works !!!

Is strange, but that line is in the GO file from a very long time ago. I don't know why now that line has become problematic.

I will think if something has changed, but I've not touched the servers configuration. I'm sure about that...

 

Thanks again !!!

Edited by alikuenkano

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.