Unconfigured Ad Widget

Collapse

possible to run dhcp and static IP at same time?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • high_revs
    Calguns Addict
    • Feb 2006
    • 7763

    possible to run dhcp and static IP at same time?

    running ddwrt. but wondering for others who may or may not use ddwrt if you've been able to run dhcp and static IP at the same time. asking since i have a netgear nas, i'll want to ftp into it from outside and wouldn't want to do port forwarding for each IP # range for my dhcp clients. also was thinking of running remote control on it but would prefer static ip.

    can't really do static IP for all clients. some laptops go to other places and users won't really know (or forget and get flustered) changing from dhcp to static whenever they come to my place.
  • #2
    orchard
    Member
    • Jan 2011
    • 152

    You can reserve an IP based on the MAC address of the device, then it will not change. I had to do that for my NAS, as the printer port on the NAS is shared as a print device.

    Address Reservation
    # IP Address Device Name MAC Address
    1 192.168.1.3 STORA 0026F2160C42

    Address Reservation

    When you specify a reserved IP address for a PC on the LAN, that PC will always receive the same IP address each time it accesses the DHCP server. Reserved IP addresses should be assigned to servers that require permanent IP settings.

    To reserve an IP address:

    Click the Add button.
    Select the radio button of the computer you wish to add from the Address Reservation Table.
    If the computer is not on the Address Reservation Table, enter the IP address, MAC address, and device name of the computer you wish to add.
    Click the Add button when finished.
    Last edited by orchard; 10-05-2011, 11:42 PM. Reason: remove icons

    Comment

    • #3
      ke6guj
      Moderator
      CGN Contributor - Lifetime
      • Nov 2003
      • 23725

      as mentioned above, you can use DHCP to "staticly" set an IP address per MAC address. Or, if you can set your DHCP server to server a range of IP addresses, and then manually set the NAS with a static IP address that falls outside the DHCP range. so, if the router issues 192.168.1.10-50, you just set the NAS to use an address like 192.168.1.51. And once you have that .51 addresses statically set to the NAS, then you can go into the router and port forward the ports to the .51 address.
      Jack



      Do you want an AOW or C&R SBS/SBR in CA?

      No posts of mine are to be construed as legal advice, which can only be given by a lawyer.

      Comment

      • #4
        Nose Nuggets
        Calguns Addict
        • Apr 2008
        • 6801

        it would be easier to keep DHCP running, and give the NAS a static IP outside of the DHCP range.

        so if your network device is 192.168.1.1, and your DHCP range is 192.168.100 - 192.168.1.200, give your nas the IP 192.168.1.10 and create a rule to point port 21 traffic to .10.


        "It is to secure our rights that we resort to government at all." -Thomas Jefferson

        Comment

        • #5
          high_revs
          Calguns Addict
          • Feb 2006
          • 7763

          will try those. thanks!

          Comment

          Working...
          UA-8071174-1