Was ist die Standardhierarchie der lokalen Intranet-IP-Adressierung?

342
Mawia HL

Ich habe meinem lokalen Server-Computer eine IP-Adresse von 192.168.1.2 zugewiesen. Von diesem Server aus möchte ich eine einfache Anwendung mit Wamp-Server auf bis zu fünf oder mehr Computern hosten. Für das Standard-Gateway habe ich 192.168.1.1 und die Subnetzmaske wäre 255.255.255.0. Meine Frage ist also, was die richtige und korrekte Art der IP-Adressierung der anderen fünf oder mehr Computer wäre. Jede Hilfe und Beratung wäre sehr dankbar.

0

1 Antwort auf die Frage

2
Zina

I assume your question is about a local network with a router. A standard design depends of your number of network devices attached to it and what you want to achieve. Better said there are best practices to follow than a standard. For a small network like the one you described it is okay to have the IPs set statically for all of them.

As you said you will use a 192.168.1.0/24 network so you have a limit of 254 hosts (192.168.1.1 to 192.168.1.254, as .0 describes the network and .255 being the broadcast address).

So it will be fine to set those 5 computers to any IP from the above range except 1 - your router, 2 - your server and every computer should have a different IP with the same default gateway (needed only for access outside your network) and subnet mask.

A setup like that is okay if your number of hosts is low. When your number of hosts will increase you have to think about DHCP, DNS, then you probably will find that it could be a good think to divide the networks (and probably a /24 network will not suffice any more).

To come back to your question, if those other five computers are clients I would use the router's DHCP capability and set it to give out IPs starting from eg 20, so you would have enough room to add other servers with static IP, but as said above when the environment starts to grow you will have to implement services which will be helping you maintain it without the overhead when doing it manually.

Bedeutet das also, dass die IP-Adressierung für die anderen fünf Client-Computer 192.168.1.20, 192.168.1.21, 192.168.1.22 und so weiter lautet? Mawia HL vor 8 Jahren 0
In dem Fall, den ich beschrieben habe, wäre es das. Aber wie gesagt, dies ist nur ein Beispiel, wie Sie es tun können. Zina vor 8 Jahren 0