IP Address Class C network and its gateway

0 votes

Suppose I have following network setup, in a ethernet:

  1. I manually setup start IP and end IP as following: 192.168.2.1 - 192.168.254.254

  2. Manually setup Gateway IP as: 192.168.2.1
  3. Of course, Mask length as: 16

  4. Subnet Mask: 255.255.0.0

Class C network should starting with range: [128, 191], if I'm using 192.*.*.* and setup subnet mask as 255.255.0.0, does it work?

Feb 14, 2022 in Cyber Security & Ethical Hacking by Edureka
• 13,620 points
1,927 views

2 answers to this question.

0 votes
The class C network has less than 254 hosts connected to it. As a result, the class C network mask is ideal for small networks, often known as subnetworks. For mask construction, we use the bits from class C's last octet. As a result, we must reorganize and optimize the subnet based on the availability of bits.
answered Feb 21, 2022 by Edureka
• 12,690 points
0 votes
The class C network has less than 254 hosts connected to it. As a result, the class C network mask is ideal for small networks, often known as subnetworks. For mask construction, we use the bits from class C's last octet. As a result, we must reorganize and optimize the subnet based on the availability of bits.

Assume your network ID/IP address is 192.168.1.0.

255.255.255.0 is the default subnet mask (in decimal)

11111111.11111111.11111111.00000000 is the default subnet mask (in binary)

As a result, the total number of bits is 8+8+8+0=24 bits. As previously stated, we shall borrow bits from the host component of the subnet mask for subnetting in a class C network.
answered Feb 21, 2022 by Edureka
• 13,620 points

Related Questions In Cyber Security & Ethical Hacking

0 votes
1 answer

How do i check a ip address range whether it falls in Class A,Class B,Class C

class NetworkId{ static String findClass(String str){ int index = ...READ MORE

answered Feb 16, 2022 in Cyber Security & Ethical Hacking by Edureka
• 13,620 points
603 views
+1 vote
1 answer

How to find IP address of nodes in my network?

The IP address of the nodes connected ...READ MORE

answered Feb 9, 2019 in Cyber Security & Ethical Hacking by Omkar
• 69,210 points
4,229 views
0 votes
0 answers

How to get IP address using nslookup and python on Windows?

One such modification occurred while I was ...READ MORE

Feb 17, 2022 in Cyber Security & Ethical Hacking by Edureka
• 13,620 points
467 views
0 votes
0 answers
0 votes
1 answer

how to find ip address in cmd

1. Open the Command Prompt.   a. Click the Start icon, ...READ MORE

answered Feb 9, 2022 in Cyber Security & Ethical Hacking by Edureka
• 13,620 points
46,263 views
0 votes
1 answer

difference between mac address and ip address

MAC Address IP Address MAC Address stands for Media ...READ MORE

answered Feb 8, 2022 in Cyber Security & Ethical Hacking by Edureka
• 13,620 points
662 views
0 votes
1 answer

how to find host name from IP with out login to the host

To find host name from IP you ...READ MORE

answered Feb 20, 2022 in Cyber Security & Ethical Hacking by Edureka
• 12,690 points
73,797 views
0 votes
1 answer

how to change your ip address?

Try using the following code. This the most ...READ MORE

answered Feb 21, 2022 in Cyber Security & Ethical Hacking by Edureka
• 12,690 points
482 views
0 votes
1 answer
0 votes
1 answer

Can I determine the current IP from a known MAC Address?

ARP may be used to retrieve an ...READ MORE

answered Feb 20, 2022 in Cyber Security & Ethical Hacking by Edureka
• 12,690 points
417 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP