• February 25, 2025, 02:04:52 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Problem setting static IP 192.168.255.* on DNS-323  (Read 15854 times)

Tomeks

  • Level 1 Member
  • *
  • Posts: 3
Problem setting static IP 192.168.255.* on DNS-323
« on: July 16, 2009, 02:52:06 AM »

Hi,

I want to set a static IP on my DNS-323. All other PC's in my home network are using a ZyXEL router/modem's DHCP to get dynamic IP's, and they all get 192.168.255.something, eg:

        Windows IP Configuration

        Ethernet adapter Local Area Connection:

                Connection-specific DNS Suffix  . :
                IP Address. . . . . . . . . . . . : 192.168.255.3
                Subnet Mask . . . . . . . . . . . : 255.255.255.0
                Default Gateway . . . . . . . . . : 192.168.255.1


So I'm trying to set a static IP for the DNS-323 (eg. 192.168.255.10), but I get an error message that the third number must be in the range 0-254. It happens both with the Easy Search utility and the web admin interface. But I guess that in my case it needs to be exactly as 255, otherwise the DNS-323 will be in a different subnet than the rest of my PC's, and they won't be able to see each other, correct?

The router is provided by my employer, and it's not recommended to change its settings. I used to have a WD MyBook as my network drive, and there was no problem assigning it a static IP of 192.168.255.10.

I'm wondering why 255 as the third digit is blocked, and if there's any way to get around this? I have SSH connection to the DNS-323 and can do a bit of editing in the Linux config files if needed. :)

Thanks for any advice!
Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: Problem setting static IP 192.168.255.* on DNS-323
« Reply #1 on: July 16, 2009, 08:46:22 AM »

As a workaround I can offer that you could assign a second IP on your PC and put it on the same network as the DNS.  I can provide instructions for this if necessary.  I can't instruct you to back door in and set what you want that way, ifconfig eth0 192.168.255.42 netmask 255.255.255.0, but I wouldn't be adverse to that as a work around personally.

It sounds like some field validation gone awry, It is trying to prevent you from assigning it a broadcast address by checking every field for a max value instead of checking the host portion of the address for a max value.  This host portion does not always coincide with octets (the boxes), even though that assumption is often made.

What is really weird is it does not stop you from using the min address of 0 in that box which means that the validation is handled in at least two steps, one of which was made aware of this problem and the other not.

This makes me want to apply an unusual subnet to a DNS and see if it allows me to give it a broadcast or network address, and the havoc that ensues there.  It would also tell me if they are separately validating (perhaps catching the Linux error as a last resort) for unusual subnets which would be really funny, because then they don't need these first 2 validations.

Good Catch!
Logged
non progredi est regredi

Tomeks

  • Level 1 Member
  • *
  • Posts: 3
Re: Problem setting static IP 192.168.255.* on DNS-323
« Reply #2 on: July 17, 2009, 04:45:44 AM »

Hi, and thanks for the advice and the comments...

Would that workaround (changing the IP address on my PC) work, since my router anyway has the address 192.168.255.1? Also I have an XBox 360 on my network and changing the IP for it might be more tricky than changing the IP for a normal PC. Or maybe there's a setting for it, I haven't checked...

Well, I think that I'll stick with the dynamic IP for the DNS-323 for the time being. Not a big problem, it just means checking the IP address of the DNS-323 before mapping the network drives on my PC.

But I agree that it seems like an incorrect field validity check. In a Class C network the third octet is still part of the network address and the max value should only be prevented in the last octet.

Hopefully this can be fixed in some upcoming firmware release. Maybe already in 1.08...?  ;) Are you connected with D-Link (and can pass on the message), or should I file a bug report somewhere?
Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: Problem setting static IP 192.168.255.* on DNS-323
« Reply #3 on: July 17, 2009, 08:55:33 AM »

I was suggesting setting an additional IP, however you are right that wouldn't fly for the Xbox, didn't realize you had one in your environment.

Yes I am a D-Link employee (Ph'nglui mglw'nafh C'thulhu D-Link wgah'nagl fhtagn), however I am not of that PM class you desire.  The good news is there are rumours that they look at these boards and silently pull issues from it on occasion, so you voice is in the right place.
Logged
non progredi est regredi

ttmcmurry

  • Level 4 Member
  • ****
  • Posts: 438
Re: Problem setting static IP 192.168.255.* on DNS-323
« Reply #4 on: July 18, 2009, 05:29:12 PM »

(Ph'nglui mglw'nafh C'thulhu D-Link wgah'nagl fhtagn)

..and are you Klingon too?
Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: Problem setting static IP 192.168.255.* on DNS-323
« Reply #5 on: July 20, 2009, 08:35:46 AM »

No, it was a joke based on the fiction of HP Lovecraft, who is most famous for his Cthulhu mythos.

In several stories crazy cultists (are there ever any other kind) are head to chant "Ph'nglui mglw'nafh C'thulhu R'lyeh wgah'nagl fhtagn" which is said to mean "In his house at R'lyeh dead C'thulhu waits dreaming.".

Given what appears to be popular opinion on these forums that there is no greater dead city comprised of cyclopean tombs based on non-euclidean geometry than D-Link, I simply switched D-Link and R'lyeh, which worked out quite well I thought.

http://en.wikipedia.org/wiki/Cthulhu
Logged
non progredi est regredi

Tomeks

  • Level 1 Member
  • *
  • Posts: 3
Re: Problem setting static IP 192.168.255.* on DNS-323
« Reply #6 on: July 22, 2009, 11:25:34 AM »

Ph'nglui mglw'nafh C'thulhu D-Link wgah'nagl fhtagn.

Hahaha.  Yeah, I could somehow understand that it's not the official company slogan. Actually my first thought was that it's something in welsh.  :)

Well, hopefully then one of the high priests will pick this up for correction in some upcoming firmware release. Thanks!  :)
Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: Problem setting static IP 192.168.255.* on DNS-323
« Reply #7 on: July 22, 2009, 11:34:36 AM »

I would love to learn Welsh, unfortunately I would find it easier to find a teacher for Klingon than Welsh in this country, I understand there are still a few speakers left though.
Logged
non progredi est regredi