Glossary: DHCP is the abbreviation of Dynamic Host Configuration Protocol. Given that it has been used above and will be used several times below, it will be helpful if you know what it does. Think of this way. Say you have a city with roads and houses with no names or numbers. Everyone went away choosing addresses and painting them on their houses and putting Home Depot white stickers on their mailbox. This would work, but someone would use the wrong street name and two people would choose identical numbers, and it would be a pain. Plus, if two people did do that, you would have to hunt all over to find the other person, then argue over who gets 327 Maple Dr. Or the city could have a truck which drives around and flawlessly and automatically assigns addresses to each house. This is what a DHCP server on a router or server does. It flawlessly assigns IP address and other unique pieces of information like a default gateway or DNS. Just like the people doing it, you could do it also, but the larger the city, the more chances for mistakes, and the larger your network, the more chances for mistakes. Silly analogy, but hopefully, helpful.
Do you have a fixed IP address for the server?
I don't know, but I didn't ask for it when I ordered my internet service for the office. So probably not.
One thing I forgot to mention is that adding the client computer to the Home Group helps frequently, but it still happens that I can't connect.
Khaled, John is asking you a different question than you are commenting on. Generally, your network goes: ISP (Static or dynamic IP address) (public IPs) -> Modem - Router/Firewall -> Switch. Most people in a SMB environment will buy a static IP as it gives you many more options. Some buy one, some buy seven. There isn't a huge difference in cost, but seven still only gives you five (no need to go into that). I can guarantee you if you did not have a discussion on static IP addresses, you got a dynamic IP. Plus static cost two to three times as much.
These IP addresses connect to the public or outside of the router. There is then a subnet for the public part of the router -- 255.255.255.248 (don't make me explain that) and a default gateway, generally one of the IPs or one assigned by your Internet provider. The traffic will then traverse the router in a way you allowed via the firewall. On the inside of the router, you have the default gateway. You must have a default gateway so traffic from the inside knows where to get to the router. This is usually 192.168.1.1 or 16.1 or 10.1. This is why I wouldn't use 192.168.1.1 for your server, but if this is the default gateway of your router, you will know soon enough.
So in summary, public IP address from the modem/ISP to the router to the default gateway to either your computers or your server depending on your network and whether you choose P2P or not. If you have a full blown client/server, then it is best to turn off the DHCP server of the router and use the one on the server. If you do not use the DHCP of the server, then use DHCP server of the router. You can go with none of them and use all statics on your network computers.
You could go around to all of your computers and set them with static IP addresses as below:
![[Linked Image from ]](/ub/attachments/usergals/2013/12/full-4-558-static.png)
You will notice on this address, which was put in manually, you have:
IP 192.168.1.13
Subnet mask 255.255.255.0
Default gateway 192.168.1.1 (this has to match the inside address of the router)
DNS 192.168.1.100 (this will likely be different for you as this is my server -- here traffic goes from this client to the server to the router.
Yours will likely be the DNS of your ISP. That will give you this.
If I left the NIC blank and instructed it to use DHCP, you may get:
![[Linked Image from ]](/ub/attachments/usergals/2013/12/full-4-559-dynamic_ip.png)
192.168.1.32
255.255.255.0
192.168.1.1
192.168.1.100
Now you may ask, if I can put these in, then why do I need DHCP? Good question. Basically it is best practice to assign your server or main computer (with AC and SQL) with a fixed IP address like the first one. Since all of the other computers must connect to that computer, it is nice to know it will always be 192.168.1.13. All of your NIC addresses will be the same except the last octet of your IP, e.g. 13 or 32, etc. As to the other clients why use DHCP. The reason is that the DHCP server will pass out addresses such that each computer gets the correct address every time. This is especially true when you have have 40 or more computers. It is easy to type in 192.169.1.32 in error and then have networking issues. As to a previous post, let's say, the DHCP server has given me an IP address, but I do not know what it is. That is when you go to RUN, then CMD, then IPCONFIG.
![[Linked Image from ]](/ub/attachments/usergals/2013/12/full-4-561-cmd_prompt_ip.png)
Notice the same configuration as above, and it specifies that the computer is 192.168.1.13.
We use ipconfig /all many times as it gives us more info including the server info.
If you use IPMsg for sending messages, it has the added benefit of listing all of your IPs for every computer.
Finally, while you can use Amazing Utilities, a quick and easy way (if your AC will open to find the main server) is the following:
![[Linked Image from ]](/ub/attachments/usergals/2013/12/full-4-562-reset_ac_connection.png)
If you right-click anywhere in the highlighted area you will get the following window:
![[Linked Image from ]](/ub/attachments/usergals/2013/12/full-4-563-reset_data_path.png)
This will list your port, path and ability to change the path.
So, all this to explain that whether or not you have fixed IPs on the network vs static IPs from your ISP.