Hallo Guys ,

i have a question,

Suppose you have 2 routers (R1 and R2), and you should build a network for a small company.
That company need 4 subnets , Subnet 1 must supply 14 hosts , subnet 2 supply 30 hosts , subnet 3 supply 62 hosts , subnet 4 supply 126 hosts.
One of the router have access to ISP that give the company an IP Address of Class C (e.g 192.168.2.0/24).

1.How would you design your LAN in that company?

2. I don't know how to make 4 subnets each with different amount of hosts ?
Because the formula said ...given an class C IP address, u will be able to make 4 subnets each with 64 hosts (with IP Add 192.168.2.0/26 and Subnet Mask 255.255.255.192), or make 2 subnets each with 128 hosts (with IP 192.168.2.0/25 and subnet mask 255.255.255.128).

And in my case I have 4 subnets each with different amount of host.Is that possible?

Thank you in advance

Jason

solution
u must go from high number host to low
1) supply 126 hosts
192.168.2.0 /25 - total 126 host- from 1-126 (0 is network and 127 is broadcast so u cant use them, check cisco - google)
255.255.255.128 - network mask

2) supply 60 hosts
192.168.2.128 /26 - hosts 129-190
255.255.255.192

3)supply 30 hosts
192.168.2.192 /27 - hosts 193- 222
255.255.255.224

4)supply 14 hosts
192.168.2.224 /28
255.255.255.240 - hosts 225-238

So thats it
mail me if u have trouble understanding this

Regards!

Ivan

:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.