05-20-2021 11:20 AM
Hi,
I need to clarify few things for this network topology.I am new to this ..and if looks like a silly question I apologise.
What IP address should I allocate to PC0, PC1 and PC2?
The router has a range of 192.168.100-192.168.0149 (50 users, 1-day lease) and the network will have a class C IP range( 192.168.0.0-192.168.0.255 where 192.168.0.0 is the network address, 192.168.0.255 is the broadcast address, 192.168.0.1 is the router address, the webserver - has 192.168.0.254 ( last available IP in the range) and the printer has 192.168.0.253)). The laptop and smartphone will have an IP from the DHCP pool.
Will PC1 and PC2 have class C IPs ? and PC0 will have 192.168.0100( 1st IP from the router range?).
When in a LAN the IP will be the one from the router DHCP pool and when will be from a class IP range?
Thank you
My solution is:
Device | Interface | IP address | Subnet mask | Default gateway |
Wireless router | LAN | 192.168.0.1 | 255.255.255.0 | n/a |
Web server | Fast Ethernet 0 | 192.168.0.254 | 255.255.255.0 | 192.168.0.1 |
Printer | Fast Ethernet 0 | 192.168.0.253 | 255.255.255.0 | n/a |
PC0 | Fast Ethernet 0 | 192.168.0.100 | 255.255.255.0 | 192.168.0.1 |
PC1 | Fast Ethernet 0 | 192.168.0.2 | 255.255.255.0 | 192.168.0.1 |
PC2 | Fast Ethernet 0 | 192.168.0.3 | 255.255.255.0 | 192.168.0.1 |
Laptop | Wireless 0 | Allocated from pool by DHCP | 255.255.255.0 | 192.168.0.1 |
Smartphone | Wireless 0 | Allocated from pool by DHCP | 255.255.255.0 | 192.168.0.1 |
Solved! Go to Solution.
05-20-2021 03:39 PM
Yes, the network address of 192.168.0.0/24 with range of 192.168.0.0 -192.168.0.255 is class C network. Class C network starts with 192.x.x.x. thru 223.x.x.x (1st octet is important). Class B range 1st octet falls into 128 – 191.
You can say all devices are on class C network since you have the whole range of /24. you do not have any subnetting here;
"The router has a range of" - I think it means that router have DHCP pool setup for that range of 50 IPs. So, any device that does not have manual IP will try to get IP from DHCP pool range of 192.168.100 - 192.168.0.149. Usually, you should have another DHCP pool set up for wireless devices so that LAN and wireless IP pools are separated.
Regards, ML
**Please Rate All Helpful Responses **
05-20-2021 03:39 PM
Yes, the network address of 192.168.0.0/24 with range of 192.168.0.0 -192.168.0.255 is class C network. Class C network starts with 192.x.x.x. thru 223.x.x.x (1st octet is important). Class B range 1st octet falls into 128 – 191.
You can say all devices are on class C network since you have the whole range of /24. you do not have any subnetting here;
"The router has a range of" - I think it means that router have DHCP pool setup for that range of 50 IPs. So, any device that does not have manual IP will try to get IP from DHCP pool range of 192.168.100 - 192.168.0.149. Usually, you should have another DHCP pool set up for wireless devices so that LAN and wireless IP pools are separated.
Regards, ML
**Please Rate All Helpful Responses **
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide