DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-07-22 01:10:09

qwertybnm
Member
Registered: 2007-05-27
Posts: 11

Problem connecting to DNS 323 through a Switch

I have a DNS 323 with a pair of 500 gig samsungs in a JBOD setup. It works great when connected through my crappy old Wireless-B router which has four wired 100-Base-T ports. It works either with a wired or wireless connection off this router.

Wanting to increase my connection speed I bought a gigabit switch-
an unmanaged Trendnet 8 port  - TEG S80TXE

When I connect two laptops to each other through the switch it works fine for networking.
[Laptop]--[Switch]--[Laptop]

When I connect the DNS-323 to the switch, and the switch to the router, I can access the DNS 323 through the router.
[DNS323]--[Switch]--[Router]--[Laptop]

But I can't access the DNS - 323 directly through the switch.
[DNS323]--[Switch]--[Laptop] XXX

Which means I don't have gigabit access to the DNS323 through the switch. Is there an obvious reason this isn't working?

Offline

 

#2 2007-07-22 01:51:46

Tack
Member
Registered: 2007-06-29
Posts: 33

Re: Problem connecting to DNS 323 through a Switch

How are you assigning IP's? (Looks like your router is out of the picture in the last diagram, so is not acting as DHCP server) Have you set the DNS as the DHCP server ( under advanced settings)?
I assume the two laptops are on the same subnet - that's why they can communicate - the DNS MAY not be on the same subnet in the last diagram so you can't communicate. Although in the last situation - why have the switch at all? just go {laptop}--{Switch} - fastest configuration. Just need to set your IP and subnet config appropriately.

I use :
               Router[set as DHCP server]    .....multiple wireless connections
                    |
[Desktop]-[switch]-[dns]
                    |
             [Desktop2]


No probs at all. Router is DHCP server. Similar - unmanaged gigabit switch, 2x500gb samsungs ( raid 1 though)

Guess the question to answer is - what is the default IP range of your router and of your laptops? 192.168.0.xxx?  10.0.0.XX?? I believe the DNS defaults to 192.168.0.32 - lastly, are you using a crossover cable to connect the DNS directly to the laptop??

EDIT - spelling and clarity

Last edited by Tack (2007-07-22 03:18:11)


Tack
Canberra
Australia

Offline

 

#3 2007-07-22 01:58:45

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: Problem connecting to DNS 323 through a Switch

Perhaps your DNS-323 needs the router to assign it's IP address (DHCP?)

Try plugging everything into the switch.

[DNS323]--[Switch]--[Router]
                     |
                [Laptop]

Last edited by mig (2007-07-22 01:59:07)


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#4 2007-08-14 19:08:56

danair
Member
Registered: 2007-07-30
Posts: 12

Re: Problem connecting to DNS 323 through a Switch

Tack - I'm a bit of a n00b when it comes to networking, hope you don't mind a quick question.  I was planning a configuration basically identical to yours.  I was just wondering, do things like the FTP server and iTunes server still work.  In other words at present I have:

[laptop]
     |
[wireless ADSL router]-[desktop]
     |
[DNS-323]

and the router forwards anything on port 21 to the IP of the DNS so that it can act as the FTP server.  In the configuration you're using does the router still perform this function?  Once the DHCP server has assigned an IP address is that "job done" for the router so that, for example, two computers connected to the switch can commincate at 1000 mbit, or does the router still have to involved in the 'routing' of traffic, in which case isn't it then restricted to 100 mbit if that's what the router is rated at?

Offline

 

#5 2007-08-15 04:23:12

Tack
Member
Registered: 2007-06-29
Posts: 33

Re: Problem connecting to DNS 323 through a Switch

danair wrote:

Tack - I'm a bit of a n00b when it comes to networking, hope you don't mind a quick question.  I was planning a configuration basically identical to yours.  I was just wondering, do things like the FTP server and iTunes server still work.  In other words at present I have:

[laptop]
     |
[wireless ADSL router]-[desktop]
     |
[DNS-323]

and the router forwards anything on port 21 to the IP of the DNS so that it can act as the FTP server.  In the configuration you're using does the router still perform this function?  Once the DHCP server has assigned an IP address is that "job done" for the router so that, for example, two computers connected to the switch can commincate at 1000 mbit, or does the router still have to involved in the 'routing' of traffic, in which case isn't it then restricted to 100 mbit if that's what the router is rated at?

Quick answer - yes big_smile as in -  yes it is all GOOD.

Slow answer_
FTP etc all work.
Once lan IPs are assigned, the switch takes over traffic 'direction' between units connected to it, so the router is out of the equation and you get gigabit speed ( well as close as you are gonna get - I get around 240mb/s over my local network ). Just connect all your gigabit capable units to the gigabit capable switch and you are done.
Enjoy smile


Tack
Canberra
Australia

Offline

 

#6 2007-08-15 11:38:28

danair
Member
Registered: 2007-07-30
Posts: 12

Re: Problem connecting to DNS 323 through a Switch

Thanks Tack!  Look out gigabit, here I come... smile

Offline

 

#7 2008-02-09 13:20:11

ken
Member
Registered: 2008-02-04
Posts: 12

Re: Problem connecting to DNS 323 through a Switch

Well, I'm trying the same thing as qwertybnm, and getting the same result -no worky.

With all due respect to you knowledgable guys who responded, you didn't actually answer the question.

I have a temporary setup of [DNS323]----[switch]----[laptop]----[modem via WiFi acting as DHCP server].
So I don't want the NAS to act as DHCP server, I want to assign it an IP address manually, outside the range the modem is allowed to assign.

The DNS323 did work when connected to the modem/router (and does have the default IP address assigned).  So it does work.  But not with the switch.
The laptop can happily communicate with a laser printer via the switch, so that works.

I actually called D-Link support about this, as I first tried DNS323 with the switch as soon as I'd unpacked it and plugged in the drives (2x1TB, raid 1).  The guy who eventually answered (who sounded suspiciously Indian) was no help, other than suggesting I connect it directly to the modem/router.  Yep, that works, but doesn't have enough ethernet ports for me.

The Easy Search Utility can find the NAS box (via the switch), and I can change its IP address.  I see the front panel LED flicker when I do this, indicating network activity.  But when I click on the NAS line in the 'Network Storage Device' window, the 'Configuration' button greys out.  I can select Volume_1 in the bottom window, but can't successfully map a drive to it.  I can't even ping the IP address of the DNS323.  (Yes, it is on the same subnet as the laptop.)

So what obvious thing am I missing here?
It must relate to the TCP/IP settings somewhere.  I'm running Windows XP Home Edition, using the Windows firewall (which can be off and it still doesn't work).

Offline

 

#8 2008-02-09 15:22:33

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Problem connecting to DNS 323 through a Switch

ken

let's forget about qwertbnm all together - you may feel that the question was not answered, however there was insufficient information in the post to provide a helpful answer and since he/she never responded when additional information was requested, the issue was just dropped -  danair obviously got his working.

Lets look at your scenario - and please note that whilst there are similarities, you do not have the same configuration as qwertbnm

You have two PHYSICALLY SEPARATE  networks - this tends to make life difficult - they need to be on different subnets, for example 192.168.0.x and 192.168.1.x - is this how you have done it?  If not, try it and see what happens.

Now - I would strongly suggest that you use the equipment in the manner in which the manufacturer intended which would be

[modem/router]-------[switch]------[DNS-323]
           |                         |
[laptop via WiFi]         [printer]

or even

[modem/router]-------[switch]------[DNS-323]
                                     |
                      [laptop]--------[printer]

Offline

 

#9 2008-02-10 01:24:49

ken
Member
Registered: 2008-02-04
Posts: 12

Re: Problem connecting to DNS 323 through a Switch

Thanks for your reply fordem.  You are partially correct.

I tossed and turned in bed last night thinking about this and decided it had to be routing, and I might have to add a route to the routing table so the laptop could find the NAS.
It turned out to be simpler than that.  The ethernet port has picked up its IP address from Windows (which is pretty dumb about such things), not the modem/router.  It was on a different subnet!

So I changed the IP address for the (wired) ethernet port to the same as my WiFi port and NAS box.  Now it works.  However I had to add a route to the modem via WiFi.  I might need a script which does this automatically on startup, using either wired or wireless NIC. -Will experiment with this a bit.

Thinking along your train of thought, all network adapters on all computers would be on different subnets, which of course is not the case.  I need all ethernet connections in my house to be on the same subnet.

Your second layout is exactly what I intend to use.  The first will be used when I unplug the laptop and use it out on the back verandah in the nice sunshine on a cool day. (Screen is hard to see though.)  But before I physically moved my modem and re-arranged phone connections (using VOIP), I wanted to make sure the switch connection worked.

One has to wonder at the search utility.  It must try using each network adapter on the PC in turn, to find the NAS.  Because it does find it.  But then it is too stupid to actually connect.  What it should do, is add a route to the routing table which works (since it must have temporarily done that to find the NAS). The other silly behaviour it has, is to disable the Configure button once you select the NAS.  OK it has a reason for that, ie it hasn't actually allowed the user to connect to the box.  But how the user is supposed to know that is beyond me, given that the NAS appears there every time.

Note to D-Link: fix that!
Second note to D-Link: Add this scenario to the 'cheat sheets' used by your (Indian or whatever) help-desk people.  -That is, NAS and network adapter are on different subnets.

Hopefully my stumble here will be a warning to others.  Check that your ethernet port and the NAS box are on the same subnet.  (Yeah, I know, dummy me should have checked that first up.)  It is probable that this issue only arises on laptops using WiFi as well as wired ports (or PCs with two or more NICs fitted).

Offline

 

#10 2008-02-10 02:47:02

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Problem connecting to DNS 323 through a Switch

Couple of things to consider.

First - the ethernet port in the computer cannot get an ip address from the modem/router because it's not connected to it - if you don't configure a static address it will use an APIPA address (automatic private ip address) and it should give you a warning message about limited connectivity - now - if you use separate subnets, Windows is actually smart enough to figure out for itself which interface to use.

Regarding seperate subnets - no - my train of thought does not require all network adapters on all computers to be on different subnets - it does however require that you not have two network adapters in the same computer on the same subnet, since this generally causes routing problems.

If you use either of the diagrams I provided you will not need to configure routing - I would suggest a static address for the DNS-323 and by that I mean configured on the DNS-323, not at the router.

The search utility works because it uses a network broadcast - this is fairly common, since it is intended to "search" for devices that may be mis-configured - the configure button, on the other hand, simply invokes the web admin page on the device, and that fails because you cannot communicate with the device using "non-broadcast" or standatrd methods.  Why not use broadcast and be done with it?  Well, older networks did work that way, but it's not particularly efficient, and it doesn't work across routers, so there would be no internet as we know it.

Offline

 

#11 2008-02-11 00:04:06

ken
Member
Registered: 2008-02-04
Posts: 12

Re: Problem connecting to DNS 323 through a Switch

Thanks for that fordem.

Yes, if I use separate subnets for the adapters on my laptop, I wouldn't have to do any route adjusting -provided I was connecting to the NAS from the adapter on the same subnet.  I'd be in trouble if I swapped from wired to wireless.  So I figure I might as well put everything on the same subnet, and add some route info.

I am using a static IP address on the NAS, have done from day one.  By the time I've finished setting up, I'll have static addresses on all the network adapters in all my computers.

The broadcast must still be getting sent on all adapters, so the search utility must be enumerating them on the PC.  (It is probably broadcasting over the Bluetooth adapter as well.)  A broadcast sent only on the WiFi adapter for example, wouldn't find the NAS.  So why does the search utility choose a 'default' network adapter which doesn't connect to the NAS?

I'm new here.  Is it appropriate to have 'discussion' like this on the forum?

Offline

 

#12 2008-02-11 03:12:17

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: Problem connecting to DNS 323 through a Switch

It's a discussion forum - I think anything's permissible as long as it's applicable to the DNS-323 - of course, no spamming, flaming, indecent language, etc.

About that 'default' network adapter - there is no default, which network adapter to use is determined by the routing table.

Having it all on the same subnet - that's your choice - the DNS-323 neither knows nor cares how many subnets you use BUT you will have to do the routing between subnets, because that is how tcp/ip networks function.  I've used mine across the internet with ftp and VPNs - as long as you follow accepted network practice, it works fine.  The folks who have trouble are mostly those who choose to set up their networks in non-standard ways.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB