Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Windows 2000 Pro / NT Workstation Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Windows 2000 Pro / NT Workstation Support Find support for Windows 2000 Pro / NT Workstation here

Reply
 
LinkBack Thread Tools
Old 03-14-2003, 08:34 PM   #1 (permalink)
S.W.A.T
 
Doonz's Avatar
 
Join Date: Jun 2002
Location: Long Island
Posts: 1,481
OS: WinXP, Vista, MAC 10.x


Send a message via AIM to Doonz
Question Looking for advice....

Just set up a W2K server....to access the interent I need to set a static IP but since I am connected to a cable modem I need to change it every two day to matain the internet access....since I am playing with the server....what recommendations do you guys/girls have to set up DHCP to issue a set IP adress in a certian range so I dint have ot keep resetting it???


What ohter advice do you guys/girls have to setting it up...my ultimate goal is to get it steady enough to use no-ip.com and give it access via FTP...or telent...but that is down the road....

Thanks ofr any advice, education or input you can give:bandit:
__________________
Simple Wise-A%$ Techie
Doonz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 03-15-2003, 10:16 AM   #2 (permalink)
Manager, Networking Forums
 
johnwill's Avatar
 
Join Date: Sep 2002
Location: S.E. Pennsylvania, US
Posts: 41,822
OS: Windows 7, XP-Pro, Vista, Linux


Blog Entries: 1
With a server, I'm assuming you'll have one NIC attached to the cable modem, and the other to the internal network, right? If so, why can't you configure the NIC to the cable modem for whatever is required? I have a client with W2K server and DSL, the NIC to the DSL is configured for the service, and the other NIC has a static address for the rest of the network, works fine.
johnwill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-15-2003, 11:47 AM   #3 (permalink)
S.W.A.T
 
Doonz's Avatar
 
Join Date: Jun 2002
Location: Long Island
Posts: 1,481
OS: WinXP, Vista, MAC 10.x


Send a message via AIM to Doonz
Two thing that mess up the works....beside my stupidity

connecting from cable....to cable modem...to Office connect 3 com gate way to the three machines....

Plus I need to drop another nic in....trying to cheat...thanks john
__________________
Simple Wise-A%$ Techie
Doonz is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-15-2003, 01:47 PM   #4 (permalink)
Manager, Networking Forums
 
johnwill's Avatar
 
Join Date: Sep 2002
Location: S.E. Pennsylvania, US
Posts: 41,822
OS: Windows 7, XP-Pro, Vista, Linux


Blog Entries: 1
Yep, you don't want the cable modem directly on your internal network, need some buffering there. :)
johnwill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-16-2003, 12:10 PM   #5 (permalink)
Mech-Tech
 
tcheavey's Avatar
 
Join Date: Aug 2002
Location: Oakland/Berkley approx.
Posts: 289
OS: Win 2K


Send a message via Yahoo to tcheavey
Yeah, and setting up DHCP reservations is done at the server issueing addresses your server can't say "I want this add." If you install DHCP on your server and authorize it, look out! You'll be giving out addresses to anyone needing a lease as they logon. IT admin might get upset I'm not impliying you would, but we have had students do it at school.
__________________
The Redskins Lost.
Go Black Knights!!!!
tcheavey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-16-2003, 03:33 PM   #6 (permalink)
Manager, Networking Forums
 
johnwill's Avatar
 
Join Date: Sep 2002
Location: S.E. Pennsylvania, US
Posts: 41,822
OS: Windows 7, XP-Pro, Vista, Linux


Blog Entries: 1
Quote:
Originally posted by tcheavey
Yeah, and setting up DHCP reservations is done at the server issueing addresses your server can't say "I want this add." If you install DHCP on your server and authorize it, look out! You'll be giving out addresses to anyone needing a lease as they logon. IT admin might get upset I'm not impliying you would, but we have had students do it at school.
Actually, the DHCP handshake has the option of the machine requesting a specific IP address. Of course, the DHCP server has the option of either granting that request, or offering a lease on another IP address, so there's no guarantee that you'll get the requested address. Of course, if you don't get the requested address offered, you can just refuse the lease and not talk! :D:D
johnwill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-17-2003, 01:01 PM   #7 (permalink)
NetEngr/Geek
 
Pseudocyber's Avatar
 
Join Date: Sep 2002
Location: Earth\US\NC\Charlotte
Posts: 1,394
OS: Win2K


I'm curious why your server needs a new IP address every two days to maintain internet access?

If a DHCP interface is connected, the protocol should request to "renew" the lease when the lease period is half way expired. For instance - if the lease period is 24 hours, then it should request an extension at the 12 hour mark. Assuming it is able to talk to the DHCP server, the DHCP server should still have the IP assigned to it and there shouldn't be a problem with receiving the same IP address to be extended for another 24 hour period.

If a client and DHCP server are both accessible and on 24/7, the client should, theoretically, have the same IP address indefinitely, without reservations.

If you're running a DHCP domain and you want to make sure a certain machine receives a certain IP address without using static addressing, you would reserve the IP address for a certain MAC address. You would do this in a large network because you can still dynamically assign other networking info to the client even though they always get the same IP - for instance if you wished to change the default gateway, DNS server, etc.

HTH
__________________
AM = :coffee: PM = :cheers:

CCNA, NNCSSx2, MCSE (NT), A+, CNA
Pseudocyber is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-17-2003, 09:45 PM   #8 (permalink)
Mech-Tech
 
tcheavey's Avatar
 
Join Date: Aug 2002
Location: Oakland/Berkley approx.
Posts: 289
OS: Win 2K


Send a message via Yahoo to tcheavey
johnwill, How do you make this request from the client? Cmd line? I don't see that config anywhere in the options. I was just wondering, not that it would make any sense to do. Normally a client would not have any idea of the DHCP add scope.
__________________
The Redskins Lost.
Go Black Knights!!!!
tcheavey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-18-2003, 06:50 AM   #9 (permalink)
Manager, Networking Forums
 
johnwill's Avatar
 
Join Date: Sep 2002
Location: S.E. Pennsylvania, US
Posts: 41,822
OS: Windows 7, XP-Pro, Vista, Linux


Blog Entries: 1
It depends on the client, the DHCP request protocol allows you to request a specific IP address. I wrote a client for an aerospace application, and I wanted a specific IP whenever possible, since some of the diagnostic tools assumed a specific IP.

If you really want to get into TCP/IP architecture and protocols, I suggest the three volume set "Internetworking with TCP/IP" by Douglas E. Comer. It's been my bible for years when I want to find out what's going on under the covers. :)
johnwill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-19-2003, 07:35 PM   #10 (permalink)
Mech-Tech
 
tcheavey's Avatar
 
Join Date: Aug 2002
Location: Oakland/Berkley approx.
Posts: 289
OS: Win 2K


Send a message via Yahoo to tcheavey
Well, just for instance with W2K, is it a CMD line thing or what?
__________________
The Redskins Lost.
Go Black Knights!!!!
tcheavey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-20-2003, 04:06 PM   #11 (permalink)
Manager, Networking Forums
 
johnwill's Avatar
 
Join Date: Sep 2002
Location: S.E. Pennsylvania, US
Posts: 41,822
OS: Windows 7, XP-Pro, Vista, Linux


Blog Entries: 1
To be honest, I've never tried to do it with Windows, because it's never been a requirement to have a specific IP address. When I had my embedded processor in the avionics rack, I needed to be able to find it under all conditions. Since we had default IP addresses when the DHCP server wasn't available, I wanted that to be the same when DHCP was running if possible.

Like I said, it's an option when you build your DHCP request packet, but it's not required for DHCP to function. I'm not sure if Windows will allow you to request a specific IP, but I do know that Windows 2000 Server can be configured to bind an IP address to a MAC address.
johnwill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 03-20-2003, 04:51 PM   #12 (permalink)
NetEngr/Geek
 
Pseudocyber's Avatar
 
Join Date: Sep 2002
Location: Earth\US\NC\Charlotte
Posts: 1,394
OS: Win2K


As Johnwill said, the preferred method is to deal with it on the server side, not the client. If you have a machine that you always want to be a specific IP, then you need to make a reservation on your DHCP server.

You still didn't answer my question as to why you need it to change every two days ... ;)

It is my understanding that Windows will "cache" the IP in its registry. When it sends out a DCHP request, it will use this cached IP address from the regisry and request that it receive it. If you're relying solely on the client side, there is NOTHING on the server side that will ensure you actually get it. If the server side doesn't have a reservation, and the client releases it, DHCP is designed to be efficient and hand it out when its turn comes.

Now, as I've said, if your box is running 24x7 and it is theoretically able to reach the DHCP server 24x7, your box, the client, will request a "renewal" of the lease on the IP at the halfway point in it's lease time.

For instance ... the box I'm on at work has this when I type "ipconfig /all":

Lease Obtained. . . . . . . . . . : Thursday, March 20, 2003 4:40:27 PM
Lease Expires . . . . . . . . . . : Thursday, March 20, 2003 9:40:27 PM

Obviously, my lease lasts for 5 hours. This means at 4:40 + 2.5 hrs, it should renew itself and the "Lease Obtained" should change to 7:20 PM. However, I'm not working that late for you Doonz, so I'm not going to test it tonight. ;)

So, your box, if its always on and your DHCP server is always available should always have the same IP. If for some reason, the DHCP server is unavailable, I believe it will request a release every 30 minutes - I could be wrong on that.

But the best thing, again, is to reserve it on the server side. However, if the server is your ISP, this is where paying them the $$$ for a reserved IP address comes in!

HTH :D
__________________
AM = :coffee: PM = :cheers:

CCNA, NNCSSx2, MCSE (NT), A+, CNA
Pseudocyber is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 10:25 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85