Forum Moderators: open
If so, there is an option that you can select for DHCP, and when the workstations come on line, they will look for the default gateway, usually your router, and the router will assign them an IP address.
If you want to make it more secure, you can base the IP address allocation on the MAC address's of the network cards for the workstation computers. Thats as about as "static" as you can get if you are using the router to assign addresses.
Otherwise, you can configure the individual workstations to use static addresses as long as it falls within the routers subnet. That way, the workstations will see the router, and travel out to the Internet and see each other on the LAN.
I can't connect remotely when router is setup using DHCP
Doesn't make sense. Whether or not your internal network is using DHCP to obtain IP addresses shouldn't affect whether or not you can connect remotely.
First of all, what do you mean by "connect remotely?" Are you using a VPN supported by your router? Or some remote-control software to one of your internal machines, using port-forwarding on the router? Something else?
You can arrange for specific workstations to have consistent IP addresses (e.g. for port-forwarding) while still using DHCP by reserving specific addresses for those machines. You need to configure the router assign a specific address to a machine based on it's MAC address.
What setting must I use in order to get the IPs static?
Just disable the DHCP server in the router, then.
As for actually assigning the IP addresses... you will then have to assign them on each PC individually. You won't be able to use the router to assign them addresses.
Turn off "obtain address automatically" and assign an IP address manually. You will have to be careful to keep-track of the addresses, as all hell will break loose if you duplicate one.