Discussion Locked

The TCP/IP protocol for home use

0 helpful
14 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am wanting to establish a +-20 machine network at my home. I will be using a Linux box as a router and was wondering what the IP addresses would be as well as the subnet masks. I will access the internet via the router and a dial-up connection at various times.

14 replies

by kshum

you can use the nonrouting ip address such as
10.x.x.x, 192.168.x.x, 172.[16-31].x.x and use what ever netmask you want as long as it fits in ip range

by hylton

A little more detail regarding the adress range make ups and how to pick15 or so nodes.

by kevin m. hirahara

Hello,

Kshum is very correct.

With the creation of RFC 1597, RFC 1627, and most recently RFC 1918, the addresses he listed were given special purpose and were removed from being routable addresses on the Internet. The Internet Assigned Numbers Authority (IANA) actually reserved those three blocks of IP address space for private networks (x.255.255.255, being the broadcast):

10.0.0.0 to 10.255.255.255
172.16.0.0 to 172.31.255.255
192.168.0.0 to 192.168.255.255

These addresses were designed for internal address space only and will not conflict with any public IP schemes.

Regards,

Kevin.

by mckaytech

The answers above are correct for your internal network. I generally just use 192.168.0.1 to 192.168.0.254 for my addresses and a subnet mask of 255.255.255.0.
That gives me roughly 250 addresses to work with.

On the outside world, your IP address and subnet mask will be determined by your ISP. The subnet mask is often Class C (255.255.255.0) but not always so you'll need to get that information from them. (For example, my ISP uses a subnet mask of 255.255.255.128 even though it is a Class A address block).

One suggestion I might make would be to consider using the Linux Router Project software rather than a full distribution. You can run it from a floppy on a 486/16meg of RAM with no hard drive and most of the configuration work is already done, both for dialup and broadband connections.

paul

by wlbowers

With this many machines you better go with cable or dsl. If they aren't avaible isdn.

If you can go with cable or dsl get a Gateway firewall and let it dish out the ip's.

If you have to go with dialup the the answer that suggested the 10.0.0.0255.255.255.0 is the way to go.

Good Luck Lee

by hylton

Seeing as via the email address you could see that I am based in South Africa and that we do not have the DSL ability here with our monopolistic telecoms provider.

by hylton

Some of the answers recd have been helpful in that they have mentioned the IP ranges I could use but I would appreciate someone telling me how to work out the subnets and IP numbers if I chose one which would give me up to 254 addresses.

by estebandelatorre

Consider using 192.168.10.x MASK 255.255.255.0 as an example. Don't worry about how many, due to the fact that you will access internet using NAT (that is to said: all machines from your network will access internet (using linux public ip address) as if they are the linux box itself.
The problem with subnets came, when you need to setup a large number of machines with real public ip address. Since your side will be a private lan, you can set the number of host that you want.

help it's usefull

by hylton

I would have accepted this if there had been more details especially on Nat etc.

by wlbowers

Check out the SMC7004br. It is a Firewall,
router, DHCP server, and printer server
for one printer. It has provisions for a
cable or dsl connection {wan} plus a db9
serial port for external 56k or isdn
modems. It will do the hard work foryou.
Use the Linux box for something else.

Assign the server a fixed address and let
the smc do the rest.

To answer your question another way.
I use the following in a 30 user network.
Server 10.0.0.2
Router to internet gateway 10.0.0.1Printers, P Servers 10.0.0.5 ~ 10.0.0.10
Client machines
10.0.0.100 ~ 10.0.0.130
Subnet mask for whole intranet.
255.255.255.0
The wolves out there will say the subnet
mask is overkill but it is easy to
remember.

by hylton

although acceptable bear in mind that I am just connectring a whole stack of machines together. I liked the IP numbrs suggested.

This discussion is closed to new replies.