October 15, 201015 yr Hi, im new here in the forum and im just starting to use my UnRaid and i came across a problem with the IP adress. I have a router Linksys connected and another router (config as switch) that i use to plug 3 macs and the Unraid Tower. The problem is that the UnRaid is not getting an IP Address. I have tried static IP and DHCP. No working so far, and i cant access the web interface (ofc) Attached how i configured the router / Switch. Any idea suggestion? Im so tired of try this all day long. As you guys can tell i don't really know much about this but I was willing to give it a try because UnRaid seems to be the best solution for backup al my stuffs. Any help would be appreciated. Thx in advance. Router_-_switch.txt
October 15, 201015 yr So the 3 Macs attached to the router/ switch can pull DHCP addresses with no difficulty? When you say you tried using a static IP, how did you attempt that if you aren't able to reach the webpage? Did you manually modify the \config\network.cfg file?
October 15, 201015 yr Author So the 3 Macs attached to the router/ switch can pull DHCP addresses with no difficulty? When you say you tried using a static IP, how did you attempt that if you aren't able to reach the webpage? Did you manually modify the \config\network.cfg file? Yes, all the macs plugged to the Switch get IP address without a problem and get internet and all that. I modified the network.cfg file using a post that i found here as example and try using it with static IP address and using DHCP. So far nothing.
October 15, 201015 yr Possibly a bad NIC or networking cables? If you have any spares to try, do so. Also, type ifconfig at the console and post the output here.
October 15, 201015 yr I'm sure you have thought of this.. but you may want to make sure you don't have the Tower plugged into an "uplink" port on the router/switch. ps.. try swapping it the tower with a mac (ports on the switch).
October 15, 201015 yr Author Possibly a bad NIC or networking cables? If you have any spares to try, do so. Also, type ifconfig at the console and post the output here. I tried diferent cables, nothing. How can i capture the result of the ifconfig to post it here? (im really new in this) I'm sure you have thought of this.. but you may want to make sure you don't have the Tower plugged into an "uplink" port on the router/switch. ps.. try swapping it the tower with a mac (ports on the switch). Also tried this. Same thing. Nothing
October 16, 201015 yr To get the ifconfig info, log into the console and type ifconfig Look for eth0 and see if there is a listing for inet addr (you should see it set to 127.0.0.1 on the lo (loopback) entry). When you modified the network.cfg file, did you use a simple text editor like Notepad?
October 16, 201015 yr Author To get the ifconfig info, log into the console and type ifconfig Look for eth0 and see if there is a listing for inet addr (you should see it set to 127.0.0.1 on the lo (loopback) entry). When you modified the network.cfg file, did you use a simple text editor like Notepad? I got this image and yes. i have a MAC and I did use Text Edit to edit the network.cfg
October 16, 201015 yr I modified the network.cfg file using a post that i found here as example and try using it with static IP address and using DHCP. if you use static IP, you don't use DHCP. you can use either one but not BOTH. your ifconfig image shown you are still using DHCP because there is no IP address assigned. Try to setup your static IP through unRAID web GUI then reboot your system post your syslog and your static IP configuration.
October 16, 201015 yr Author I modified the network.cfg file using a post that i found here as example and try using it with static IP address and using DHCP. if you use static IP, you don't use DHCP. you can use either one but not BOTH. your ifconfig image shown you are still using DHCP because there is no IP address assigned. Try to setup your static IP through unRAID web GUI then reboot your system post your syslog and your static IP configuration. I mean tried one, then the other. no both at the same time. How can i access the Web GUI if i don't have IP? I am going to try a few thing again today. If anyone have any other suggestion would be great.
October 16, 201015 yr get a crossover cable and use something like Tiny DHCP Server on your PC or MAC (I'm sure there is a MAC equivilent). See if the Unraid box picks up a DHCP address from your software DHCP Server. If not then you probably have a hardware issue or something not properly configured in the tower bios.
October 16, 201015 yr Author get a crossover cable and use something like Tiny DHCP Server on your PC or MAC (I'm sure there is a MAC equivilent). See if the Unraid box picks up a DHCP address from your software DHCP Server. If not then you probably have a hardware issue or something not properly configured in the tower bios. Trying the crossover cable now and checking the Bios
October 16, 201015 yr Author Tried the cable and check the Bios. No love with that. Im sure is not a Hardware problem, was running just fine 2 days ago. The only issue back then was that the IP address was always changing but working. Im really frustrated with this now
October 16, 201015 yr (a) Which router those 3 MAC connected to? (b) Which router uNRAID connected to? © If you connected unRAID to first router and use DHCP on unRAID after reboot, does unRAID pickup IP address? (d) From ©, at first router what can you see from DHCP assignment list? (all router should have current DHCP assignment list)
October 16, 201015 yr Author (a) Which router those 3 MAC connected to? (b) Which router uNRAID connected to? © If you connected unRAID to first router and use DHCP on unRAID after reboot, does unRAID pickup IP address? (d) From ©, at first router what can you see from DHCP assignment list? (all router should have current DHCP assignment list) a) macs are connected to a Zyxel router that is config to act as switch b)same zyxel one c)no ip adress even if connected to the first router which is using DHCP d)i can only see the Macs with their respective mac address and IP address. Reading this post in the forums. I tried all that JOE.L suggested. The label is present, the IP address after ifconfig is not showing any IP adress. The syslog is attached here. Hope that info would be any help to you. syslog.txt
October 16, 201015 yr c)no ip adress even if connected to the first router which is using DHCP d)i can only see the Macs with their respective mac address and IP address. (a) The first router is your DHCP server, is your unRAID in DHCP mode now? (b) If you can not see unRAID registered in this list then the issue is on first router. When you connect unRAID to first router and reboot unRAID while it is coming up, unRAID will broadcast DHCP request and this router should answer the call unless this router only assign IP to "known MAC address" (some routers have this function to block un-authorized access) A DHCP broadcast will look like this Sep 25 14:31:12 Tower dhcpcd[2161]: broadcasting DHCP_DISCOVER Sep 25 14:31:15 Tower kernel: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX Sep 25 14:31:17 Tower dhcpcd[2161]: dhcpIPaddrLeaseTime=1123200 in DHCP server response. Sep 25 14:31:17 Tower dhcpcd[2161]: DHCP_OFFER received from (192.168.178.1) <---- DHCP server @ 192.168.178.1 is answering call Sep 25 14:31:17 Tower dhcpcd[2161]: broadcasting DHCP_REQUEST for 192.168.178.24 <---- IP address 192.168.178.24 has been assigned to this unRAID Sep 25 14:31:17 Tower dhcpcd[2161]: dhcpIPaddrLeaseTime=1123200 in DHCP server response. Sep 25 14:31:17 Tower dhcpcd[2161]: DHCP_ACK received from (192.168.178.1) Sep 25 14:31:17 Tower ifplugd(eth0)[1260]: client: dhcpcd: MAC address = 00:18:f3:c6:56:c3 Sep 25 14:31:17 Tower ifplugd(eth0)[1260]: client: dhcpcd: your IP address = 192.168.178.24 Sep 25 14:31:17 Tower ifplugd(eth0)[1260]: client: dhcpcd: MAC address = 00:18:f3:c6:56:c3 Sep 25 14:31:17 Tower ifplugd(eth0)[1260]: client: dhcpcd: your IP address = 192.168.178.24 Sep 25 14:31:18 Tower ifplugd(eth0)[1260]: Program executed successfully.
October 16, 201015 yr Author c)no ip adress even if connected to the first router which is using DHCP d)i can only see the Macs with their respective mac address and IP address. (a) The first router is your DHCP server, is your unRAID in DHCP mode now? (b) If you can not see unRAID registered in this list then the issue is on first router. When you connect unRAID to first router and reboot unRAID while it is coming up, unRAID will broadcast DHCP request and this router should answer the call unless this router only assign IP to "known MAC address" (some routers have this function to block un-authorized access) A DHCP broadcast will look like this Sep 25 14:31:12 Tower dhcpcd[2161]: broadcasting DHCP_DISCOVER Sep 25 14:31:15 Tower kernel: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX Sep 25 14:31:17 Tower dhcpcd[2161]: dhcpIPaddrLeaseTime=1123200 in DHCP server response. Sep 25 14:31:17 Tower dhcpcd[2161]: DHCP_OFFER received from (192.168.178.1) <---- DHCP server @ 192.168.178.1 is answering call Sep 25 14:31:17 Tower dhcpcd[2161]: broadcasting DHCP_REQUEST for 192.168.178.24 <---- IP address 192.168.178.24 has been assigned to this unRAID Sep 25 14:31:17 Tower dhcpcd[2161]: dhcpIPaddrLeaseTime=1123200 in DHCP server response. Sep 25 14:31:17 Tower dhcpcd[2161]: DHCP_ACK received from (192.168.178.1) Sep 25 14:31:17 Tower ifplugd(eth0)[1260]: client: dhcpcd: MAC address = 00:18:f3:c6:56:c3 Sep 25 14:31:17 Tower ifplugd(eth0)[1260]: client: dhcpcd: your IP address = 192.168.178.24 Sep 25 14:31:17 Tower ifplugd(eth0)[1260]: client: dhcpcd: MAC address = 00:18:f3:c6:56:c3 Sep 25 14:31:17 Tower ifplugd(eth0)[1260]: client: dhcpcd: your IP address = 192.168.178.24 Sep 25 14:31:18 Tower ifplugd(eth0)[1260]: Program executed successfully. Yes, the UnRaid is in DHCP mode now. I connected the tower to the router. reboot the router and start the tower, still no IP address My router doesn't have this function to assign IP to only know mac address. Everything is working. All the computers get ip address and access to internet except the Unraid
October 16, 201015 yr Yes, the UnRaid is in DHCP mode now. I connected the tower to the router. reboot the router and start the tower, still no IP address My router doesn't have this function to assign IP to only know mac address. Everything is working. All the computers get ip address and access to internet except the Unraid It takes two to tango. you need to make sure unRAID does broadcast DHCP request first during boot up time post your syslog here.
October 16, 201015 yr Author Yes, the UnRaid is in DHCP mode now. I connected the tower to the router. reboot the router and start the tower, still no IP address My router doesn't have this function to assign IP to only know mac address. Everything is working. All the computers get ip address and access to internet except the Unraid It takes two to tango. you need to make sure unRAID does broadcast DHCP request first during boot up time post your syslog here. How do i suposed to do that? Sorry but I am really new in this In the meantime i set up my macbook pro ethernet connection with a dhcp with manual ip address and the Unraid with static IP address. PLug one direct in to the other and work just fine. I can access the Web GUI interface, etc.... BTW i setup the UnRaid IP as 192.168.1.105 and my mac as 192.168.1.101
October 16, 201015 yr How do i suposed to do that? Sorry but I am really new in this the post you were referring before already has answer. copy it to your USB drive. http://lime-technology.com/forum/index.php?topic=1832.msg12908#msg129080 In the meantime i set up my macbook pro ethernet connection with a dhcp with manual ip address and the Unraid with static IP address. PLug one direct in to the other and work just fine. I can access the Web GUI interface, etc.... BTW i setup the UnRaid IP as 192.168.1.105 and my mac as 192.168.1.101 don't mixed static IP with DHCP, they are two different things. If you want to use your macbook as DHCP server then unRAID needs to be in DHCP mode. otherwise has unRAID with static IP address then has or has no DHCP server out there is irrelevant. Static IP address should always works as long as (a) You don't have conflict IP address. (b) network mask is correct © Default gateway setting is correct. (this should be your 1st router)
October 16, 201015 yr Author How do i suposed to do that? Sorry but I am really new in this the post you were referring before already has answer. copy it to your USB drive. http://lime-technology.com/forum/index.php?topic=1832.msg12908#msg129080 In the meantime i set up my macbook pro ethernet connection with a dhcp with manual ip address and the Unraid with static IP address. PLug one direct in to the other and work just fine. I can access the Web GUI interface, etc.... BTW i setup the UnRaid IP as 192.168.1.105 and my mac as 192.168.1.101 don't mixed static IP with DHCP, they are two different things. If you want to use your macbook as DHCP server then unRAID needs to be in DHCP mode. otherwise has unRAID with static IP address then has or has no DHCP server out there is irrelevant. Static IP address should always works as long as (a) You don't have conflict IP address. (b) network mask is correct © Default gateway setting is correct. (this should be your 1st router) Im done..I get as far as i can get. I don even know what are you talking about. I have no idea what to do. I been reading the forums for the past 2 days, so far nothing works for me. Thx for the help. I'll give it a try tomorrow or some other day
October 16, 201015 yr Im done..I get as far as i can get. I don even know what are you talking about. I have no idea what to do. In the old days, computers connected to network all have static IP addresses. that is administrator setup each machine with pre-assigned IP address/netmask/gateway. Later on when there are more and more machines connected through network, this kind of static IP address setup become too much if not impossible. that is when DHCP comes to picture, you setup a DHCP server at network that will answer DHCP IP address request broadcast message and assign IP address from pre-defined IP address pool along with other information such as default gateway/DNS information.....etc by returning a response message back to client, when client receive those information, client will program local ethernet/IP protocol stack accordingly. That also tells you even your network is DHCP enabled you still can use static IP address as long as you set it up correctly. You need to decide which way you want to go for unRAID, either static IP or DHCP assigned, don't jump back and forth. for Static IP, make sure (a) The pre-assigned IP for your unRAID is unique (b) The network mask is correct © The default gateway IP is correct. -------------------- This is what you should see from syslog for unRAID with static IP address ------- Oct 15 21:38:35 Tower logger: /etc/rc.d/rc.inet1: /sbin/ifconfig lo 127.0.0.1 <---- program loopback interface Oct 15 21:38:35 Tower logger: /etc/rc.d/rc.inet1: /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo Oct 15 21:38:35 Tower ifplugd(eth0)[1682]: ifplugd 0.28 initializing. Oct 15 21:38:35 Tower ifplugd(eth0)[1682]: Using interface eth0/00:21:85:1A:CD:0F with driver (version: 2.3LK-NAPI) Oct 15 21:38:35 Tower ifplugd(eth0)[1682]: Using detection mode: SIOCETHTOOL Oct 15 21:38:35 Tower ifplugd(eth0)[1682]: Initialization complete, link beat detected. Oct 15 21:38:35 Tower kernel: r8169: eth0: link up <----- layer 2 link up detected, line is good. Oct 15 21:38:35 Tower kernel: r8169: eth0: link up Oct 15 21:38:35 Tower ifplugd(eth0)[1682]: Executing '/etc/ifplugd/ifplugd.action eth0 up'. <------ bring up ethernet interface Oct 15 21:38:35 Tower logger: /etc/rc.d/rc.inet1: /sbin/ifconfig eth0 hw ether 00:21:85:1A:CD:0F <-------------- program MAC address Oct 15 21:38:35 Tower logger: /etc/rc.d/rc.inet1: /sbin/ifconfig eth0 192.168.0.100 broadcast 192.168.0.255 netmask 255.255.255.0 <--- program static IP address 192.168.0.100 with network mask. Oct 15 21:38:35 Tower logger: /etc/rc.d/rc.inet1: /sbin/route add default gw 192.168.0.2 metric 1 <--- add default route to gateway @ 192.168.0.2 for DHCP assigned, make sure (a) unRAID and DHCP server are connected to same switch (b) During bootup time, unRAID has sent out DHCP IP request broadcast message © A response has received by unRAID. -------------------- This is what you should see from syslog for unRAID with DHCP assigned IP address ------- Sep 25 14:31:12 Tower dhcpcd[2161]: broadcasting DHCP_DISCOVER Sep 25 14:31:15 Tower kernel: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX <---- layer 2 link up, line is good Sep 25 14:31:17 Tower dhcpcd[2161]: dhcpIPaddrLeaseTime=1123200 in DHCP server response. Sep 25 14:31:17 Tower dhcpcd[2161]: DHCP_OFFER received from (192.168.178.1) <---- DHCP server @ 192.168.178.1 is answering call Sep 25 14:31:17 Tower dhcpcd[2161]: broadcasting DHCP_REQUEST for 192.168.178.24 <---- IP address 192.168.178.24 has been assigned to this unRAID Sep 25 14:31:17 Tower dhcpcd[2161]: dhcpIPaddrLeaseTime=1123200 in DHCP server response. Sep 25 14:31:17 Tower dhcpcd[2161]: DHCP_ACK received from (192.168.178.1) Sep 25 14:31:17 Tower ifplugd(eth0)[1260]: client: dhcpcd: MAC address = 00:18:f3:c6:56:c3 Sep 25 14:31:17 Tower ifplugd(eth0)[1260]: client: dhcpcd: your IP address = 192.168.178.24 Sep 25 14:31:17 Tower ifplugd(eth0)[1260]: client: dhcpcd: MAC address = 00:18:f3:c6:56:c3 Sep 25 14:31:17 Tower ifplugd(eth0)[1260]: client: dhcpcd: your IP address = 192.168.178.24 Sep 25 14:31:18 Tower ifplugd(eth0)[1260]: Program executed successfully.
October 17, 201015 yr Author Ok, so i configured the Network.cfg to work in first place as DHP then in second instance i tried with Static IP adress. In both cases the Syslog shows Link Down so I guess that the problem is in the Router ----> switch -----> UnRaid connection. All the macs connected to the same switch get IP without problem. To configure the Router -- Switch connection i used a guide that i found in Internet (Im that new on this) I attach both syslogs and the guide that i used for set up the router - switch network. Thx in advance for the help. Im feeling optimistic today! Router_-_switch.txt syslogDHCP.txt syslogSTATIC.txt
October 17, 201015 yr Author So far i have tried everything that i can think of. I been reading all posibles issues in the forums for the past 2 days and tried all that was adviced in each post. The only way that i can connect to the tower is if i plug a mac directly to the tower and set up the MAC IP as "DHCP with manual IP address" The very first day worked like a charm but with DHCP the tower was always changing IP Adress. The way that i have the network set up is like this. ROUTER connection: WAN port: connects to cable modem 10/100Mbps port #1: connects to PC #1 (home network) 10/100Mbps port #2: connects to Switch #1 (sharing internet) 10/100Mbps port #3: connects to Switch #2 10/100Mbps port #4: empty (Sometimes MacBook Pro #2) SWITCH #2 connection: 10/100/1000Mbps port #1: connects to port #3 on the router 10/100/1000Mbps port #2: connects to Imac 10/100/1000Mbps port #3: connects to MacBook Pro 10/100/1000Mbps port #4: connects to Unraid Tower So thats it. I have a few TB to Back up and I am running out of time for this. Any idea ? Suggestion? Should i try to find someone to help me configure the network? I am almost 100% that the problem is in the Router (configured as switch) Thx
October 17, 201015 yr In both cases the Syslog shows Link Down so I guess that the problem is in the Router ----> switch -----> UnRaid connection. From now on, keep static IP address assignment, don't switch back to DHCP. The syslog for static IP mode, shown your link between switch/unRAID is not good, this could be (a) the switch port unRAID connect to has problem. (b) the lan port at your unRAID has problem © line between switch and unRAID has problem. since you mention MAC machines have no problem, so unplug one of MAC machine and plug this same line with same switch port it used to unRAID and reboot unRAID. once unRAID is up, check your syslog to find out if link is up or not. If link is still not up, then the problem is (b), if link is up then the problem is either (a) or © you need to figure it out The bottom line, as long as your layer 2 ethernet is not up, you can forget about getting any IP traffic regardless you are in static IP mode or DHCP IP mode. Oct 18 10:05:09 Tower logger: /etc/rc.d/rc.inet1: /sbin/ifconfig lo 127.0.0.1 Oct 18 10:05:09 Tower logger: /etc/rc.d/rc.inet1: /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo Oct 18 10:05:09 Tower ifplugd(eth0)[1242]: ifplugd 0.28 initializing. Oct 18 10:05:09 Tower kernel: r8169: eth0: link down <----------------- layer 2 is not up, forget about IP layer Oct 18 10:05:09 Tower ifplugd(eth0)[1242]: Using interface eth0/1C:6F:65:24:91:10 with driver <r8169> (version: 2.3LK-NAPI) Oct 18 10:05:09 Tower ifplugd(eth0)[1242]: Using detection mode: SIOCETHTOOL Oct 18 10:05:09 Tower ifplugd(eth0)[1242]: Initialization complete, link beat not detected.
Archived
This topic is now archived and is closed to further replies.