1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Mixing DHCP addresses and fixed addresses in the LAN?

Discussion in 'Networking (Hardware & Software)' started by Greg Golden, 2005/04/25.

Thread Status:
Not open for further replies.
  1. 2005/04/25
    Greg Golden

    Greg Golden Well-Known Member Thread Starter

    Joined:
    2003/08/22
    Messages:
    199
    Likes Received:
    1
    I have a Netopia R9120 router which assigns DHCP addresses to my local machines. It works great. But the router has a limit of 12 addresses at one time. I can set the starting address, but 12 is the max! Now I have 10 machines and 2 printservers, so I am full up! Question: Can I assign permanent local IP addresses to some machines, let the router assign dynamic addresses to others, and have them all communicate? (The machines run Win2000, WinXPpro, and Win2000server.) TIA/ Greg.
     
  2. 2005/04/26
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Yes!
     

  3. to hide this advert.

  4. 2005/04/26
    Greg Golden

    Greg Golden Well-Known Member Thread Starter

    Joined:
    2003/08/22
    Messages:
    199
    Likes Received:
    1
    OK Tony, thanks. Anybody care to elaborate? I am trying this and it does not work. Note: In the router, the subnet mask is set at 255.255.255.240. If I try to change it to 255.255.255.0, it will not accept that, saying it "allows for too many hosts." Help me a bit further... thanks.
     
    Last edited: 2005/04/26
  5. 2005/04/26
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Don't change anything on the router. The 255.255.255.240 subnet mask is assigned to the router by your isp, you cannot use that subnet, only 255.255.255.0.

    To set up static ips for systems in your lan do this on each comp that wants a static ip:

    1. rt click Network Places & select Properties
    2. rt click the lan connection and select Properties
    3-a. click radio button Use following ip address
    3-b. select Internet Protocol (TCP/IP) & click the properties button
    4-a. type in the desired ip address
    4-b.type in the subnet mask 255.255.255.0
    4-c. type in the default gateway address = the ip address of the router (192.168.1.1 or 192.168.0.1, depending on your router)
    4-d. type in the preferred dns server = same as default gateway address (router)
    5. reboot.

    That's it!

    The router is the gateway and the router handles the dns queries using the dns server addresses assigned by your isp, so just use the router address for those fields.

    Note - most home routers, such as linksys, netgear, etc, need you to use ip addresses between 192.168.1.2 and 192.168.1.99 for static ips addresses because the dhcp server uses addresses 192.168.1.100 and above. So you have 98 static ips to choose from!

    When I do this, I organize it such that my www server linux box is always 192.168.1.99 and print servers are in a different range and workstation-desktops are in another range. This makes it easier to remember ip addresses when accessing these boxes on the lan.

    Always best to give servers, any kind of servers, static addresses, that way the comps on the lan won't have issues connection to them when the dhcp ips change.
     
    Last edited: 2005/04/26
  6. 2005/04/26
    NetDoc

    NetDoc Inactive

    Joined:
    2005/01/09
    Messages:
    215
    Likes Received:
    0
    To clarify this, what adresses are being assigned by the router? Provide an example.

    DRD
     
  7. 2005/04/26
    Greg Golden

    Greg Golden Well-Known Member Thread Starter

    Joined:
    2003/08/22
    Messages:
    199
    Likes Received:
    1
    Presently, the router is assigning the DHCP addresses. It has a maximum of 12 addresses by design. We set the starting address as 192.168.1.3, the gateway as 192.168.1.1, and we set the subnet mask at 255.255.255.240. So my machines pick up addresses from 192.168.1.3 - to - 192.168.1.14.

    I tried changing the subnet mask to 0, but it would not accept that.

    However, Netopia (the manufacturer) sells a $99.00 "upgrade" which will allow me the full range of my 254 addresses... :confused: For that price, I could buy a new router.

    I do like this router however, because it contains a dialup modem (another $$$ upgrade) which activates dialup internet access when the DSL fails. So I don't want to throw out the router... yet.
     
  8. 2005/04/26
    NetDoc

    NetDoc Inactive

    Joined:
    2005/01/09
    Messages:
    215
    Likes Received:
    0
    If you assign addresses outside the range of 1 - 14 the router will not be able communicate with them. It will think that they are on a different network and logically (from TCP/IPs perspective) they are, although physically they are on the same network.

    When the router sees an address such as 192.168.1 20 it will think it is unreachable because of the subnet mask which tells it to look for these on another network.

    The $99.00 upgrade will allow you to modify the subnet mask which will then allow up to 254 addresses. You will either have to upgrade or purchase another router to replace this one. It becomes a choice of what gives you the most bang for your buck.

    It may be possible for you to use one of your servers as a router by installing a second NIC. The subnet mask on the first card would be set to 255.255.255.240 and the other subnet mask could 255.255.255.0 with a different set of addresses, such 192.168.2.XXX.

    You will probably have to set up routing information on the Netopia router to be able to direct traffic to the second network. Check you documentation to see if the router allows you to do this.

    DRD
     
  9. 2005/04/26
    Greg Golden

    Greg Golden Well-Known Member Thread Starter

    Joined:
    2003/08/22
    Messages:
    199
    Likes Received:
    1
    OK, thanks for the explanation.

    One other idea: My serverbox runs Windows2000Server OS. IF I knew more about the server OS, perhaps I could have that box perform the serving of dynamic IP addresses... but then, I would still be limited by my router, I think... :confused:

    Perhaps I will look at new routers... :)
     
  10. 2005/04/26
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    The router is capable of this per it's manual:
    http://www.netopia.com/equipment/pdf/manuals/r9100/enetref.pdf ,
    but it may be easier to buy a 50 dollar linksys router instead of using the 2k server for dhcp. You *should* be able to route 1 of the netopia ips to the linksys which in turn can assign all ips. See the tree menu section in the manual called:
    >IP Setup & Network Address Translation
    >>IP Setup
    >>>Static Routes

    The only caveat I see in doing this is that you cannot use another gateway/router that has the same default ip address of the netopia. For example, the netopia's ip is 192.168.1.1 and so are Linksys devices. I believe D-Link & Netgear use 192.168.0.1, so should be ok with these as choices.

    May wish to call contact netopia beforehand...
     
  11. 2005/04/26
    NetDoc

    NetDoc Inactive

    Joined:
    2005/01/09
    Messages:
    215
    Likes Received:
    0
    Whichever option you choose, you will need to reconfigure your DHCP assignments on Netopia. This is based on the section titled "Rules of static route installation ".

    The simplest solution is still to spend $99.00, although Tony's solution is definitely workable.

    DRD
     
  12. 2005/04/27
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    were it me, I'd upgrade the router because after reading the manual, I want one! It appears to be much more robust than the average home routers currently in stores. I particulary dig the fact that can dial in to the router, manage it via a shell, and config the firewall manually.
     
  13. 2005/04/27
    NetDoc

    NetDoc Inactive

    Joined:
    2005/01/09
    Messages:
    215
    Likes Received:
    0
    That's my thinking also. Plus, a second router would involve configuring static routes. Another router will also affect performance. Modifications after upgrade only involve changing the DHCP scope to allow more addresses.

    DRD
     
    Last edited: 2005/04/27
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.