Weird network in jail

Status
Not open for further replies.

mururoa

Dabbler
Joined
May 31, 2016
Messages
22
Hello,

With a recent installed jail I have strange network problems.
First I have something like 5 seconds delay before I get login prompt with ssh.
The jail is a rdiff-backup server but if I just ssh and then start the backup script it never succeeds. I have to ping the backuped server before and then the backup succeed.

This is the routing tables :

Routing tables

Internet:
Destination Gateway Flags Netif Expire
default 192.168.0.1 UGS epair0b
127.0.0.1 link#1 UH lo0
192.168.0.0/24 link#2 U epair0b
192.168.0.96 link#2 UHS lo0


and the network config :

epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether 9e:9a:22:52:de:ef
inet 192.168.0.96 netmask 0xffffff00 broadcast 192.168.0.255
nd6 options=9<PERFORMNUD,IFDISABLED>
media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
status: active


Jail is FreeBSD 10.3. FreeNAS 9.10 latest update.

Any idea of what could be wrong?
 
Last edited:

Sakuru

Guru
Joined
Nov 20, 2015
Messages
527
How much RAM do you have? Is VIMAGE enabled on this jail?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
You don't have enough RAM. Fix that

Sent from my Nexus 5X using Tapatalk
 

Sakuru

Guru
Joined
Nov 20, 2015
Messages
527

mururoa

Dabbler
Joined
May 31, 2016
Messages
22
I cant do that :(
The server is a Thecus N5550 with Freenas installed on it instead of sub-par Thecus OS.
And maximum ram is 4 GB, not more.
I plan to setup a new server but it will be bigger and will draw more power.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
If that all the RAM you can use than you can't use freenas.

Sent from my Nexus 5X using Tapatalk
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977
Save yourself the hassle and headache and wait until you have adequate hardware to run FreeNAS.
 

mururoa

Dabbler
Joined
May 31, 2016
Messages
22
Well, I found 4 Gb memory for N5550.
I'm not sure if it will be ok but I bet on it.
Official max size is 2 * 2 Gb but this memory module is sold specificaly for N5550, so ...
Before I had checked memory usage on the NAS and free mem was ridicously low.
I the mean time I will shutdown the other jail of the NAS.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Free memory doesn't matter, ideally you have 100% memory used. You bought it so your operating system should use it right? The problem is with less it can't even run all the tools and applications it needs and ends up just shutting down random process when it needs more memory. This causes the strange behavior people see all the time.

Sent from my Nexus 5X using Tapatalk
 

mururoa

Dabbler
Joined
May 31, 2016
Messages
22
Ok, now I have 8 GB and so, plenty of free memory.
BUT, the problem is the same so it's time to search outside possible memory problems.
Basically, I cant reach any server before pinging it before.
Like :


$ ping -c 2 wiki
PING wiki.maison.local (192.168.0.84): 56 data bytes

--- wiki.maison.local ping statistics ---
2 packets transmitted, 0 packets received, 100.0% packet loss
$ ping 192.168.0.84
PING 192.168.0.84 (192.168.0.84): 56 data bytes
64 bytes from 192.168.0.84: icmp_seq=2 ttl=64 time=1.954 ms
^C
--- 192.168.0.84 ping statistics ---
3 packets transmitted, 1 packets received, 66.7% packet loss
round-trip min/avg/max/stddev = 1.954/1.954/1.954/0.000 ms
$ ping -c 2 wiki
PING wiki.maison.local (192.168.0.84): 56 data bytes
64 bytes from 192.168.0.84: icmp_seq=0 ttl=64 time=0.329 ms
64 bytes from 192.168.0.84: icmp_seq=1 ttl=64 time=7.748 ms

--- wiki.maison.local ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.329/4.038/7.748/3.710 ms
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Are you using lagg of some kind? Disable it if you are. Also make sure your static IP is outside the DHCP range of your DHCP server so you don't have a IP conflict.

Sent from my Nexus 5X using Tapatalk
 

mururoa

Dabbler
Joined
May 31, 2016
Messages
22
Yes I'm using lagg.
I guess you get something there.
But I would like to avoid to disable teaming on the nas. Maybe it's the lagg mode ?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Disable it and see if it works better. Lagg works just fine but 99% of people always set it up wrong. And looking at your Nas hardware specs I'm pretty sure you can't even benefit from lagg.

Sent from my Nexus 5X using Tapatalk
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,977

mururoa

Dabbler
Joined
May 31, 2016
Messages
22
Why do people think they need LAGG?
Not obvious ?
I can get up to 6 clients accessing NAS so more than 1 GB helps sometimes.

Anyway, I have disabled the lagg and that was the problem.
But, how come it's that hard to get that information ???
There should be plenty of jails running on lagg ...
Is there problems too with LACP laggs ?
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Zero problems with lacp except for the person setting it up. What switch do you have and what supported protocols does it have?

Sent from my Nexus 5X using Tapatalk
 
Status
Not open for further replies.
Top