General discussion

Locked

DHCP and a Static IP

By Battallion14 ·
I am a lowly MCSE student and am goofing around with my home machine. It is currently running NT server 4.0 and is a PDC. I access the internet through a Cisco 675 and my ISP uses DHCP. I have 2 NICs and was wondering if it was possible to use both DHCP and Static IP? I know the easiest solution would be to change my service to static IP but do not want that expense. I could also add a hub and connect through that to the internet, but would prefer not to. Any ideas out there? Getting tired of looking at the DHCP error message when I boot up.

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

DHCP and a Static IP

by curlergirl In reply to DHCP and a Static IP

Unfortunately, I'm not familiar with the Cisco router you're using, but if it includes a hub (many routers include a 4 or 8 port hub) and has the ability to provide what's called NAT or network address translation, you are all set. Actually, you don't need two NICs to do this, just cable the server NIC to the hub on the router. What you want to do is set up your NT server with a static private address (i.e., 10.0.0.1, subnet 255.255.255.0) and your router also with a private address in the same subnet (i.e, 10.0.0.2 subnet 255.255.255.0). On the server, use the router's static IP as the gateway address. Then set up the router to do NAT, and set your gateway and DNS info on the router according to your ISP's requirements. The router will then get its external IP address through DHCP from the ISP. If you need more specifics, feel free to email me. Hope this helps!

Collapse -

DHCP and a Static IP

by Battallion14 In reply to DHCP and a Static IP
Collapse -

DHCP and a Static IP

by McKayTech In reply to DHCP and a Static IP

I'm not absolutely clear what your setup is but I assume that one NIC goes to the 675 DSL router and the other goes to a home network.

To answer your question, yes it is possible to use both DHCP and static addressing. Go to Control Panel-Network-Protocols. Highlight TCP/IP, then Properties. On this page, you will be able to select the NIC and set the properties for that NIC so you could leave the DSL NIC the way it is and set the other NIC to a static private IP address of your choosing.
Sharing the Internet connection with the home network is whole 'nother story but can be done several different ways and I'd be glad to comment on that as well.

regards!

paul

Collapse -

DHCP and a Static IP

by Battallion14 In reply to DHCP and a Static IP
Collapse -

DHCP and a Static IP

by dyeager In reply to DHCP and a Static IP

1) both Nics in NT, multiple pc access to internet

Give both Nics private addresses, i.e.: 10.1.1.1 and 10.1.2.1, with masks of 255.255.255.0. Give router address of 10.1.1.2, which should be gateway for 10.1.1.1 nic in NT. IP forwarding should be enabled in NT to allow a pc on 10.1.2 segment to go out to internet. Static or dhcp gateway for 10.1.2 segment should be 10.1.2.1, which routes to 10.1.1.2 to internet.

Enable NAT in 675:
cbos# set nat enabled
cbos# write
cbos# reboot

DHCP on NT needs ranges for both segments. Errors may come from a conflict with DHCP in 675, which defaults to being a DHCP server

2) Have only server access internet

set internet nic card to dhcp, enable 675 only as a bridge, put static addresson other card with private address, enable dhcp on server with addresses only for private address segment.

3) one Nic in NT, another in different pc.

Use only 10.1.1 range in both pcs. Disabling DHCP in NT preferred -- it could be off and second pc could still ac

Collapse -

DHCP and a Static IP

by Battallion14 In reply to DHCP and a Static IP
Collapse -

DHCP and a Static IP

by Green Lantern In reply to DHCP and a Static IP

No need for a second NIC.
I'm using a cisco 675 on a dsl hookup. I assigned a static ip address to my PDC within the 10.0.0.0 range. This is the same range the DHCP is using. Since the DHCP uses 10.0.0.1 by default, setting the PDC to a static ip address higher than the anticipated number of clients the DHCP will connect with I avoided a conflict.

For those skeptics out there, this has been working fine for the past 4 months.

Collapse -

DHCP and a Static IP

by Battallion14 In reply to DHCP and a Static IP
Back to Windows Forum
8 total posts (Page 1 of 1)  

Related Discussions

Related Forums