*New 11.4 series Release:
2020-07-03: XigmaNAS 11.4.0.4.7633 - released!

*New 12.1 series Release:
2020-04-17: XigmaNAS 12.1.0.4.7542 - released


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

Odd network connectivity

NIC, network controllers, compatibility questions, WOL, wake on lan
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Southcross
Starter
Starter
Posts: 59
Joined: 30 Jan 2015 19:00
Status: Offline

Odd network connectivity

#1

Post by Southcross »

I am not sure if I somehow hosed my network settings, something isn't configured right, or what. None of these behaviors are seen on any other machine (Windows 7 boxes, Ubuntu 14.04 LTS). It behaves almost like no Gateway is configured? To the best of my knowledge this started after configuring Transmission

N4F 10.2.0.2.1814 (these problems were actually first noticed on the original v10 release)
Intel Xeon 3060
TYAN Computer Corporation S5197
8GB RAM

(2) gigabit embedded NICs, Intel 82573, IP 192.168.x.x
-LAGG configured for failover
(1) PCI 10/100 NIC, Intel? I forget the chipset, IP 10.x.x.x
-configured to a different IP for a parallel network running surveillance equipment

First I noticed that Transmission was not connecting to trackers at all (could not ping any domain outside my network), then I found that I could not ping the open DNS servers 4.2.2.2 or 4.2.2.1. I defined a 4.2.2.0/24 static route pointing to my router, now I can ping it as well as *most* domains. I am still having issues with Transmission, so I upgraded to v10.2.0.2.1814 hoping to solve the problem.
but I have since also discovered weird things like a DDNS(?) web address is unpingable to the N4F box, but pingable just fine on Windows 7 and Ubuntu 14.04. domain in question is: john.bitsurge.net (67.205.19.111). I can ping the domain and the IP from my desktop/ubuntu box, but neither from N4F.

What seems like it might be weird.... if 0.0.0.0 is the default internal IP, it appears to be pointing to the wrong network?

Code: Select all

IPv4
Destination 	Gateway 		Flags 	Use 	Mtu 	Netif 	Expire
0.0.0.0/1 		link#3 		U 	1302938 	1500 	fxp0 	 
default 		192.168.x.x 	UGS 	4312243 	1500 	lagg0 	 
4.2.2.0/24 	192.168.x.x 	UGS 	24 	1500 	lagg0 	 
10.x.x.x 		link#3 		UHS 	0 	16384 	lo0 	 
127.0.0.1 		link#4 		UH 	219 	16384 	lo0 	 
192.168.x.0/24	link#5 		U 	8767661 	1500 	lagg0 	 
192.168.x.x 	link#5 		UHS 	177 	16384 	lo0 	 

User avatar
daoyama
Developer
Developer
Posts: 422
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: Odd network connectivity

#2

Post by daoyama »

Please post contents of /etc/rc.conf.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

Southcross
Starter
Starter
Posts: 59
Joined: 30 Jan 2015 19:00
Status: Offline

Re: Odd network connectivity

#3

Post by Southcross »

in my troubleshooting I have since disabled Transmission, I have also obscured the internal IPs and Domain

Code: Select all

#cat rc.conf
dmesg_enable="YES"
lighttpd_enable="YES"
syslogd_enable="YES"
syslogd_flags="-8 -s"
msntp_enable="YES"
firewall_type="CLIENT"
firewall_script_auxrules="/etc/rc.firewall.auxrules"
msmtp_config="/var/etc/msmtp.conf"
msmtp_msgfile="/tmp/message"
LCDd_enable="NO"
autosnapshot_enable="NO"
bsnmpd_enable="NO"
fuppes_enable="NO"
fusefs_enable="YES"
hastd_enable="NO"
hostapd_enable="NO"
inadyn_enable="NO"
firewall_enable="NO"
iscsi_initiator_enable="NO"
istgt_enable="NO"
lcdproc_enable="NO"
rpc_lockd_enable="NO"
mountd_enable="NO"
mtdaapd_enable="NO"
netatalk_enable="NO"
ntpdate_enable="YES"
nut_enable="NO"
nut_upslog_enable="NO"
nut_upsmon_enable="NO"
powerd_enable="YES"
proftpd_enable="YES"
rpcbind_enable="NO"
rsyncd_enable="NO"
samba_enable="YES"
smartd_enable="YES"
sshd_enable="YES"
rpc_statd_enable="NO"
nfs_server_enable="NO"
swap_enable="NO"
tftpd_enable="NO"
unison_enable="NO"
websrv_enable="NO"
websrv_htpasswd_enable="NO"
wpa_supplicant_enable="NO"
zfs_enable="NO"
varmfs="YES"
varmfs_flags="-U -t -o noatime -m 2"
populate_var="YES"
hostname="nas4free.xxxxxx"
firewall_client_net="192.168.x.x/24"
ifconfig_lagg0="inet 192.168.x.x/24 laggproto failover laggport em0 laggport em1"
defaultrouter="192.168.x.x"
netwait_enable="YES"
netwait_ip="192.168.x.x"
netwait_if="lagg0"
ifconfig_fxp0="inet 10.x.x.x/1 -wol"
cloned_interfaces="lagg0"
ifconfig_em0="up"
ifconfig_em1="up"
ipv6_activate_all_interfaces="NO"
powerd_flags="-a adaptive -b adaptive -n adaptive"
varsize="256m"
vartmpsize="128m"
fuppes_logfile="/var/log/fuppes.log"
mtdaapd_logfile="/var/log/mt-daapd.log"
rsync_client_logfile="/var/log/rsync_client.log"
rsync_local_logfile="/var/log/rsync_local.log"
blanktime="300"
saver="green"
nfsv4_server_enable="NO"
nfsuserd_enable="NO"
route_conf_09fffb82_d06c_467a_ab1c_95d24211ff19="-net 4.2.2.0/24 192.168.x.x"
static_routes=" conf_09fffb82_d06c_467a_ab1c_95d24211ff19"
transmission_enable="NO"
mdnsresponder_enable="YES"

Southcross
Starter
Starter
Posts: 59
Joined: 30 Jan 2015 19:00
Status: Offline

Re: Odd network connectivity

#4

Post by Southcross »

i just noticed that somehow my 10.x.x.x IP had a bitmask of "1", instead of 24? I do now know if that could the problem but I am fixing it right now.

Southcross
Starter
Starter
Posts: 59
Joined: 30 Jan 2015 19:00
Status: Offline

Re: Odd network connectivity

#5

Post by Southcross »

Southcross wrote:i just noticed that somehow my 10.x.x.x IP had a bitmask of "1", instead of 24? I do now know if that could the problem but I am fixing it right now.
*beats head on desk* that fixed it.... *sigh* I apparently never thought to check settings on a port completely unrelated. Also interesting that I never got an FTP error from my video server?

aaaaand.... now Transmission is working flawlessly(?), showing "open" on its port status *double sigh*

User avatar
Parkcomm
Advanced User
Advanced User
Posts: 388
Joined: 21 Sep 2012 12:58
Location: Australia
Status: Offline

Re: Odd network connectivity

#6

Post by Parkcomm »

yeah - when you get that some hosts work some don't some domains work some don't it's gonna be addressing / sub netmask / default route / static routes.

Well done - you found it pretty quick.
NAS4Free Embedded 10.2.0.2 - Prester (revision 2003), HP N40L Microserver (AMD Turion) with modified BIOS, ZFS Mirror 4 x WD Red + L2ARC 128M Apple SSD, 10G ECC Ram, Intel 1G CT NIC + inbuilt broadcom

Post Reply

Return to “LAN , Network controllers”