Discussion Locked

ip address

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

i am setting up win nt network. and i was wondering we did not install dhcp so when i specify a ip address and a subnet address how do i know what it should be? does it matter can i choose whatever i want? is there a good rule of thumb to this?
thanks
steve

4 replies

by hstahl

Steve,

First I would suggest reading this: http://www.helmig.com/j_helmig/tcpip.htm

Its a real quick intro to TCP/IP. To answer your question I really need more info. However, if this is a private network that does not need to connect to theInternet then you can use whatever IP addresses you want for your clients. However, if you will be connecting to the Internet you will either need a range of IP addresses provided by your ISP or you can use addresses from pools of reserved addresses. These reserved addresses are not considered valid IP addresses on the Internet and are thus reserved for private networks. They exist in the following ranges:

Class A: 10.0.0.0 ? 10.255.255.255 (subnet 255.0.0.0)

Class B: 172.16.0.0 ? 172.31.255.255 (subnet 255.255.0.0)

Class C: 192.168.0.0 ? 192.168.255.255 (subnet 255.255.255.0)

If you are talking about a small network using Class C (192) is the best. You would do something like this:

Server:
IP: 192.168.1.1
Sub: 255.255.255.0

Workstation1:
IP: 192.168.1.2
Sub: 255.255.255.0

Workstation2:
IP: 192.168.1.3
Sub: 255.255.255.0

etc...
If you are connecting to the Internet there are two other things you will need to configure, a default gateway and at leastone DNS server. Check w/ your ISP for the DNS server info. The default gateway is usually the IP of your Internet router or firewall.

If this is a network of more than about 10 machines for sake of your own sanity I urge you to use DHCP. It really makes life easier. If you need some more help just ask.

-Heath

by hstahl

One thing I forgot to mention, if you are connecting to the Internet and you are using the private addresses (ie, not the range your ISP gave to you) you will need to have NAT (Network Address Translation) done somewhere on those private addresses.The reason is that they aren't valid on the Internet and your requests would never go anywhere. NAT turns those private addresses into something that *can* work over the internet. Most firewalls will do this for you, as will a proxy server or a Windows machine setup to do internet connection sharing either via built in MS stuff or 3rd party app.

This discussion is closed to new replies.