PDA

View Full Version : LAN server RESTRICTED CLIENTS???


iCe9
October 5th, 2003, Sunday October 5, 2003 04:28:17 PM
I recently started to build a LAN server for some parties. I'm running CS 1.5 w/ adminmod stats me and HLguard. The server runs in both internet and lan mode, but when in lan mode when I try to connect with another average joe computer I get a message reading:

LAN servers are restricted to local clients (class C).

How do I fix this? I have connected to other peoples servers with this "average joe computer", so I am thinking it has something to with the setttings of my new server.

If I create an internet server, I am able to acces it on the LAN without recieving the error. I could always just use it as a netgames server without an internet connection, but how do I fix this LAN problem?

P.S.- Should a 600 mhz comp be able to hold a 32 person LAN server?


Thanks

nuttyrat
October 6th, 2003, Monday October 6, 2003 05:11:51 AM
You need to look at your LAN setup. If your running your lan with sv_lan 1, then you need to make sure that all clients that are attempting to connect are using a Class C address. The best way to ensure that all client computers have a Class C address is to either have a DHCP server running, or a Router with a DHCP server setup.

Check your IP addressing.

If your IP address is 169.254.x.x then it won't work because that is not a class C address, that is a class B. Most Router DHCP servers use 192.168.0.x or 192.168.1.x for their address pools. I would set it up like this:

CS Server: 192.168.1.10
DHCP Scope: 192.168.1.11-192.168.1.254

You wouldn't use 192.168.1.1 because that would be the address of your router ;) and that setup also leaves you room to add more servers. Also, this ensures that you don't have any duplicate IP addresses. Hope that helps somewhat

Cheers!

iCe9
October 6th, 2003, Monday October 6, 2003 03:09:32 PM
OKKKKKKK, How do I do that?

nuttyrat
October 9th, 2003, Thursday October 9, 2003 03:21:20 PM
heh .... heh ..... heh ...

it would take a while to explain, best thing to do is do some research on Networking and TCP/IP

iCe9
October 10th, 2003, Friday October 10, 2003 07:11:24 PM
It seems to work over the net games funciton, without internet. So I guess I'll just stick with that unless I discover some problems with it. Thanks