Name Network Address Subnet Mask Broadcast Address
Office 1 192.168.1.1 255.255.255.0 192.168.1.255
Office 2 192.168.2.2 255.255.255.0 192.168.2.255
Office 3 192.168.3.3 255.255.255.0 192.168.3.255
this isn't quite right. should be:
Code
Name Network Address Subnet Mask Broadcast Address
Office 1 192.168.1.0 255.255.255.0 192.168.1.255
Office 2 192.168.2.0 255.255.255.0 192.168.2.255
Office 3 192.168.3.0 255.255.255.0 192.168.3.255
The network address is the same thing as Network ID/Subnet ID. Your subnet is /24 so only the first 3 octets are part of your network ID. meaning the 4th octect will be 0 for your network addresses. So just remember that you can only use the bits in your subnet mask for the network ID.
For the second part we just choose an office. lets got with office 1. I will make up a hypothetical as I need more details. It says provide "minimum number of networks needed for the site". Well, I don't know the network requirements for this site.
Hypothetical: Office requires vlans for: 2 client networks; 1 phone network, and 1 printer network. so total you need 4 networks:
so we need to subnet 192.168.1.0/24 into 4 subnets (minimum). We will assume same size networks though real world you wouldn't.
Our mask for 4 networks is 255.255.255.192. binary of last octet: 11000000. there are 2 bits reserved for the subnet ID which gives us room for exactly 4 networks of the same size.
Code
Network 1: 192.168.1.0 /26 binary: 00000000 Mask: 255.255.255.192
Network 2: 192.168.1.64 /26 binary: 01000000 Mask: 255.255.255.192
Network 3: 192.168.1.128 /26 binary: 10000000 Mask: 255.255.255.192
Network 4: 192.168.1.192 /26 binary: 11000000 Mask: 255.255.255.192