![](https://seccdn.libravatar.org/avatar/41ed85ec60b719fa1654d12375dd9bd6.jpg?s=120&d=mm&r=g)
On Mon, 2005-06-13 at 20:56 +0100, Kevanf1 wrote:
On 13/06/05, Susemail
wrote: How do I tell if it's a valid one? I know 127.0.0.1 is valid:
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8699 errors:0 dropped:0 overruns:0 frame:0 TX packets:8699 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:2750512 (2.6 Mb) TX bytes:2750512 (2.6 Mb)
Jerome
There are specific sets of IP addresses that are generally reserved for home networking. Now I'm on shaky ground here so I'm sure others more knowledgeable will prop me up (please :-))) I think that there are three classes of internal (home in this case) network IP addresses. I think you ought to be looking at having 192.168.0.1 as eth0 on your first PC. Then after that 192.168.0.2 for the next one and so on with 0.3 and 0.4 etc I think you can have up to 256 machines
With 192.168.0.0/255.255.255.0 you will actually get 254 usable addresses. You cannot use the .255 address as it is the broadcast address. You cannot use the .0 address (I think) as it denotes the network.
connected like this. This is a PC via switch to PC network not via server. I have mine set up this way and it works. The 192 is the internal IP start number if you like. This would use a subnet mask of 255.255.255.0
Feel free to point me in the right direction if I'm wrong.
There are three private address spaces that are -not- routable on the internet and are meant to be used on internal networks only. IP address range, network/mask, number of address 10.0.0.0 - 10.255.255.255, 10.0.0.0/8, 16,777,216 addresses 172.16.0.0 - 172.31.255.255, 172.16.0.0/12, 1,048,576 addresses 192.168.0.0 - 192.168.255.255, 192.168.0.0/16, 65,536 addresses Check http://www.idevelopment.info/data/Networking/Networking_Basics/BASICS_Privat... for further info. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge