help with dhcp setup in win 2K

caffrey

Member
Sep 5, 2000
42
0
0
i'm trying to set up dhcp in win 2k server so I can assign IP addresses to my roomates PC's

i've got two NIC's in the machine one gains a dynamic (well it's never changed in 3 months actually) IP from my ISP. DHCP is installed, scope is defined, I'm not sure how to set up the LAN NIC card to throw out the addresses. I've used Sygate before and in the setup it asks you which NIC card is External and which is internal... pretty easy setup... I'm not sure where to do this in the DHCP setup.. Say my scope is 192.168.0.1 -192.168.0.50. do I set my internal NIC to 192.168.0.1??? what protocols do I need installed?? i've found a bunch of stuff on the web but it's all related to how to set up the DHCP manager, nothing with how to configure the two NIC cards. any ideas????
 

Saltin

Platinum Member
Jul 21, 2001
2,175
0
0
In a multi-homed situation, DHCP will serve leases from the NIC that is on the same subnet as the scope itself.
Hence, your Internet NIC is set to obtain from ISP, and your internal NIC, which will serve IP's via DHCP, should be configured with a static IP that falls in the same subnet as the scope you have configured.
It is important NOT to include the static IP you assign to the DHCP NIC in the scope itself.

Hence, if the DHCP's NIC was 192.168.0.1
The scope should start at 192.168.0.2- and go up to wherever you need it to go.

Once you have this setup, it should work fine. If it does not, there are other problems.
Are you using Active directory?

 

caffrey

Member
Sep 5, 2000
42
0
0
thanks for the reply... upon further investigation i discovered NAT as an alternative. I am wondering if this is the solution I want? it seems if I'm running a DHCP server, my ISP can somehow know about that?? I don't think they'd approve... so do you think NAT is what I should try?? i haven't set up either yet... i uninstalled DHCP after I read that my ISP may cut me off if they discover i'm serving up access to other computers....
 

caffrey

Member
Sep 5, 2000
42
0
0
in response to your other question... I have not yet set up active directory yet... i'm just figuring out what it is... i'm not sure if i will or won't.... seems like it's something i should learn though so i probably will once i get past this little problem..
 
Feb 12, 2002
42
0
0
You should try Internet Connection Sharing (ICS), a feature of Windows 2000 to shre your connection the simplest way. Just go to the properties of thr card that is connected to your ISP. There is a sharing tab, on which you can start the ICS service. This service sets up everything from your DHCP service to assigning a static address to your other card. It is very easy to use and maintain.
 

caffrey

Member
Sep 5, 2000
42
0
0
i did think of using ICS, however, i eventually want to set up VPN service and I have read that ICS and VPN do not work together... anyone have an opinion on what's better... NAT or DHCP for my solution??
 

caffrey

Member
Sep 5, 2000
42
0
0
so, i gave NAT a try... seemed like the installation was pretty easy... picked internal and external adapters... the client machines receive IP's but i still cannot ping the gateway or resolve anything from the client machines
 

Woodchuck2000

Golden Member
Jan 20, 2002
1,632
1
0
Nat is wonderful if you can get it working.
For the client machines:
Set the DNS servers the same as those on the external adaptor in the server (run ipconfig /all to find out what they are)
Set the gateway to the IP address of the internal card on the server
Make sure that IE isnt trying to use a proxy - NAT is completely transparent.

On the server:
Just install NAT, and make it clear which card is internal, and which is external

I'm currently connecting via NAT to my cable modem, it work's very well - much better than a proxy.
The only issues are those of security, but if your machines are locked down properly, there should be no problems.