atcomsystems.ca/forum
Posted By: anthonyh mixed static/dynamic network - 08/09/06 04:56 PM
Please bear with me on this one; I am far, far from a network guy. :confused:

I have a DSL modem/router provided by Verizon a westell 6000 I think. It has a dynamic ip address. I have two desktops and my laptop. The desktops are plugged into a linksys switch I also have a linksys wireless access point connected to it, which is how I connect my laptop. I recently added a speco IP DVR with a ddns server for my CCTV setup; this is also plugged into the switch. I can reach the dvr from all my pc's without a problem and I can get online with my pc's with no trouble. So far so good.


This is where I go downhill fast

I would like to make the ip address of the DVR static so when it reboots the shortcuts on the pc's are still valid. I would also like to be able to use the ddns feature of the DVR which requires me to open some ports on the router so I can access it remotely via the web.

The pc's will still need to be able to connect to the internet; If possible I would like to keep these a dynamic address but would not mind making them static as well. So I guess what I am asking is how do I configure the router and pc's? Oh ya the PC's are all running win XP and the DVR is Proprietary software but that is the one part of this I can actually configure.



Thanks all

:shrug:
Posted By: skip555 Re: mixed static/dynamic network - 08/09/06 05:10 PM
set up static Ip's on everything on the LAN ,within the address range of the router .
Posted By: anthonyh Re: mixed static/dynamic network - 08/09/06 06:15 PM
so for example if my routers range is:
192.168.1.50 to
192.168.1.100

DVR=192.168.1.50
PC1=192.168.1.51
PC2=192.168.1.52
PC3=192.168.1.53

do I need to make any changes on the router itself?
Posted By: skip555 Re: mixed static/dynamic network - 08/09/06 07:21 PM
that would work , no need to change any router settings .

you could go into the router and set the range to 150-153 as a added security measure since you do have the wireless access point .

( I have mine set to three address , if I need a extra one I go in and add it then delete it when I'm done )
Posted By: UpstateNetworks Re: mixed static/dynamic network - 08/10/06 07:10 AM
The router's range likely refers to the addresses to make available for DHCP lease. If that is the case, I'd set up any static addresses OUTSIDE that range. With a 255.255.255.0 netmask, you can use any address 192.168.1.2-254 for the static ip.

For example, I have a web server at 192.168.1.200 and a printer at 192.168.1.35, with the router handing out addresses in the .100 to .150 range.

It's probably no longer strictly necessary, but in the case of Linksys routers, it used to be that anytime the router was power-cycled, it would happily start handing out IP addresses without checking to see what addresses were already in use on the network. Other consumer-grade routers behaved similarly.

Hopefully, they've all fixed that little bug by now, but you never know...
Posted By: skip555 Re: mixed static/dynamic network - 08/10/06 07:15 AM
why set static outside the range ?

if you limit DHCP to only the number needed and they are static then the router wont hand anything out becouse nothing will be asking for one
Posted By: RobCalltrol Re: mixed static/dynamic network - 08/10/06 07:18 AM
Most of the dhcp servers in these routers has an ability to relate a static address to a MAC address. Then when the DHCP client on the network requests an address, the server assigns the appropriate address every time.
Posted By: anthonyh Re: mixed static/dynamic network - 08/10/06 07:57 AM
well I tried to assign the static IP's within the range and the router is still hading out address. So I will try to set them outside the assigned range and see what happens
Posted By: skip555 Re: mixed static/dynamic network - 08/10/06 08:00 AM
how is the router "handing out address" ?

if all devices are set with a static Ip then no device will ask for a address .

the router cant "hand out a address " to a device that already has one
Posted By: anthonyh Re: mixed static/dynamic network - 08/10/06 08:31 AM
Then I may not have set up the static ip address properly on my pc's. After I reboot the PC, and check my ip address, it is assigned a different address, When I go back to my network settings the info I set up is replaced and "auto detect" is selected again...very very annoying, not sure why it is doing this, I am sure I am doing something wrong, I am just not sure what. Any Ideas???
Posted By: UpstateNetworks Re: mixed static/dynamic network - 08/10/06 08:44 AM
Quote
Originally posted by skip555:
why set static outside the range ?

if you limit DHCP to only the number needed and they are static then the router wont hand anything out becouse nothing will be asking for one
Then what is the point of running the DHCP server at all? :confused:
Posted By: anthonyh Re: mixed static/dynamic network - 08/10/06 08:55 AM
let me ask you this. I only need one address to be a static IP, that is the DVR, I do not care if the others are static or not. So if I set the DVR outside the DHCP range do you think this will work.
Posted By: skip555 Re: mixed static/dynamic network - 08/10/06 09:16 AM
Quote
Originally posted by UpstateNetworks:
Quote
Originally posted by skip555:
[b] why set static outside the range ?

if you limit DHCP to only the number needed and they are static then the router wont hand anything out becouse nothing will be asking for one
Then what is the point of running the DHCP server at all? :confused: [/b]
like I suggested in my earlier post added security with the wireless access point

limit it to whats needed if you need to allow access pop in and allow one or two adress more to be assigned , when you no longer need them take it back to what you are using .

example: normaly I hve three devices on my wireless network , when my son is home from school with his laptop I log into the router and allow 4 or more if he has friends with him .

when they leave back to 3 .

hacker can sit outside all night but the router is only going to allow 3 address .


there is no reason to set it out of the range that makes sense to me .
Posted By: skip555 Re: mixed static/dynamic network - 08/10/06 09:17 AM
anthony are saying you can't set a staic IP in the range on your camera ?
Posted By: anthonyh Re: mixed static/dynamic network - 08/10/06 09:37 AM
I can set one in the range on the DVR,well it seems to be set I have not rebooted the DVR, the trouble was when I tried to set one on my pc's it keeps defaulting back to obtain autmatically and assigns an address automatically. Will it cause any issues if I set the DVR with a static IP but leave the other computers as dynamic?
Posted By: skip555 Re: mixed static/dynamic network - 08/10/06 04:06 PM
I thought you wanted everything staic

sure no problem with one dynamic and everything else static we do it all the time with network printers .
Posted By: anthonyh Re: mixed static/dynamic network - 08/10/06 06:53 PM
actually it would one static the rest dynamic, I thought If I had one static all would need to be.

Thans for all the input
Posted By: skip555 Re: mixed static/dynamic network - 08/11/06 05:31 AM
for network printers we assign a static IP then when we install the printer on the workstaion it points to that address.

all workstaions address's are assigned dynamicly by the router

basicly the same thing you want to do
Posted By: anthonyh Re: mixed static/dynamic network - 08/11/06 05:46 AM
sounds great...I will give it a shot.

Once I get that all working I will worry about getting the proper ports set up on the router.

Appricate the help
Posted By: junkman Re: mixed static/dynamic network - 08/11/06 02:51 PM
Your westel modem/router might be set up slightly different, but this should help.

The router is probably 192.168.1.1, the DHCP range is .50-.100, you would want to set things like the WAP and camera to a static address from .2-.49 or .101-.254, anything else can be set to DHCP to have the router assign an address from .50-.100 or use a static address in the other ranges.

If you give something a static address in the DHCP range (.50-.100) the router wouldn't know about it and could issue the same address to a computer set for DHCP.

Personally, I like to use static addresses on everything.
Posted By: gcave Re: mixed static/dynamic network - 08/16/06 06:31 PM
As someone previously stated you should have a place within the DHCP scope to enter static reservations. Ping the IP address of the DVR and do a arp -a to get the MAC of the DVR. (There should also be a MAC address stamped somewhere on the device). Put the MAC in the scope. Then you can do a 1-to-1 NAT based on layer 4 information.

Greg
Posted By: UpstateNetworks Re: mixed static/dynamic network - 08/17/06 06:42 AM
The Westell 6000 does not have the ability to set up DHCP reservations. You can configure it to be a dumb pass-thru device and use a higher-end router behind it, but for the typical residence that is probably overkill.
Posted By: Kyawa Re: mixed static/dynamic network - 08/17/06 09:22 AM
I would set the static address OUTSIDE the range. Leave everything else alone. Make sure that your Linksys switch is in fact a switch and not a router. No other devices can have DHCP enabled.
Posted By: Herk Re: mixed static/dynamic network - 08/17/06 08:47 PM
And to answer someones previous question as to why you would set the static address outside of the addresses given to the router to use as DHCP addresses is this: If the static IP is set to a number that the router will not be handing out, then no other device or computer will get that address from the router, thus leaving the assigned address for the static ip always available to it. The computers being dynamic ip addresses would not make a difference in this case since the link to the DVR is the only thing needing to stay consistent for the computers to access it freely every time without changing settings. Hope that makes sense.....
Posted By: anthonyh Re: mixed static/dynamic network - 08/21/06 05:29 AM
everyone, thanks for all teh help, I now have the static IP address set up on the DVR, it is working great. My next step will be opening up the ports on the router to allow my remote access via the web..you may be getting a new thread shortly..thanks again
© Sundance Business VOIP Telephone Help